Skip to content

Commit 95401e9

Browse files
committed
fix
1 parent fb8e440 commit 95401e9

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

shelldio.sh

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff 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 "Δεν μπορέσαμε να εντοπίσουμε το λειτουργικό σας σύστημα."

0 commit comments

Comments
 (0)