mpd _USER_
This commit is contained in:
parent
71534c7ad1
commit
e769694164
|
@ -23,7 +23,7 @@ sudo apt-get install ca-certificates git-core binutils rsync alsa-utils bc espea
|
||||||
|
|
||||||
## CONFIG MPD
|
## CONFIG MPD
|
||||||
sudo cp -f $MY_PATH/templates/copylaradio/mpd.conf /etc/mpd.conf
|
sudo cp -f $MY_PATH/templates/copylaradio/mpd.conf /etc/mpd.conf
|
||||||
sudo sed -i "s/_USER/$USER/g" /etc/mpd.conf || err=1
|
sudo sed -i "s/_USER_/$USER/g" /etc/mpd.conf || err=1
|
||||||
mkdir -p ~/.zen/music
|
mkdir -p ~/.zen/music
|
||||||
mkdir -p ~/.zen/playlists
|
mkdir -p ~/.zen/playlists
|
||||||
|
|
||||||
|
@ -48,8 +48,8 @@ sudo systemctl restart nginx || err=1
|
||||||
|
|
||||||
# INSTALL LOVELand WebSite LINKs
|
# INSTALL LOVELand WebSite LINKs
|
||||||
sudo ln -s $MY_PATH/../www/LOVELand /var/www/loveland
|
sudo ln -s $MY_PATH/../www/LOVELand /var/www/loveland
|
||||||
sudo chmod 777 $MY_PATH/../www/LOVELand/jukebox/albumart
|
sudo chmod 777 /var/www/loveland/jukebox/albumart
|
||||||
sudo chmod 777 $MY_PATH/../www/LOVELand/jukebox/prefs
|
sudo chmod 777 /var/www/loveland/jukebox/prefs
|
||||||
|
|
||||||
if [[ $err ]]; then
|
if [[ $err ]]; then
|
||||||
echo -e "${c_red}Installation de LOVELand incomplète$c_"
|
echo -e "${c_red}Installation de LOVELand incomplète$c_"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
music_directory "/home/_USER/.zen/music"
|
music_directory "/home/_USER/.zen/music"
|
||||||
playlist_directory "/home/_USER/.zen/playlists"
|
playlist_directory "/home/_USER/.zen/playlists"
|
||||||
user "$USER"
|
user "_USER_"
|
||||||
bind_to_address "any"
|
bind_to_address "any"
|
||||||
auto_update "yes"
|
auto_update "yes"
|
||||||
zeroconf_enabled "yes"
|
zeroconf_enabled "yes"
|
||||||
|
|
Loading…
Reference in New Issue