diff --git a/conf/navidrome.toml b/conf/navidrome.toml index 860ab4b..6d22e0d 100644 --- a/conf/navidrome.toml +++ b/conf/navidrome.toml @@ -113,5 +113,23 @@ ReverseProxyUserHeader = "remote-user" ReverseProxyWhitelist = "0.0.0.0/0" # Path to ffmpeg executable. Use it when Navidrome cannot find it, or you want to use a specific version -FFmpegPath = "" +FFmpegPath = "/usr/bin/ffmpeg" +# Enable/Disable Jukebox mode +#Jukebox.Enabled = true + +#MPVPath = "/path/to/mpv" + +# List of registered devices, syntax: +# "symbolic name " - Symbolic name to be used in UI's +# "device" - MPV audio device name, do mpv --audio-device=help to get a list + +#Jukebox.Devices = [ +# # "symbolic name " "device" +# [ "internal", "coreaudio/BuiltInSpeakerDevice" ], +# [ "dac", "coreaudio/AppleUSBAudioEngine:Cambridge Audio :Cambridge Audio USB Audio 1.0:0000:1" ] +#] + +# Device to use for Jukebox mode, if there are multiple entries above. +# Using device "auto" if missing +#Jukebox.Default = "dac" diff --git a/manifest.toml b/manifest.toml index 125c2e3..e98fe30 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ description.fr = "Serveur de musique moderne et Streamer compatibles avec Subson version = "0.50.0~ynh2" -maintainers = ["eric_G"] +maintainers = [] [upstream] license = "GPL-3.0-only" @@ -62,6 +62,11 @@ ram.runtime = "50M" armhf.url = "https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_armv7.tar.gz" armhf.sha256 = "c93b8ec7f46cd717d4f7a0e5f5d4861e8f8342059379a77a2c1fc9d7c16c847e" in_subdir = false + + autoupdate.strategy = "latest_github_release" + autoupdate.asset.amd64 = "^navidrome_.*_linux_amd64.tar.gz$" + autoupdate.asset.arm64 = "^navidrome_.*_linux_arm64.tar.gz$" + autoupdate.asset.armhf = "^navidrome_.*_linux_armv7.tar.gz$" [resources.system_user] diff --git a/scripts/upgrade b/scripts/upgrade index 2494e54..37cfceb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,13 +98,13 @@ yunohost service add $app --description="Web-based music collection server and s #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=2 +#ynh_script_progression --message="Updating a configuration file..." --weight=2 # Uncomment when there is new options added upstream -ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml" +#ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml" -chmod 600 "/var/lib/$app/navidrome.toml" -chown -R $app:$app "/var/lib/$app" +#chmod 600 "/var/lib/$app/navidrome.toml" +#chown -R $app:$app "/var/lib/$app" #================================================= # START SYSTEMD SERVICE