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
e917b6fa
Commit
e917b6fa
authored
Jan 28, 2019
by
Andrey Shatokhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5ca7887d
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 @
e917b6fa
...
...
@@ -17,6 +17,7 @@ fi
if
[[
!
-f
./
$1
.mpd.conf
]]
;
then
cp
-p
$ICECAST_DIR
/template.mpd.conf
$ICECAST_DIR
/
$1
.mpd.conf
mkdir
$ICECAST_DIR
/
$1
mkdir
$ICECAST_DIR
/
$1
/Music
touch
$ICECAST_DIR
/
$1
/mpd.log
touch
$ICECAST_DIR
/
$1
/mpdstate
touch
$ICECAST_DIR
/
$1
/mpd.db
...
...
template.mpd.conf
View file @
e917b6fa
...
...
@@ -6,8 +6,8 @@ db_file "#1/mpd.db"
#######################################################################
######################## OPTIONAL PATHS ###############################
pid_file
"
/home/icecastradio/
#1/mpd.pid"
state_file
"
/home/icecastradio/
#1/mpdstate"
pid_file
"#1/mpd.pid"
state_file
"#1/mpdstate"
#######################################################################
######################## DAEMON OPTIONS ###############################
...
...
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