User Tools

Site Tools


webapi:examples:settimecodefrompalettefade

Differences

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

Link to this comparison view

Next revision
Previous revision
webapi:examples:settimecodefrompalettefade [2022/02/04 10:02] – created icke_siegenwebapi:examples:settimecodefrompalettefade [2024/08/24 09:04] (current) icke_siegen
Line 4: Line 4:
  
 Set the Timecode start time for versions pre Titan v14. The challenge is that this reqires a TimecodeTime object but the required cast was only implemented in Titan v14. The workaround is to set the palette fade time (as you would do by simply entering a number) and then call a macro which uses this to set the timecode start time. Set the Timecode start time for versions pre Titan v14. The challenge is that this reqires a TimecodeTime object but the required cast was only implemented in Titan v14. The workaround is to set the palette fade time (as you would do by simply entering a number) and then call a macro which uses this to set the timecode start time.
 +
 +For versions from Titan v14 on you can directly set the Timecode starttime using [[:webapi:requests:Timecode.TimecodeOne.SetStartTime]].
  
 ^ author, date            | Gregory Haynes, February 2022 | ^ author, date            | Gregory Haynes, February 2022 |
-^ published               here +^ published               https://www.avosupport.de/downloads/icke_siegen/SetTcStartTime/ 
-^ prog. lang./ framework  | none - simple http requests |+^ prog. lang./ framework HTML, JS, CSS; none (wrote everything with a text editor) |
 ^ description             | set the palette fade time, then call a macro to transfer this into timecode start time | ^ description             | set the palette fade time, then call a macro to transfer this into timecode start time |
 ^ other requirements      | a way to issue POST requests, e.g. RestMan for Chrome | ^ other requirements      | a way to issue POST requests, e.g. RestMan for Chrome |
Line 21: Line 23:
  
 **In order to call a macro via WebAPI it needs to be in the show library AND needs to be copied/moved to a handle.** **In order to call a macro via WebAPI it needs to be in the show library AND needs to be copied/moved to a handle.**
 +
 +
 +3. the little html page at https://www.avosupport.de/downloads/icke_siegen/SetTcStartTime/:
 +^ {{:webapi:examples:settc.png?600|}} |
  
 ---- ----
  
 +===== How it works =====
 +
 +''Set Numeric Value'' the value from the adjacent input field and sends it to Titan as numeric value (as like as used to set a palette fade time).
 +
 +''Set 0'', ''Set 1'', ''Set 5'' send some predefined values.
 +
 +''Set TC1 Start'' fires the macro to use the numeric value as timecode 1 start time.
 +
 +**Remember to download and deploy the macro [[macros:example:timecodestarttimefrompalettefade|]].**
 +
 +----
  
 ===== API Requests ===== ===== API Requests =====
webapi/examples/settimecodefrompalettefade.1643968939.txt.gz · Last modified: 2022/02/04 10:02 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki