1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00

Merge pull request #111 from YunoHost-Apps/testing

Testing 0.50.0~ynh2
This commit is contained in:
OniriCorpe 2024-02-15 05:15:20 +01:00 committed by GitHub
commit bdd1ac17fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 6 deletions

View file

@ -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"

View file

@ -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]

View file

@ -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