File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed
Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 1515
1616# ## Colors
1717if [ -t 1 ]; then
18- RED=$( printf ' \033[31m' )
19- BLUE=$( printf ' \033[34m' )
20- RESET=$( printf ' \033[m' )
18+ RED=$( printf ' \033[31m' )
19+ BLUE=$( printf ' \033[34m' )
20+ RESET=$( printf ' \033[m' )
2121else
22- RED=" "
23- BLUE=" "
24- RESET=" "
25- fielif [[ $input_play = " r" ]] || [[ $input_play = " R" ]]; then
26- for pid in $( pgrep ' ^mpv$' ) ; do
27- url=" $( ps -o command= -p " $pid " | awk ' {print $2}' ) "
28- if [[ " $url " == " $stathmos_url " ]]; then
29- kill " $pid "
30- fi
31- done
32- clear
33- echo " Επιστροφή στη λίστα σταθμών"
34- tput cnorm # Εμφάνιση cursor
35- sleep 1
36- clear
37- input_play=" " # <--- Reset input_play to avoid infinite reload
38- break # <--- Break to outer loop to show the list again
22+ RED=" "
23+ BLUE=" "
24+ RESET=" "
3925fi
4026
4127# ## Variable List
You can’t perform that action at this time.
0 commit comments