From 06c74450d055c887cb2ece42cef7fef438f2d182 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 13 Sep 2020 15:22:09 +0200 Subject: [PATCH] More description --- README.md | 6 ++++-- README_fr.md | 8 +++++--- conf/navidrome.toml | 2 ++ scripts/install | 4 ++-- scripts/remove | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5e0e98e..f59cd52 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ Navidrome is an open source web-based music collection server and streamer. It g #### Where are stored your music files -Your music files are stored in your shared [multimedia folder](https://github.com/YunoHost-Apps/yunohost.multimedia) `/home/yunohost.multimedia/share/Music`. This folder is accessible from Nextcloud with *External Storages* enabled. This will allow you to easily upload your music files to the server. +Your music files are stored by default in your shared [multimedia folder](https://github.com/YunoHost-Apps/yunohost.multimedia) `/home/yunohost.multimedia/share/Music`. This folder is accessible from Nextcloud with *External Storages* enabled. This will allow you to easily upload your music files to the server. -You can configure an alternative path to you music tracks by editing `MusicFolder` in this file `/var/lib/navidrome/navidrome.toml` using the [documentation](https://www.navidrome.org/docs/usage/configuration-options/). +You can configure an alternative path to you music files by editing the path `MusicFolder = "/home/yunohost.multimedia/share/Music"` in this file `/var/lib/navidrome/navidrome.toml` using the [documentation](https://www.navidrome.org/docs/usage/configuration-options/). + +#### Client player You must activate *public site* if you want to connect a client player to Navidrome. diff --git a/README_fr.md b/README_fr.md index b18bedd..fa479ad 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,11 +23,13 @@ Navidrome est un serveur et un streamer de collection de musique en ligne open s ## Configuration -#### Où est stockée votre musique +#### Où stocker votre musique -Votre musique est stockée par default dans le dossier multimédia partagé `/home/yunohost.multimedia/share/Music`. Ce dossier est facilement accessible depuis Nextcloud avec *Stockages externes* activée. Cela vous permettra d'envoyer facilement vos fichiers musicaux sur votre server. +Votre musique est stockée par default dans le [dossier multimédia](https://github.com/YunoHost-Apps/yunohost.multimedia) partagé `/home/yunohost.multimedia/share/Music`. Ce dossier est facilement accessible depuis Nextcloud avec *Stockages externes* activée. Cela vous permettra d'envoyer facilement vos fichiers de musique sur votre server. -Vous pouvez configurer un chemin alternatif vers vos morceaux de musique en éditant `MusicFolder` dans ce fichier`/var/lib/navidrome/navidrome.toml` en utilisant la [documentation](https://www.navidrome.org/docs/usage/configuration-options/). +Vous pouvez personnaliser l'endroit ou vous voulez stocker vos fichiers de musique en éditant le fichier de configuration `/var/lib/navidrome/navidrome.toml` et rediriger la variable `MusicFolder = "/home/yunohost.multimedia/share/Music"`. Vous pouvez également changer d'autre réglage en utilisant la [documentation](https://www.navidrome.org/docs/usage/configuration-options/). + +#### Utilisation d'un client Vous devez activer *site public* si vous souhaitez connecter un lecteur client à Navidrome. diff --git a/conf/navidrome.toml b/conf/navidrome.toml index bfa9afe..7c1d67e 100644 --- a/conf/navidrome.toml +++ b/conf/navidrome.toml @@ -19,3 +19,5 @@ SearchFullString = "false" IgnoredArticles = "The El La Los Las Le Les Os As O A" # Enable/disable .m3u playlist auto-import AutoImportPlaylists = "true" +# The default metadata extractor is still ffmpeg but the you can use the new taglib extractor +Scanner.Extractor = "taglib" diff --git a/scripts/install b/scripts/install index 46e9eb7..7087a3d 100644 --- a/scripts/install +++ b/scripts/install @@ -137,8 +137,8 @@ ynh_add_systemd_config ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions to app files -chown -R $app:$app "$final_path" -chown -R $app:$app "$config_path" +chown -R $app: "$final_path" +chown -R $app: "$config_path" #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/remove b/scripts/remove index c1a3d15..9cae337 100644 --- a/scripts/remove +++ b/scripts/remove @@ -26,7 +26,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) +# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then ynh_script_progression --message="Removing $app service..." --weight=1