SAM Broadcaster Top Of The Hour PAL Script Explained. Home Youtube Videos SAM Broadcaster Top Of The Hour PAL Script Explained; SAM Broadcaster Top Of The Hour PAL Script Explained. April 13, 2014; Broadcaster. Sam Broadcaster Support. Powered by BizzBee WordPress Theme. StationPlaylist Creator + Studio integrate to provide a very affordable and powerful radio broadcasting software solution for terrestrial radio and internet streaming / webcasting. Also suitable for party DJ's and in-store music automation. Our software provides many time saving features not found in broadcasting software 10 times the price.
I'm a noob so please don't assume I know much. Feel free to let me know if I use incorrect termanology.
I have a function in a PAL script (based on Pascal / Delphi) in SAM broadcaster, radio automation software.
The function returns the time in milliseconds of Cue Point 1 in a database record related to a music file.
I wish to call this function's output in the body of my script as you might a variable. But it needs to be expressed as a hh:mm:ss timestamp.
Here is the function, which might have an output of 20000, for 20 seconds.
Here is the implementation component.
I guess my question is a simple one.
Calculated variable 'cp' is not being imported, how to I correctly call the result of the function in the line...
I have had help here (for full background, including timestamp calculation methodology and entire script)...
1 Answer
Assuming XFade contains a String like 'ABC ct0=1234&'Delete(XFade,1,P+2);
will deliver '=1234&'
will deliver '=1234' which can not be convertet to an integer
So at least you will have to change Delete(XFade,1,P+2);
to Delete(XFade,1,P+3);
the generation of dt can be shortened to