From c48431fca0811ecb2fc67282844e4cb81794a9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:31:29 +0100 Subject: [PATCH] Testing (#41) * Finding an available port * Fix linter warning --- README.md | 2 +- README_fr.md | 2 +- conf/navidrome.toml | 14 +++++++++++++- issue_template.md | 2 +- manifest.json | 2 +- pull_request_template.md | 6 ------ scripts/install | 2 +- 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cad66ee..d25777f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # 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) -[![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)* diff --git a/README_fr.md b/README_fr.md index 8a97727..21b1bbb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,7 +1,7 @@ # 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) -[![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)* diff --git a/conf/navidrome.toml b/conf/navidrome.toml index eead18a..70f8e37 100644 --- a/conf/navidrome.toml +++ b/conf/navidrome.toml @@ -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 LogLevel = "INFO" @@ -14,7 +17,10 @@ BaseURL = "__PATH_URL__" ScanInterval = "90s" # 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…) DataFolder = "__CONFIG_PATH__" @@ -22,6 +28,12 @@ DataFolder = "__CONFIG_PATH__" # Folder where your music library is stored. Can be read-only 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 SessionTimeout = "24h" diff --git a/issue_template.md b/issue_template.md index 31e3730..6c4b9d3 100644 --- a/issue_template.md +++ b/issue_template.md @@ -20,7 +20,7 @@ about: Create a report to help us debug, it would be nice to fill the template a - Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...* - YunoHost version: x.x.x - I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...* -- Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: *no / yes* +- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes* - If yes, please explain: - Using, or trying to install package version/branch: - If upgrading, current package version: *can be found in the admin, or with `yunohost app info navidrome`* diff --git a/manifest.json b/manifest.json index df38e8d..fd2f47d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Modern Music Server and Streamer compatible with 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/", "license": "GPL-3.0-only", "maintainer": { diff --git a/pull_request_template.md b/pull_request_template.md index 2d4bf40..69ce5a0 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -10,9 +10,3 @@ - [ ] Fix or enhancement tested. - [ ] Upgrade from last version 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)/) diff --git a/scripts/install b/scripts/install index 3bf61b2..f10411f 100644 --- a/scripts/install +++ b/scripts/install @@ -55,7 +55,7 @@ ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= # 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 port=$(ynh_find_port --port=4533)