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

Loop video until button press to move to next/prev video. #230

Open
lukethemaker opened this issue Sep 4, 2024 · 3 comments
Open

Loop video until button press to move to next/prev video. #230

lukethemaker opened this issue Sep 4, 2024 · 3 comments

Comments

@lukethemaker
Copy link

Hi.

I am making something that requires the video to be looped until you press a button to move to the next or previous video, instead of automatically moving to the next video.

This feels like something that is possible with Omxplayer arguments, but it just feels like it would make sense to have it as a simple toggle in the INI. It may be in there somewhere already and I'm missing it.

First time ever using Github and I'm not sure how to mark this as feature request. I really love this project!

@tofuSCHNITZEL
Copy link
Collaborator

I think it should be possible, but it would need some testing because the playback logic already is pretty convoluted...
Probably the best way will be, like you said, an ini option that enables "loop every file" - so all the repeat settings that you can define in the filenames are ignored.
but it will probably not be a problem hat straight forward because next/previous will not work and start the same video - which means the whole playback logic would need to be redone... So I don't think this will be possible anytime soon.

@lukethemaker
Copy link
Author

Thanks for the answer. I'll poke around a bit. For now I'll stick to opening the video files in premiere and looping them manually to make an extra long video file.

@tofuSCHNITZEL
Copy link
Collaborator

tofuSCHNITZEL commented Sep 4, 2024

This you can also achieve with the repeat setting in the filename https://github.com/adafruit/pi_video_looper?tab=readme-ov-file#new-in-v103 just add a very high number
but the skip button would not work in this case, because it does only skip the iteration not the whole file

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