divzeroweb

2f30.org website
git clone git://git.2f30.org/divzeroweb
Log | Files | Refs | README | LICENSE

commit 6461917197978290e9c8e2968b674479f8d51561
parent 20a782bacf0e2f9ff47a225ed50f76a9b1a5bfcb
Author: lostd <lostd@2f30.org>
Date:   Sat,  6 Dec 2014 15:58:50 +0200

Use if-else and bypass the omxplayer launcher script

Diffstat:
Mguides/rpi-tv.md | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/guides/rpi-tv.md b/guides/rpi-tv.md @@ -166,11 +166,11 @@ the appropriate ownership and permissions. } subs="${1%.*}.srt" - test -f "$subs" && { - omxplayer $args --subtitle "$subs" "$1" - } || { - omxplayer $args "$1" - } + if test -f "$subs"; then + omxplayer.bin $args --subtitle "$subs" "$1" + else + omxplayer.bin $args "$1" + fi `~tv/.omxplayer/keys`: