Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
863ec09f
Commit
863ec09f
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Option to restart icecast stream
parent
1d6b9e74
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-icecast
+9
-4
9 additions, 4 deletions
src/freedombone-app-icecast
with
9 additions
and
4 deletions
src/freedombone-app-icecast
+
9
−
4
View file @
863ec09f
...
...
@@ -347,7 +347,7 @@ function configure_interactive_icecast {
trap
"rm -f
$data
"
0 1 2 5 15
dialog
--backtitle
$"Freedombone Control Panel"
\
--title
$"Icecast"
\
--radiolist
$"Choose an operation:"
1
6
70
9
\
--radiolist
$"Choose an operation:"
1
7
70
10
\
1
$"Import stream files from directory"
off
\
2
$"Import stream files from USB drive"
off
\
3
$"Manually edit playlist"
off
\
...
...
@@ -356,7 +356,8 @@ function configure_interactive_icecast {
6
$"Enable login for stream visitors"
off
\
7
$"Change password for stream visitors"
off
\
8
$"Re-scan playlist"
off
\
9
$"Exit"
on 2>
$data
9
$"Restart stream"
off
\
10
$"Exit"
on 2>
$data
sel
=
$?
case
$sel
in
1
)
break
;;
...
...
@@ -371,9 +372,13 @@ function configure_interactive_icecast {
6
)
icecast_enable_login
;;
7
)
icecast_change_login
;;
8
)
clear
echo
$'Rescanning playlist'
echo
$'Rescanning
Icecast
playlist'
icecast_rescan
;;
9
)
break
;;
9
)
clear
echo
$'Restarting Icecast stream'
stop_icacast
start_icecast
;;
10
)
break
;;
esac
done
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment