mpd _USER_

This commit is contained in:
qo-op 2020-05-11 20:11:03 +02:00
parent 71534c7ad1
commit e769694164
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ sudo apt-get install ca-certificates git-core binutils rsync alsa-utils bc espea
## CONFIG MPD
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/playlists
@ -48,8 +48,8 @@ sudo systemctl restart nginx || err=1
# INSTALL LOVELand WebSite LINKs
sudo ln -s $MY_PATH/../www/LOVELand /var/www/loveland
sudo chmod 777 $MY_PATH/../www/LOVELand/jukebox/albumart
sudo chmod 777 $MY_PATH/../www/LOVELand/jukebox/prefs
sudo chmod 777 /var/www/loveland/jukebox/albumart
sudo chmod 777 /var/www/loveland/jukebox/prefs
if [[ $err ]]; then
echo -e "${c_red}Installation de LOVELand incomplète$c_"

View File

@ -1,6 +1,6 @@
music_directory "/home/_USER/.zen/music"
playlist_directory "/home/_USER/.zen/playlists"
user "$USER"
user "_USER_"
bind_to_address "any"
auto_update "yes"
zeroconf_enabled "yes"