diff --git a/flasher.sh b/flasher.sh index 164fc0f..0038720 100755 --- a/flasher.sh +++ b/flasher.sh @@ -10,7 +10,7 @@ dir="/proc/${info[0]}/fd" file=${info[1]} #echo "pid" $pid #echo "file" $file -fdn=$(ls -l $dir | grep $file | awk '{print $8}') +fdn=$(ls -l $dir | grep $file | awk '{print $9}') sel=$(zenity --list --radiolist --text "Select action" --column "pick" --column "Option" TRUE "play" FALSE "copy" FALSE "link") case $sel in play) diff --git a/play-m80.sh b/play-m80.sh new file mode 100755 index 0000000..f4cc511 --- /dev/null +++ b/play-m80.sh @@ -0,0 +1,2 @@ +#!/bin/bash +curl -s http://4633.live.streamtheworld.com/M80RADIOAAC | mplayer -vo null -idle -