|
@@ -347,7 +347,7 @@ function configure_interactive_icecast {
|
347
|
347
|
trap "rm -f $data" 0 1 2 5 15
|
348
|
348
|
dialog --backtitle $"Freedombone Control Panel" \
|
349
|
349
|
--title $"Icecast" \
|
350
|
|
- --radiolist $"Choose an operation:" 16 70 9 \
|
|
350
|
+ --radiolist $"Choose an operation:" 17 70 10 \
|
351
|
351
|
1 $"Import stream files from directory" off \
|
352
|
352
|
2 $"Import stream files from USB drive" off \
|
353
|
353
|
3 $"Manually edit playlist" off \
|
|
@@ -356,7 +356,8 @@ function configure_interactive_icecast {
|
356
|
356
|
6 $"Enable login for stream visitors" off \
|
357
|
357
|
7 $"Change password for stream visitors" off \
|
358
|
358
|
8 $"Re-scan playlist" off \
|
359
|
|
- 9 $"Exit" on 2> $data
|
|
359
|
+ 9 $"Restart stream" off \
|
|
360
|
+ 10 $"Exit" on 2> $data
|
360
|
361
|
sel=$?
|
361
|
362
|
case $sel in
|
362
|
363
|
1) break;;
|
|
@@ -371,9 +372,13 @@ function configure_interactive_icecast {
|
371
|
372
|
6) icecast_enable_login;;
|
372
|
373
|
7) icecast_change_login;;
|
373
|
374
|
8) clear
|
374
|
|
- echo $'Rescanning playlist'
|
|
375
|
+ echo $'Rescanning Icecast playlist'
|
375
|
376
|
icecast_rescan;;
|
376
|
|
- 9) break;;
|
|
377
|
+ 9) clear
|
|
378
|
+ echo $'Restarting Icecast stream'
|
|
379
|
+ stop_icacast
|
|
380
|
+ start_icecast;;
|
|
381
|
+ 10) break;;
|
377
|
382
|
esac
|
378
|
383
|
done
|
379
|
384
|
}
|