Signed-off-by: Tj Hariharan <Tj@archlinux.us>

Tj Hariharan authored on 20/Aug/2013 22:18
Showing 2 changed files
... ...
@@ -26,13 +26,8 @@ then ####not playin mpc
26 26
                        lsof -p $mpstat -a 2>/dev/null | gawk --field-separator '/' '/EXTERNAL/ {print $NF}'
27 27
 			pos=$(expr index "$mpstat" " ")	
28 28
 		       playing="$(lsof -a -p ${mpstat:pos} -d^cwd -Fn| gawk --field-separator '/' '/EXTERNAL/ {print $NF}'), Play"
29
-		       #echo ", Porn"
30 29
 		fi
31 30
 		flag=1 #1 for anime.
32
-	elif [ `pgrep Prn` ] ##no Play +  porn
33
-	then
34
-		echo -n "Porn"
35
-		flag=2 #2 for porn
36 31
 	elif [ `pgrep mplayer` ]
37 32
 	then
38 33
 		playing=$(lsof -a -p ${mpstat} -d^cwd -Fn | gawk --field-separator '/' '/home/ {print $NF}')
39 34
deleted file mode 100755
... ...
@@ -1,20 +0,0 @@
1
-#!/bin/bash
2
-<<<<<<< HEAD
3
-a="."
4
-=======
5
-#a="."
6
-mkfifo /tmp/mplayer-remote
7
-
8
->>>>>>> f6cedcc... Signed-off-by: Tj Hariharan <Tj@archlinux.us>
9
-if [ ${#@} -eq 0 ]
10
-then
11
-	echo 
12
-	feh -FZr  ~/media/pics/prn
13
-else
14
-	find -L "/home/tharihar/media/videos/prn" -depth -iwholename "*$1*$2*$3*" ! -iname *.jpeg ! -iname *.jpg ! -iname *.cbz ! -iname *.pdf>/tmp/prnp
15
-	mplayer -slave -input file=/tmp/mplayer-remote -shuffle -quiet -playlist /tmp/prnp 2>/dev/null| gawk --field-separator='/' '/Playing/ {print $(NF)}' 
16
-	
17
-	#mplayer -vo x11 -zoom -fs -autosync 20 -quiet -shuffle -playlist .prnp 2>/dev/null|grep Playing  2
18
-	rm /tmp/prnp
19
-fi
20
-rm /tmp/mplayer-remote