From e12c7e8b311e0798b324f3ba4953ca78ee754e52 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 13 Sep 2020 16:23:58 +0200 Subject: [PATCH] fix --- README.md | 2 +- README_fr.md | 6 +++--- conf/navidrome.toml | 23 ++++++++++++++++++++++- scripts/change_url | 2 +- scripts/upgrade | 2 +- 5 files changed, 28 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f59cd52..84bcc13 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. It's like your personal Spotify! +Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. **Shipped version:** 0.33.0 diff --git a/README_fr.md b/README_fr.md index fa479ad..dfd9951 100644 --- a/README_fr.md +++ b/README_fr.md @@ -9,7 +9,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* ## Vue d'ensemble -Navidrome est un serveur et un streamer de collection de musique en ligne open source. Il vous donne la liberté d'écouter votre collection de musique à partir de n'importe quel navigateur ou appareil mobile. C'est comme votre Spotify personnel ! +Navidrome est un serveur et un streamer de collection de musique en ligne open source. Il vous donne la liberté d'écouter votre playlist à partir de n'importe quel navigateur ou appareil mobile. **Version incluse :** 0.33.0 @@ -25,9 +25,9 @@ Navidrome est un serveur et un streamer de collection de musique en ligne open s #### Où stocker votre musique -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. +Votre musique est a 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'*uploader* facilement vos fichiers de musique sur votre server. -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/). +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 vous aidant de la [documentation](https://www.navidrome.org/docs/usage/configuration-options/). #### Utilisation d'un client diff --git a/conf/navidrome.toml b/conf/navidrome.toml index 7c1d67e..2fb93e1 100644 --- a/conf/navidrome.toml +++ b/conf/navidrome.toml @@ -1,23 +1,44 @@ +# Log level. Useful for troubleshooting. Possible values: error, info, debug, trace LogLevel = "INFO" + +# IP address the server will bind to Address = "127.0.0.1" + +# HTTP port Navidrome will use Port = "__PORT__" + +# Base URL (only the path part) to configure Navidrome behind a proxy (ex: /music) BaseURL = "__PATH_URL__" + +# How frequently to scan for changes in your music library. Set it to 0 to disable scans ScanInterval = "90s" + +# Size of transcoding cache. Set to 0 to disable cache TranscodingCacheSize = "150MiB" + +# Folder to store application data (DB, cache…) DataFolder = "__CONFIG_PATH__" + # Folder where your music library is stored. Can be read-only MusicFolder = "/home/yunohost.multimedia/share/Music" + # How long Navidrome will wait before closing web ui idle sessions SessionTimeout = "24h" + # Set JPEG quality percentage for resized cover art images CoverJpegQuality = "75" + #Configure the order to look for cover art images. Use special embedded value to get embedded images from the audio files CoverArtPriority = "embedded, cover.*, folder.*, front.*" + # Match query strings anywhere in searchable fields, not only in word boundaries. Useful for languages where words are not space separated SearchFullString = "false" + # List of ignored articles when sorting/indexing artists 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 + +# The default metadata extractor is still ffmpeg but you can use the new taglib extractor Scanner.Extractor = "taglib" diff --git a/scripts/change_url b/scripts/change_url index 923adc9..55c3570 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -33,7 +33,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before changing its URL (may take a while)..." --weight=1 +ynh_script_progression --message="Backing up $app before changing its URL..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade diff --git a/scripts/upgrade b/scripts/upgrade index ec3181c..e58f771 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before upgrading (may take a while)..." --weight=4 +ynh_script_progression --message="Backing up $app before upgrading..." --weight=4 # Backup the current version of the app ynh_backup_before_upgrade