Replies: 2 comments 2 replies
-
Hi @iSerganov. Remote playlists don't support You can reload a playlist via telnet:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast response and explanation.
There is another workaround (just in case if someone wants automatically updated remote playlist). while [ true ]
do
if test -e "/etc/liquidsoap/playlist.pls"
then zflag="-z /etc/liquidsoap/playlist.pls"
else zflag=
fi
curl -o "/etc/liquidsoap/playlist.pls" $zflag "https://your.remote.domain/playlist.pls"
sleep <your_interval_in_seconds>
done And liquidsoap playlist definition should be like this: |
Beta Was this translation helpful? Give feedback.
-
I am using liquidsoap 2.2.5 with remote playlist source
I need to reload the playlist from remote source once it is updated.
And unfortunately I cannot achieve the above behavior.
My config is as as follows:
I expect that every time I update the remote playlist under the above URL from config (e.g., https://some/remote/path/playlist.pls),
it will will be automatically reloaded due to
reload_mode="watch"
param. However this doesn't happen.I also tried the following option:
myplaylist = playlist("https://some/remote/path/playlist.pls",reload=5,mode="normal")
.Which indeed reloads playlist every 5 seconds, but that leads to always playing the first 2(?!) songs in the playlist(no matter how long it is).
Can you please advise what am I doing wrong?
Maybe there is an option to fetch remote playlist every N seconds, compare it with the currently played playlist and reload if any change is detected?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions