tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 67a5e1596535c0d32ced7588fb925b836a565ce5
parent 6f515d50d9ffcc8f545e37faa842eb124a3424cf
Author: rob <rob@tarina.org>
Date:   Wed,  1 May 2019 18:26:15 +0100

maybe omxplayer cannot connect to dbus fixed

Diffstat:
Mtarina.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tarina.py b/tarina.py @@ -779,7 +779,12 @@ def playthis(filename, camera, dub, headphoneslevel): holdbutton = '' playing = False camera.stop_preview() - player = OMXPlayer(filename + '.mp4', args=['--fps', '25', '--layer', '3', '--win', '0,70,800,410', '--no-osd', '--no-keys']) + try: + player = OMXPlayer(filename + '.mp4', args=['--fps', '25', '--layer', '3', '--win', '0,70,800,410', '--no-osd', '--no-keys']) + except: + writemessage('Something wrong with omxplayer') + time.sleep(2) + return a = 0 while playing != True: try: