|
|
@ -45,26 +45,26 @@ fi
|
|
|
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
|
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
|
|
if [[ "$layout" == 'NO' ]]; then
|
|
|
|
if [[ "$layout" == 'NO' ]]; then
|
|
|
|
if [[ ${status} == *"[playing]"* ]]; then
|
|
|
|
if [[ ${status} == *"[playing]"* ]]; then
|
|
|
|
option_1=" Pause"
|
|
|
|
option_1=" Pause"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
option_1=" Play"
|
|
|
|
option_1=" Play"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
option_2=" Stop"
|
|
|
|
option_2=" Stop"
|
|
|
|
option_3=" Previous"
|
|
|
|
option_3=" Previous"
|
|
|
|
option_4=" Next"
|
|
|
|
option_4=" Next"
|
|
|
|
option_5=" Repeat"
|
|
|
|
option_5=" Repeat"
|
|
|
|
option_6=" Random"
|
|
|
|
option_6=" Random"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
if [[ ${status} == *"[playing]"* ]]; then
|
|
|
|
if [[ ${status} == *"[playing]"* ]]; then
|
|
|
|
option_1=""
|
|
|
|
option_1=""
|
|
|
|
else
|
|
|
|
else
|
|
|
|
option_1=""
|
|
|
|
option_1=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
option_2=""
|
|
|
|
option_2=""
|
|
|
|
option_3=""
|
|
|
|
option_3=""
|
|
|
|
option_4=""
|
|
|
|
option_4=""
|
|
|
|
option_5=""
|
|
|
|
option_5=""
|
|
|
|
option_6=""
|
|
|
|
option_6=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Toggle Actions
|
|
|
|
# Toggle Actions
|
|
|
|