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"
|
||||
|
||||
# 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"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
maintainers = []
|
||||
|
||||
[upstream]
|
||||
license = "GPL-3.0-only"
|
||||
|
@ -63,6 +63,11 @@ ram.runtime = "50M"
|
|||
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]
|
||||
|
||||
[resources.install_dir]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue