File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -209,25 +209,7 @@ mpv_msg() {
209209 echo " Τρέξτε 'sudo yum -y install mpv' για να εγκαταστήσετε τον player"
210210 elif uname -a | grep Darwin & > /dev/null; then
211211 echo " Τρέξτε 'sudo brew install mpv' για να εγκαταστήσετε τον player"
212- elif uname -a | grep BSD & > /dev/null; then while true ; do
213- welcome_screen
214-
215- num=0 # <-- Reset station counter before listing
216- list_stations " $stations " elif [[ $input_play = " r" ]] || [[ $input_play = " R" ]]; then
217- for pid in $( pgrep ' ^mpv$' ) ; do
218- url=" $( ps -o command= -p " $pid " | awk ' {print $2}' ) "
219- if [[ " $url " == " $stathmos_url " ]]; then
220- kill " $pid "
221- fi
222- done
223- clear
224- echo " Επιστροφή στη λίστα σταθμών"
225- tput cnorm # Εμφάνιση cursor
226- sleep 1
227- clear
228- input_play=" " # Reset input_play to avoid infinite reload
229- break # Break to outer loop to show the list again
230- fi
212+ elif uname -a | grep BSD & > /dev/null; then
231213 echo " Τρέξτε 'sudo pkg install mpv' για να εγκαταστήσετε τον player"
232214 else
233215 echo " Δεν μπορέσαμε να εντοπίσουμε το λειτουργικό σας σύστημα."
You can’t perform that action at this time.
0 commit comments