Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat doesn't work #115

Open
peakedshout opened this issue Jun 12, 2024 · 1 comment
Open

Repeat doesn't work #115

peakedshout opened this issue Jun 12, 2024 · 1 comment

Comments

@peakedshout
Copy link

I've tried using the player to loop a single video, but it's bad enough to loop it. So I see that the listplayer has the playback mode set and when I set the vlc. loop, it works (when the list has only one file, it does what I expected); But when I set up VLC. Repeat, without any image output? Why? Did I understand the bias?

_ = listPlayer.SetPlaybackMode(vlc.Repeat)

My code doesn't get images because of this piece of code

@leroymusa
Copy link

Try calling listPlayer.Play() after setting the playback mode to vlc.Repeat. Sometimes the playback doesn’t start automatically, so adding this ensures it kicks off the video. Here’s the code:

_ = listPlayer.SetPlaybackMode(vlc.Repeat)
listPlayer.Play()

Give that a shot, and let me know if it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants