mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-21 19:52:29 +00:00
Player for M80 Radio
This commit is contained in:
parent
6955e29355
commit
93330df609
@ -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
2
play-m80.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
curl -s http://4633.live.streamtheworld.com/M80RADIOAAC | mplayer -vo null -idle -
|
Loading…
Reference in New Issue
Block a user