commit 8148804f0f113742a703aeb2ce6455f865066ca8
parent b618497026ecf2a48ad7f39476d6cfc3d9282653
Author: rbckman <robinbackman@gmail.com>
Date: Thu, 23 Aug 2018 20:08:21 +0300
time for omxplayer to start
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -819,7 +819,7 @@ def playthis(filename, camera):
writemessage('Starting omxplayer')
player = OMXPlayer(filename + '.mp4', args=['--fps', '25', '--layer', '3', '--win', '0,70,800,410', '--no-osd', '--no-keys'])
#os.system('omxplayer --layer 3 ' + filename + '.mp4 &')
- time.sleep(1)
+ time.sleep(2)
os.system('aplay -D plughw:0 ' + filename + '.wav &')
player.play()
menu = 'BACK', 'PLAY FROM START'