revert
This commit is contained in:
parent
a4b9c4ab12
commit
5c84752b6a
|
@ -1,5 +1,5 @@
|
||||||
name: MPD
|
name: MPD
|
||||||
version: "0.0.21"
|
version: "0.0.22"
|
||||||
slug: mpd
|
slug: mpd
|
||||||
description: MPD Addon
|
description: MPD Addon
|
||||||
url: "https://forgejo.owo.monster/chaos/hass-mpd/src/branch/main/mpd"
|
url: "https://forgejo.owo.monster/chaos/hass-mpd/src/branch/main/mpd"
|
||||||
|
|
|
@ -10,7 +10,10 @@ chown root:root /usr/bin/mpc
|
||||||
chmod 0774 /usr/bin/mpd
|
chmod 0774 /usr/bin/mpd
|
||||||
chmod 0774 /usr/bin/mpc
|
chmod 0774 /usr/bin/mpc
|
||||||
|
|
||||||
|
bashio::log.info 'Sync Music'
|
||||||
|
rclone --config /media/rclone.conf -P --stats-one-line -v --transfers=1 --checkers=1 --check-first sync Music: /media/mpd/music
|
||||||
|
|
||||||
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
||||||
|
|
||||||
bashio::log.info 'Starting MPD'
|
bashio::log.info 'Start MPD'
|
||||||
mpd --stdout --no-daemon
|
mpd --stdout --no-daemon
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/command/with-contenv bashio
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p /media/mpd/media \
|
|
||||||
/media/mpd/playlists
|
|
||||||
|
|
||||||
bashio::log.info 'Syncing Music'
|
|
||||||
rclone --config /media/rclone.conf -v --transfers=1 --checkers=1 --check-first sync Music: /media/mpd/music
|
|
|
@ -1 +0,0 @@
|
||||||
longrun
|
|
Loading…
Reference in a new issue