mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
commit
bdd1ac17fb
3 changed files with 29 additions and 6 deletions
|
@ -113,5 +113,23 @@ ReverseProxyUserHeader = "remote-user"
|
||||||
ReverseProxyWhitelist = "0.0.0.0/0"
|
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
|
# 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"
|
||||||
|
|
|
@ -7,7 +7,7 @@ description.fr = "Serveur de musique moderne et Streamer compatibles avec Subson
|
||||||
|
|
||||||
version = "0.50.0~ynh2"
|
version = "0.50.0~ynh2"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = []
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "GPL-3.0-only"
|
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.url = "https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_armv7.tar.gz"
|
||||||
armhf.sha256 = "c93b8ec7f46cd717d4f7a0e5f5d4861e8f8342059379a77a2c1fc9d7c16c847e"
|
armhf.sha256 = "c93b8ec7f46cd717d4f7a0e5f5d4861e8f8342059379a77a2c1fc9d7c16c847e"
|
||||||
in_subdir = false
|
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]
|
[resources.system_user]
|
||||||
|
|
||||||
|
|
|
@ -98,13 +98,13 @@ yunohost service add $app --description="Web-based music collection server and s
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# 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
|
# 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"
|
#chmod 600 "/var/lib/$app/navidrome.toml"
|
||||||
chown -R $app:$app "/var/lib/$app"
|
#chown -R $app:$app "/var/lib/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue