diff --git a/README.md b/README.md index dbf1ecd..be0f0cb 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Navidrome is an open source web-based music collection server and streamer. It g ## Configuration -You can configure Navidrome by editing this file `/var/lib/navidrome/navidrome.toml` using the [documentation](https://www.navidrome.org/docs/usage/configuration-options/) +You can configure Navidrome by editing this file `/var/lib/navidrome/navidrome.toml` using the [documentation](https://www.navidrome.org/docs/usage/configuration-options/). The music is to be stored in the folder `/home/yunohost.navidrome/Music`. diff --git a/README_fr.md b/README_fr.md index 5bf633a..d703040 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ Navidrome est un serveur et un streamer de collection de musique en ligne open s ## Configuration -Vous pouvez configurer Navidrome en modifiant le fichier `/var/lib/navidrome/navidrome.toml` et en vous aidant de la [documentation](https://www.navidrome.org/docs/usage/configuration-options/) +Vous pouvez configurer Navidrome en modifiant le fichier `/var/lib/navidrome/navidrome.toml` et en vous aidant de la [documentation](https://www.navidrome.org/docs/usage/configuration-options/). La musique est à stocker dans le dossier `/home/yunohost.navidrome/Music`. diff --git a/conf/navidrome.toml b/conf/navidrome.toml index 9fe23d0..bb88ff4 100644 --- a/conf/navidrome.toml +++ b/conf/navidrome.toml @@ -1,7 +1,7 @@ LogLevel = "INFO" Address = "127.0.0.1" Port = "__PORT__" -BaseURL = "/__APP__" +BaseURL = "__PATH_URL__" ScanInterval = "90s" TranscodingCacheSize = "150MiB" MusicFolder = "/home/yunohost.__APP__/Music" diff --git a/scripts/install b/scripts/install index 4441a80..4112b89 100644 --- a/scripts/install +++ b/scripts/install @@ -117,7 +117,7 @@ cp ../conf/navidrome.toml "$config_path/navidrome.toml" # Main config File ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config_path/navidrome.toml" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config_path/navidrome.toml" +ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="$config_path/navidrome.toml" ynh_store_file_checksum --file="$config_path/navidrome.toml" diff --git a/scripts/upgrade b/scripts/upgrade index df0f949..9fdea81 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ cp ../conf/navidrome.toml "$config_path/navidrome.toml" # Main config File ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config_path/navidrome.toml" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config_path/navidrome.toml" +ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="$config_path/navidrome.toml" ynh_store_file_checksum --file="$config_path/navidrome.toml"