tarina

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

commit e32385658fba0081f1bbac5196927c93ad3dd812
parent f4f4646909e97070d1d553edef4f95c2f497671d
Author: rob <rob@tarina.org>
Date:   Sun, 27 Oct 2019 18:28:36 +0200

short video clips will now play! Yeas!

Diffstat:
Mtarina.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -1361,6 +1361,10 @@ def playdub(filename, dub, headphoneslevel): writemessage('Get ready dubbing!!') menu = 'STOP', 'DUB FROM START', 'PHONES:' clipduration = 360000 + #omxplayer hack to play really short videos. + if clipduration < 4: + logger.info("clip duration shorter than 4 sec") + player.previous() try: if dub == True: p = 0