Auto Update Files

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Radio_Sachsen_Eins
Posts: 7
Joined: 19 Sep 2022 17:04
Auto Update Files

Post by Radio_Sachsen_Eins »

Hello,

we want to use our radio mainly automatic. So I have a program of Music as main part. This will be disturb by overlays. I have playlists in the Overlays, where some files in the playlists are changing. The path and filename are the same, but we replacing them every day. My problem is, that the overlays will not played full. The program starts to early and interrupt the Overlay. I think, the changing files will not be updated in the playlist. How I can update the files in the playlist automatically? Should I use another way?

Best reagrds
Michael
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Auto Update Files

Post by radio42 »

If the filename stays the same, there is no need to update that reference, ie. I believe (and pretty sure), that the new file content is being played.
But what is not updated is the cue-points within the playlist.
So you can set the following (track) options in the related file of the playlist (or if you are using a script to load the file, you can set the related script-line options):
- ClearAllCuePoints
- RecalcACPD
This should ensure, that any 'old' cue-points are removed and recalculated (if needed, else don't use that option).
Radio_Sachsen_Eins
Posts: 7
Joined: 19 Sep 2022 17:04
Re: Auto Update Files

Post by Radio_Sachsen_Eins »

Thanks for the answer Bernd.
The file is playing, but not until end, if the file was longer then the file before. I need an option, to reload the playtime (duration) automatic.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Auto Update Files

Post by radio42 »

Have you tried the above, these options actually reset all cue-points. I just tried it here and this is working as expected.
If not in your case, please explain very exactly the steps you perform to test things…as I still don’t know your script or playlist or scheduler entry…

And I hope, that you replace the physical file BEFORE the Overlay is executed resp. the playlist is loaded/evaluated!
Radio_Sachsen_Eins
Posts: 7
Joined: 19 Sep 2022 17:04
Re: Auto Update Files

Post by Radio_Sachsen_Eins »

I took some screenshots. Maybe this helps to clear my problem.

I don´t know why the duration doesn´t change, when the file was change?
Attachments
Playlist with the option you said<br />The duration is also not correct.
Playlist with the option you said
The duration is also not correct.
Overlay Values
Overlay Values
hThe Playtime/Duration of LE_Kuk und LE_wetter_mi are not correct
hThe Playtime/Duration of LE_Kuk und LE_wetter_mi are not correct
Radio_Sachsen_Eins
Posts: 7
Joined: 19 Sep 2022 17:04
Re: Auto Update Files

Post by Radio_Sachsen_Eins »

I took the wrong picture of the playout view. Here the correct.
Attachments
Here with the options you are told and the duration is still wrong
Here with the options you are told and the duration is still wrong
Radio_Sachsen_Eins
Posts: 7
Joined: 19 Sep 2022 17:04
Re: Auto Update Files

Post by Radio_Sachsen_Eins »

I solved the problem by myself. I don´t use playlists. I use scritps with LoadTrack. That´s works fine.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Auto Update Files

Post by radio42 »

Now I got your issue. And yes, this is correct. When you assign a playlist to an Overlay, the individual playlist items/tracks are not (re)evaluated before loading them, ie. an overlay playlist is used as is - even if the underlying entry has changed.
Thus, it is correct to use the Script mode for your Overlay.

Post Reply