Actualiser bin/wrapper.sh

This commit is contained in:
Pierre Guillod 2024-03-30 19:22:54 +01:00
parent 1500509f8b
commit 3b04f080ad

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_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_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|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 audio: /content/audio &
rclone mount --read-only --vfs-cache-mode full radio: /content/radio & rclone mount --read-only --vfs-cache-mode full radio: /content/radio &