summaryrefslogtreecommitdiffstats
path: root/mplayer
Side-by-side diff
Diffstat (limited to 'mplayer') (more/less context) (show whitespace changes)
-rwxr-xr-xmplayer6
1 files changed, 4 insertions, 2 deletions
diff --git a/mplayer b/mplayer
index 0b744d0..0925a4f 100755
--- a/mplayer
+++ b/mplayer
@@ -181,9 +181,11 @@ preplay
[[ $firstime == 1 ]] && sleep 3
if [[ $stdin == 1 ]];then
- pecho "loadfile /dev/fd/0" /tmp/mplayer.fif
+ #pecho "loadfile /dev/fd/0" /tmp/mplayer.fif
+ /usr/bin/mplayer -
+ exit 110
else
- pecho "loadfile \"$FILE\" 2" /tmp/mplayer.fif
+ pecho "loadfile \"$FILE\" 2" $MPSOCKET
fi
check_status