1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-09-27 21:51:43 +00:00

Player for M80 Radio

This commit is contained in:
J.Fernando Sánchez 2012-06-29 11:56:32 +02:00
parent 6955e29355
commit 93330df609
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ dir="/proc/${info[0]}/fd"
file=${info[1]} file=${info[1]}
#echo "pid" $pid #echo "pid" $pid
#echo "file" $file #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") sel=$(zenity --list --radiolist --text "Select action" --column "pick" --column "Option" TRUE "play" FALSE "copy" FALSE "link")
case $sel in case $sel in
play) play)

2
play-m80.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
curl -s http://4633.live.streamtheworld.com/M80RADIOAAC | mplayer -vo null -idle -