Browse code

changed Play to play ram files too

Tj Hariharan authored on 07/Nov/2011 22:47
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ else
14 14
 	Tjplay="$*"
15 15
 fi
16 16
 echo ${TjPlay}
17
-find -L "/home/tharihar/media/videos/shows" -depth -iwholename *"${Tjplay}"* ! -iname *.ram ! -iname *.jpg > /tmp/playmovies
17
+find -L "/home/tharihar/media/videos/shows" -depth -iwholename *"${Tjplay}"* ! -iname *.jpg > /tmp/playmovies
18 18
 mplayer -slave -input file=/tmp/mplayer-remote  -shuffle -playlist /tmp/playmovies 2>/dev/null| gawk --field-separator='/' '/Playing/ {print $(NF)}' 
19 19
 rm /tmp/playmovies
20 20
 rm -f /tmp/mplayer-remote