pyomxplayer fails getting video position - Raspberry Pi Forums
hi,
i'm working on dashboard , rewriting omxplayer remote (currently supporting public german video libraries, controlled php). might sound noob question, couldn't find way fix this.
want show progress of movie played omxplayer via progressbar. downloaded pyomxplayer, omxplayer-wrapper written in python using pexpect current video position. won't work. copied relevant parts of it, script keeps being stuck index = 1. script 2 years old, guess outdated.
started omxplayer (apt tells me 39e6342 up-to-date) via ssh (video being shown on tv) , pressed every button on keyboard (also combined ctrl-key), didn't current position (i guess feature might have been removed). of know how current video position in omxplayer?
i'm working on dashboard , rewriting omxplayer remote (currently supporting public german video libraries, controlled php). might sound noob question, couldn't find way fix this.
want show progress of movie played omxplayer via progressbar. downloaded pyomxplayer, omxplayer-wrapper written in python using pexpect current video position. won't work. copied relevant parts of it, script keeps being stuck index = 1. script 2 years old, guess outdated.
started omxplayer (apt tells me 39e6342 up-to-date) via ssh (video being shown on tv) , pressed every button on keyboard (also combined ctrl-key), didn't current position (i guess feature might have been removed). of know how current video position in omxplayer?
you can use dbus commands current position now. there's script in repository "dbuscontrol.sh" can use (or modify).
raspberrypi
Comments
Post a Comment