diff --git a/config_panel.toml b/config_panel.toml new file mode 100644 index 0000000..d719156 --- /dev/null +++ b/config_panel.toml @@ -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" diff --git a/scripts/install b/scripts/install index 4b25be4..ca16384 100644 --- a/scripts/install +++ b/scripts/install @@ -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