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

Add config panel

This commit is contained in:
ericgaspar 2022-01-13 09:46:09 +01:00
parent 513d06ea72
commit 9c4080b2f4
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 16 additions and 0 deletions

15
config_panel.toml Normal file
View file

@ -0,0 +1,15 @@
version = "1.0"
[main]
name = "Settings"
[main.global_config]
name = "Access options"
services = ["nginx", "__APP__"]
[main.global_config.enable_downloads]
ask = "Allow music download from the server?"
type = "boolean"
help = "Enable the option in the UI to download music/albums/artists/playlists from the server"
bind = "EnableDownloads:__CONFIG_PATH__/navidrome.toml"

View file

@ -24,6 +24,7 @@ domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
architecture=$YNH_ARCH
enable_downloads="0"
app=$YNH_APP_INSTANCE_NAME