summaryrefslogtreecommitdiffstats
path: root/mplayer
authorRaghavendra D Prabhu <[email protected]>2011-04-10 09:28:38 (GMT)
committer Raghavendra D Prabhu <[email protected]>2011-04-10 09:28:38 (GMT)
commit9be7ca6fd73c99610bec6c2ec608e8f3ffd1fdd0 (patch) (side-by-side diff)
tree723f9870d10e750ae6b14cbb0b409b4ac04a57ab /mplayer
parentd116dc185b304f35c357f6db2863532ed2a158d1 (diff)
downloadScripts-9be7ca6fd73c99610bec6c2ec608e8f3ffd1fdd0.zip
Scripts-9be7ca6fd73c99610bec6c2ec608e8f3ffd1fdd0.tar.gz
Scripts-9be7ca6fd73c99610bec6c2ec608e8f3ffd1fdd0.tar.bz2
Updated scripts/ tomit - mouse killer / cmodprobe - modprobe handler
Diffstat (limited to 'mplayer') (more/less context) (ignore 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