Syncronisation Time

pety

Active member
Dmitriy, I think that is easy for you to implement a syncronisation time play for playlists by one hour.
  • In my station we work with 24 playlists per day;
  • Every playlist has an #EXTINF: line which holds the duration of track;
  • The player counts total time of tracks (so, it is able to start to play from a specific moment);
  • When RadioBOSS starts after a crash event a module from radioBOSS loads system time (delphi has powerfull functions for that), calculate difference between e.g. 00:00:00 and 00:17:32 establish actual time for player to play that playlist. Or maybe an easyer way you find, but this can be done easily.
Not everyone use our schema (24 playlists/day) so you can make this module as plugin, like web browser plugin.
 
What about using the "Resume playback" feature in RadioBOSS? When you use it, it will save the current playlist and playing position periodically, and after a restart, it will continue from the last point.
 
djsoft said:
What about using the "Resume playback" feature in RadioBOSS? When you use it, it will save the current playlist and playing position periodically, and after a restart, it will continue from the last point.
Sory but I tested hard and it is not good at all. 
 
pety said:
djsoft said:
What about using the "Resume playback" feature in RadioBOSS? When you use it, it will save the current playlist and playing position periodically, and after a restart, it will continue from the last point.
Sory but I tested hard and it is not good at all. 
Can you please specify what's not worked well? Perhaos this feature can be improved.
 
djsoft said:
pety said:
djsoft said:
What about using the "Resume playback" feature in RadioBOSS? When you use it, it will save the current playlist and playing position periodically, and after a restart, it will continue from the last point.
Sory but I tested hard and it is not good at all. 
Can you please specify what's not worked well? Perhaos this feature can be improved.
First of all it is not syncronization. In our neighberhood is a power plant which crash (constantly) for about 60 or 130 minutes. An UPC is off after 15 - 20 minutes. When computer starts it plays nothing, becouse in that moment no playlist is on. But if RadioBOSS can read from the operating system the time and make exact calculation it knows which playlist to start and from which duration. We had a system called "Wings" coded in C++ which did that first class. And it also had playlists in text files with path of the tracks and some other information (duratuion, cues etc., etc) separated by tabs.
 
pety said:
First of all it is not syncronization. In our neighberhood is a power plant which crash (constantly) for about 60 or 130 minutes. An UPC is off after 15 - 20 minutes. When computer starts it plays nothing, becouse in that moment no playlist is on. But if RadioBOSS can read from the operating system the time and make exact calculation it knows which playlist to start and from which duration. We had a system called "Wings" coded in C++ which did that first class. And it also had playlists in text files with path of the tracks and some other information (duratuion, cues etc., etc) separated by tabs.
It's deeper than that. If RadioBOSS is started 2 hours after power outage, then "catching up" skipped scheduled events is tricky. For instance, it shouldn't start all skipped jingle, commercial and announcements events. But it needs to start playlist events (or playlist generator events) - but not all playlist events, only hourly ones...

If you have 24 playlists per day, then it means that a new playlist is launched every hour, correct? If so, you can use the "Resume playback" option, together with Silence Detector and it will play something for the remaining of the current hour, and then a new playlist will start (the correct one, according to scheduler).

What happens with your station while the power is gone for 2 hours? If it's silent for those 2 hours, then it's a much bigger problem... Perhaps a mobile diesel generator is a better solution in this case :)

Addition.
I did some tests about and it appears that RadioBOSS does not start anything when the "Resume playback" option is used and main playlist is empty; silence detector does not action either. This will be fixed in the next update.
 
Addition.
I did some tests about and it appears that RadioBOSS does not start anything when the "Resume playback" option is used and main playlist is empty; silence detector does not action either. This will be fixed in the next update.
Great ! Ok, hope to be right.
 
Back
Top