1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
* Finding an available port
* Fix linter warning
This commit is contained in:
Éric Gaspar 2021-01-21 10:31:29 +01:00 committed by GitHub
parent 5270fb9740
commit c48431fca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 12 deletions

View file

@ -1,7 +1,7 @@
# Navidrome for YunoHost # Navidrome for YunoHost
[![Integration level](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg)
[![Install Navidrome with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=navidrome) [![Install Navidrome with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*

View file

@ -1,7 +1,7 @@
# Navidrome pour YunoHost # Navidrome pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg)
[![Installer Navidrome avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=navidrome) [![Installer Navidrome avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*

View file

@ -1,3 +1,6 @@
# Load configurations from an external config file
ConfigFile = "/var/lib/navidrome/navidrome.toml"
# Log level. Useful for troubleshooting. Possible values: error, info, debug, trace # Log level. Useful for troubleshooting. Possible values: error, info, debug, trace
LogLevel = "INFO" LogLevel = "INFO"
@ -14,7 +17,10 @@ BaseURL = "__PATH_URL__"
ScanInterval = "90s" ScanInterval = "90s"
# Size of transcoding cache. Set to 0 to disable cache # Size of transcoding cache. Set to 0 to disable cache
TranscodingCacheSize = "150MiB" TranscodingCacheSize = "150MB"
# Size of image (art work) cache. Set to 0 to disable cache
ImageCacheSize = "100MB"
# Folder to store application data (DB, cache…) # Folder to store application data (DB, cache…)
DataFolder = "__CONFIG_PATH__" DataFolder = "__CONFIG_PATH__"
@ -22,6 +28,12 @@ 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"
#Change background image used in the Login page
UILoginBackgroundUrl = ""
# Add a welcome message to the login screen
UIWelcomeMessage = ""
# 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"

View file

@ -6,7 +6,7 @@
"en": "Modern Music Server and Streamer compatible with Subsonic/Airsonic", "en": "Modern Music Server and Streamer compatible with Subsonic/Airsonic",
"fr": "Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic" "fr": "Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic"
}, },
"version": "0.39.0~ynh1", "version": "0.39.0~ynh2",
"url": "https://github.com/deluan/navidrome/", "url": "https://github.com/deluan/navidrome/",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"maintainer": { "maintainer": {

View file

@ -10,9 +10,3 @@
- [ ] Fix or enhancement tested. - [ ] Fix or enhancement tested.
- [ ] Upgrade from last version tested. - [ ] Upgrade from last version tested.
- [ ] Can be reviewed and tested. - [ ] Can be reviewed and tested.
## Package_check results
---
*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results*
[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/navidrome_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/navidrome_ynh%20PR-NUM-%20(USERNAME)/)

View file

@ -55,7 +55,7 @@ ynh_app_setting_set --app=$app --key=is_public --value=$is_public
#================================================= #=================================================
# FIND AND OPEN A PORT # FIND AND OPEN A PORT
#================================================= #=================================================
ynh_script_progression --message="Configuring firewall..." --weight=0 ynh_script_progression --message="Finding an available port..." --weight=0
# Find an available port # Find an available port
port=$(ynh_find_port --port=4533) port=$(ynh_find_port --port=4533)