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:
parent
513d06ea72
commit
9c4080b2f4
2 changed files with 16 additions and 0 deletions
15
config_panel.toml
Normal file
15
config_panel.toml
Normal 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"
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue