Commit 176d57b5 authored by Andrey Shatokhin's avatar Andrey Shatokhin

Changed radio.sh

parent e917b6fa
......@@ -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
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment