1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
This commit is contained in:
ericgaspar 2020-09-13 16:23:58 +02:00
parent 06c74450d0
commit e12c7e8b31
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 28 additions and 7 deletions

View file

@ -9,7 +9,7 @@
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview ## 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 **Shipped version:** 0.33.0

View file

@ -9,7 +9,7 @@
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
## Vue d'ensemble ## 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 **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 #### 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 #### Utilisation d'un client

View file

@ -1,23 +1,44 @@
# Log level. Useful for troubleshooting. Possible values: error, info, debug, trace
LogLevel = "INFO" LogLevel = "INFO"
# IP address the server will bind to
Address = "127.0.0.1" Address = "127.0.0.1"
# HTTP port Navidrome will use
Port = "__PORT__" Port = "__PORT__"
# Base URL (only the path part) to configure Navidrome behind a proxy (ex: /music)
BaseURL = "__PATH_URL__" BaseURL = "__PATH_URL__"
# How frequently to scan for changes in your music library. Set it to 0 to disable scans
ScanInterval = "90s" ScanInterval = "90s"
# Size of transcoding cache. Set to 0 to disable cache
TranscodingCacheSize = "150MiB" TranscodingCacheSize = "150MiB"
# Folder to store application data (DB, cache…)
DataFolder = "__CONFIG_PATH__" DataFolder = "__CONFIG_PATH__"
# Folder where your music library is stored. Can be read-only # Folder where your music library is stored. Can be read-only
MusicFolder = "/home/yunohost.multimedia/share/Music" MusicFolder = "/home/yunohost.multimedia/share/Music"
# How long Navidrome will wait before closing web ui idle sessions # How long Navidrome will wait before closing web ui idle sessions
SessionTimeout = "24h" SessionTimeout = "24h"
# Set JPEG quality percentage for resized cover art images # Set JPEG quality percentage for resized cover art images
CoverJpegQuality = "75" CoverJpegQuality = "75"
#Configure the order to look for cover art images. Use special embedded value to get embedded images from the audio files #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.*" 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 # Match query strings anywhere in searchable fields, not only in word boundaries. Useful for languages where words are not space separated
SearchFullString = "false" SearchFullString = "false"
# List of ignored articles when sorting/indexing artists # List of ignored articles when sorting/indexing artists
IgnoredArticles = "The El La Los Las Le Les Os As O A" IgnoredArticles = "The El La Los Las Le Les Os As O A"
# Enable/disable .m3u playlist auto-import # Enable/disable .m3u playlist auto-import
AutoImportPlaylists = "true" 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" Scanner.Extractor = "taglib"

View file

@ -33,7 +33,7 @@ port=$(ynh_app_setting_get --app=$app --key=port)
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # 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 # Backup the current version of the app
ynh_backup_before_upgrade ynh_backup_before_upgrade

View file

@ -33,7 +33,7 @@ upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # 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 # Backup the current version of the app
ynh_backup_before_upgrade ynh_backup_before_upgrade