User Tools

Site Tools


macros:example:firesetlisttrack

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:firesetlisttrack [2019/04/27 17:46] – [How to use it] sideshowbondmacros:example:firesetlisttrack [2024/08/24 08:23] (current) icke_siegen
Line 12: Line 12:
 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]] (click ''Show Setlists'').+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 (replacing all three occurencies of '1840' with the respecitve id)   - 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]]
macros/example/firesetlisttrack.1556387188.txt.gz · Last modified: 2019/04/27 17:46 by sideshowbond

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki