This commit is contained in:
chaos 2025-02-03 12:58:24 +00:00
parent 473772204d
commit 2d793b7a18
No known key found for this signature in database
7 changed files with 4 additions and 8 deletions
example
config.yaml
rootfs/etc/s6-overlay/s6-rc.d

View file

@ -1,5 +1,5 @@
name: MPD
version: "0.0.6"
version: "0.0.7"
slug: mpd
description: MPD Addon
url: "https://forgejo.owo.monster/chaos/hass-mpd/src/branch/main/mpd"

View file

@ -12,5 +12,8 @@ chown root:root /usr/bin/mpc
chmod 0774 /usr/bin/mpd
chmod 0774 /usr/bin/mpc
bashio::log.info 'Sync Music'
rclone --config /media/rclone.conf sync Music: /media/mpd/music
bashio::log.info 'Start MPD'
mpd --stdout --no-daemon

View file

@ -1,6 +0,0 @@
#!/command/with-contenv bashio
set -e
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
rclone --config /media/rclone.conf sync Music: /media/mpd/music

View file

@ -1 +0,0 @@
oneshot