Skip to content

Commit

Permalink
dbus-send timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cbix committed Sep 13, 2016
1 parent 1d99278 commit 9deb81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/raspi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function omxdbus {
OMXPLAYER_DBUS_PID="/tmp/omxplayerdbus.${USER:-root}.pid"
export DBUS_SESSION_BUS_ADDRESS=`cat $OMXPLAYER_DBUS_ADDR`
export DBUS_SESSION_BUS_PID=`cat $OMXPLAYER_DBUS_PID`
dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 $* >/dev/null
dbus-send --print-reply=literal --session --reply-timeout=100 --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 $* >/dev/null
}

gotubecast -s "$SCREEN_ID" -n "$SCREEN_NAME" -i "$SCREEN_APP" | while read line
Expand Down

0 comments on commit 9deb81b

Please sign in to comment.