summaryrefslogtreecommitdiffstats
path: root/mplayer
Side-by-side diff
Diffstat (limited to 'mplayer') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmplayer5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer b/mplayer
index 0517880..88d0da2 100755
--- a/mplayer
+++ b/mplayer
@@ -14,6 +14,9 @@ if [[ ! -e $MPSOCKET ]] ;then
ln -sf $MPSOCKET /tmp/mplayer.fif
notify-send "Mplayer" "mplayer starting up....."
fi
+#if [[ ! -t 0 ]];then
+# stdin=1
+#fi
[[ $start == 1 ]] && stdin=0
exec &>>|/tmp/mplayer.log
@@ -28,6 +31,8 @@ if [[ $stdin == 1 ]];then
${=LOCK}/mplayer.$randnum /usr/bin/mplayer -$vo_map[$fixedvo] -msglevel all=4 -slave -idle -input file=$MPSOCKET -input conf=$HOME/.mplayer/input.conf.mine &!
else
${=LOCK}/mplayer.$randnum /usr/bin/mplayer -$vo_map[$fixedvo] -msglevel all=4 -slave -idle -input file=$MPSOCKET -input conf=$HOME/.mplayer/input.conf.mine &!
+ #${=LOCK}/mplayer.$randnum $HOME/Arch/Hub/mplayer2/mplayer -$vo_map[$fixedvo] -msglevel all=4 -slave -idle -input file=$MPSOCKET -input conf=$HOME/.mplayer/input.conf.mine &!
+ #${=LOCK}/mplayer.$randnum $HOME/Arch/Hub/mplayer2/mplayer -noconfig user -$vo_map[$fixedvo] -msglevel all=4 -slave -idle -input file=$MPSOCKET -input conf=$HOME/.mplayer/input.conf.mine &!
fi
popd -q
[[ $start == 1 ]] && exit