Closed jakeogh closed 3 years ago
In the "for" loop, your code enqueues test.mkv, then waits for it to finish, then leaves the loop and terminates the player.
wait_for_playback returns after the current playing file is done. So if you have several files in a playlist, or a looping playlist, it will return once after each entry.
I'm closing this issue because it seems it is resolved.
Hey sorry for the lack of follow up, my confusion was that I want to loop test.mkv, not a playlist, setting:
player.loop_file = 'inf'
instead of player.loop_playlist = 'inf'
did what I wanted. TY!
the playlist case is explained in #161
Am I doing this incorrectly? The test case below only plays test.mkv a single time. I expect it to loop forever.