Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
radio_mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
azbyka
radio_mpd
Commits
176d57b5
Commit
176d57b5
authored
Jan 28, 2019
by
Andrey Shatokhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed radio.sh
parent
e917b6fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
radio.sh
radio.sh
+1
-0
template.mpd.conf
template.mpd.conf
+2
-2
No files found.
radio.sh
View file @
176d57b5
...
...
@@ -25,6 +25,7 @@ if [[ ! -f ./$1.mpd.conf ]];then
mkdir
$ICECAST_DIR
/
$1
/playlists
sed
-i
's?#1?'
`
pwd
`
/
$1
'?'
$ICECAST_DIR
/
$1
.mpd.conf
sed
-i
"s/#2/
$PORT
/g"
$ICECAST_DIR
/
$1
.mpd.conf
sed
-i
"s/#3/
$1
/g"
$ICECAST_DIR
/
$1
.mpd.conf
chown
-R
icecastradio
$ICECAST_DIR
/
$1
chgrp
-R
icecastradio
$ICECAST_DIR
/
$1
chmod
-R
777
$ICECAST_DIR
/
$1
...
...
template.mpd.conf
View file @
176d57b5
...
...
@@ -23,10 +23,10 @@ log_level "default"
audio_output
{
type
"shout"
encoding
"mp3"
name
"#
1
station"
name
"#
3
station"
host
"localhost"
port
"8000"
mount
"/#
1
"
mount
"/#
3
"
password
"etersoft8000"
quality
"5.0"
format
"44100:16:2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment