-
Notifications
You must be signed in to change notification settings - Fork 334
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
How to control pause/resume trough options/command line? #534
Comments
'p' pauses and resumes |
P is pausing and resuming if I press manually on the keyboard the P button, but trough command line I can't press P, because I can't use the same terminal session while playing, am I right? |
You can use dbuscontrol.sh script to do this: |
I have added a command line parameter in my version which allows you to start the video paused and then resume via keyboard command or dbuscontrol. I'm currently attempting to get a pull request figured out to merge it into the main code. Is that what you wanted to do? |
Yes, it is a great idea! is it possible also to configure for how much time the video would remain in pause directly? |
I hadn't considered that as my use case is specifically for commanded resume but I can look into it. |
Very good, thanks! I am very courious about it, I would be happy to be your alfa and beta tester :-) |
Hello, does somebody know if the command line parameter to start omxplayer in pause has already been included in omxplayer stable version, or there's any chance it will? I'm very interested in this parameter because I'd like to start an omxplayer instance to play a video and meanwhile start another one in background that should load the video and keep in pause until the first one quits. I've tried to do this using named pipes but sometimes it is not working properly and I get the 2 videos playing at the same time. Thank you in advance! |
I have just figured out what was going on with my fork and submitted a pull request for this enhancement. If you need this immediately you can compile from my fork (which has been updated to match the most recent popcornmix version: https://github.com/bholmes451/omxplayer/ |
veyr nice! I found the command "--start-paused Immediately pause the video after loading, will wait for dbus or key command to play" so after starting pauses, which is the command to play the video then? |
Perfect! Thank you! I'll try your fork. Thank you very much! |
This is the only change between the current popcornmix version and my fork. I did a pull this morning from the popcornmix master branch. You can see the changes here: #538 Basically I changed the code from automatically starting playback after the buffer was filled to pausing when the flag is sent. You can use the p key or the space key. The dbus command I have used is |
Is it possible to pause and resume omxplayer trough command line? I can't find it in the command line options...
Thanks for the patience.
The text was updated successfully, but these errors were encountered: