cat with grep
This commit is contained in:
parent
6ccbf51452
commit
1745e19a61
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
MY_PATH="$(pwd)"
|
MY_PATH="$(pwd)"
|
||||||
. $MY_PATH/bin/_inc/def_text_coloring.sh
|
. $MY_PATH/bin/_inc/def_text_coloring.sh
|
||||||
stream2play=`cat /tmp/kitchenradio.m3u`
|
stream2play=`cat /tmp/kitchenradio.m3u | grep http`
|
||||||
|
|
||||||
|
|
||||||
### PRORGAM
|
### PRORGAM
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${BGre}Start playing ...${RCol}"
|
echo "${BGre}Start playing $stream2play ...${RCol}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
mplayer -slave -quiet $stream2play
|
mplayer -slave -quiet $stream2play
|
||||||
Loading…
x
Reference in New Issue
Block a user