Actualiser bin/wrapper.sh

This commit is contained in:
Pierre Guillod 2024-03-30 19:22:54 +01:00
parent 1500509f8b
commit 3b04f080ad
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ sed -i "s|NC_PASSWORD|$NC_PASSWORD|g" /root/.config/rclone/rclone.conf
sed -i "s|NC_MUSIC_DIR_URL|$NC_MUSIC_DIR_URL|g" /root/.config/rclone/rclone.conf
sed -i "s|NC_RADIO_DIR_URL|$NC_RADIO_DIR_URL|g" /root/.config/rclone/rclone.conf
sed -i "s|NC_USERNAME|$NC_USERNAME|g" /root/.config/rclone/rclone.conf
sed -i "s|GERBERA_IP|$GERBERA_IP|g" /root/.config/gerbera/config.xml
sed -i "s|GERBERA_PORT|$GERBERA_PORT|g" /root/.config/gerbera/config.xml
rclone mount --read-only --vfs-cache-mode full audio: /content/audio &
rclone mount --read-only --vfs-cache-mode full radio: /content/radio &