Replies: 2 comments 1 reply
-
You need to empty the queue if you want to make sure that it starts playing new content right away. If you're using telnet, you should be able to register your own command: server.register(namespace=playlist.id(), description="Flush the playlist's internal queue",
"fush_queue", fun (_) -> begin
playlist.set_queue([])
"Done"
end) Then:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, when I try to add the server.register to my LS conf I get this error when start LS:
LS version 2.0.4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using the watch mode on the playlist.
When I make changes to the playlist, it's reloaded automatically but not start playing the new content, only after one/two musics from the old playlist. How to start immediately the new playlist content from the beginning?
Another case is if y change the playlist with the comando xxx.uri the same occurs, the new playlist start after one/two musics from the old playlist, how to start immediately the new playlist content from the beginning after running the telnet command xxx.uri ?
My code:
playlist = playlist(reload_mode="watch", loop=true, mode="normal", "/home/test.pls")
Telnet command that I'm using:
test.pls.uri /home/new.pls
Beta Was this translation helpful? Give feedback.
All reactions