rjw57 / yt

Experiments with the YouTube API
MIT License
83 stars 25 forks source link

pass -r syntax to omxplayer? #39

Open d10si opened 10 years ago

d10si commented 10 years ago

Hi all, how can I pass -r syntax to omxplayer to get it actually work I already tried to add it like so:line 555 ['omxplayer', '-r', '-o%s' % audio, url.decode('UTF-8').strip()], but it crashes after a while or doesn't even start at all in some cases I also tried to edit line 67 of OMXPlayer launcher script "/usr/bin/omxplayer" and add the -r syntax over there like so: LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN -r "$@"; true but it crashes too :( To make things clear I can run omxplayer -r myvideo.mp4 and it works perfect. any help?