#!/bin/sh # V0.1 ### DEFINITIONS MY_PATH="$(pwd)" . $MY_PATH/bin/_inc/def_text_coloring.sh stream2play=`cat /tmp/kitchenradio.m3u | grep http` ### PRORGAM echo "URL from m3u: " cat /tmp/kitchenradio.m3u | grep http echo "URL from var: " echo $stream2play echo echo "${BGre}Start playing $stream2play ...${RCol}" echo mplayer -slave -quiet $stream2play