User Tools

Site Tools


macros:example:firesetlisttrack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:firesetlisttrack [2018/07/17 15:49] – created icke_siegenmacros:example:firesetlisttrack [2024/08/24 08:23] (current) icke_siegen
Line 1: Line 1:
 Example Example
  
-====== Fire a setlist track ======+====== Setlist - Fire a specific track ======
  
 ^ by: | Sebastian Beutel, July 2018 | ^ by: | Sebastian Beutel, July 2018 |
Line 8: Line 8:
 ^ remarks: | based on an idea by Chris M., see https://www.facebook.com/groups/Avolites/permalink/1288644587934439/?comment_id=1288649477933950&reply_comment_id=1288841831248048 | ^ remarks: | based on an idea by Chris M., see https://www.facebook.com/groups/Avolites/permalink/1288644587934439/?comment_id=1288649477933950&reply_comment_id=1288841831248048 |
  
-{{tag>[fire setlist track]}}+{{tag>fire setlist track}}
  
 Albeit there are various functions to fire and edit setlist tracks, the main challenge is to identify the particular track. After a number of pointless tries Gregory confirmed that currently usernumbers for setlist tracks are not implemented. Hence the only way to identify a track is its id. And as it is also not possible to make a track show its id and it's also not shown via Web API the only way to get the id is to retrieve it from the showfile. And finally, as SetList.FireTrack comes from the namespace SetList passed TitanIDs are parsed in the SetList context which fails. The only way to make it work is the string notation ''SetList.FireTrack("trackHandleID=1840")''. Albeit there are various functions to fire and edit setlist tracks, the main challenge is to identify the particular track. After a number of pointless tries Gregory confirmed that currently usernumbers for setlist tracks are not implemented. Hence the only way to identify a track is its id. And as it is also not possible to make a track show its id and it's also not shown via Web API the only way to get the id is to retrieve it from the showfile. And finally, as SetList.FireTrack comes from the namespace SetList passed TitanIDs are parsed in the SetList context which fails. The only way to make it work is the string notation ''SetList.FireTrack("trackHandleID=1840")''.
  
-In order to make it easier to get a setlist track id [[http://www.avolites.de/downloads/d4z|the showfile parser]] has been extended to show them, e.g. [[http://www.avolites.de/downloads/d4z/index.php?file=f4ff3bf1f57abe9c353bcf02a046095b|in this example]].+In order to make it easier to get a setlist track id [[http://www.avosupport.de/downloads/d4z|the showfile parser]] has been extended to show them (click ''Show Setlists'').
  
 ==== functions ==== ==== functions ====
Line 42: Line 42:
  
   - create your show with all required setlists and tracks   - create your show with all required setlists and tracks
-  - upload the showfile to [[http://www.avolites.de/downloads/d4z|the showfile parser]] and hit ''Show Setlists'' to get the setlist track ids +  - upload the showfile to [[http://www.avosupport.de/downloads/d4z|the showfile parser]] and hit ''Show Setlists'' to get the setlist track ids 
-  - create one or more of the macros like above with the ids you have just found  +  - create one or more of the macros like above with the ids you have just found (replacing all three occurencies of '1840' with the respecitve id)
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
   - fire the macros as needed. You might e.g. copy the macros to buttons in the macros workspace window and trigger them via MIDI.   - fire the macros as needed. You might e.g. copy the macros to buttons in the macros workspace window and trigger them via MIDI.
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/firesetlisttrack.1531842588.txt.gz · Last modified: 2018/07/17 15:49 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki