From 43b96ad6e0e5a1de2265bb29788886bb9e30f288 Mon Sep 17 00:00:00 2001 From: Colin Lord Date: Fri, 29 Dec 2023 23:20:08 -0800 Subject: [PATCH 1/5] Add documentation explaining how Navidrome is accessed After installing Navidrome it is not immediately clear how users are populated and accessed so this adds a few sentences describing how it works both from Yunohost SSO and alternative client perspectives. --- doc/ADMIN.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index ff1fcb8..521bcfc 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -3,3 +3,12 @@ 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 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/). Remember to restart Navidrome service if you change your configuration file. + +#### Accessing Navidrome + +Navidrome uses its own password database and does not integrate with Yunohost LDAP, so there are two ways to access it: + +- When Navidrome is initially installed, before any users log in there is an option to create a Navidrome admin user by going directly to the access URL set for Navidrome in Yunohost. This admin account can create users who are able to log in via the same access URL. +- The second method to access Navidrome is via Yunohost SSO, which is accomplished by logging in to Yunohost and then clicking on the Navidrome tile. With this method, the Navidrome password database is not populated with the Yunohost password which means future attempts to log in to Navidrome directly via the access URL will fail. This prevents alternative clients from logging in with the Yunohost user credentials, so in order to work around this issue, after logging in to Navidrome with SSO the user password can be manually set via the Navidrome interface. Any password will be accepted as the current password. + +Further explanation of this can be found in [this github issue](https://github.com/YunoHost-Apps/navidrome_ynh/issues/101). From 12df7a34338ba7d0ae8b641c1db470954f77db2e Mon Sep 17 00:00:00 2001 From: Colin Lord Date: Sat, 30 Dec 2023 08:37:02 -0800 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> --- doc/ADMIN.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 521bcfc..3c18fea 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -6,9 +6,8 @@ You can configure an alternative path to you music files by editing the path `Mu #### Accessing Navidrome -Navidrome uses its own password database and does not integrate with Yunohost LDAP, so there are two ways to access it: +Navidrome uses its own password database and does not integrate with YunoHost LDAP, so there are two ways to access it: -- When Navidrome is initially installed, before any users log in there is an option to create a Navidrome admin user by going directly to the access URL set for Navidrome in Yunohost. This admin account can create users who are able to log in via the same access URL. -- The second method to access Navidrome is via Yunohost SSO, which is accomplished by logging in to Yunohost and then clicking on the Navidrome tile. With this method, the Navidrome password database is not populated with the Yunohost password which means future attempts to log in to Navidrome directly via the access URL will fail. This prevents alternative clients from logging in with the Yunohost user credentials, so in order to work around this issue, after logging in to Navidrome with SSO the user password can be manually set via the Navidrome interface. Any password will be accepted as the current password. +- When Navidrome is initially installed, before any users log in there is an option to create a Navidrome admin user by going directly to the access URL set for Navidrome in YunoHost. This admin account can create users who are able to log in via the same access URL. +- The second method to access Navidrome is via YunoHost SSO, which is accomplished by logging in to YunoHost and then clicking on the Navidrome tile. With this method, the Navidrome password database is not populated with the YunoHost password which means future attempts to log in to Navidrome directly via the access URL will fail. This prevents alternative clients from logging in with the YunoHost user credentials, so in order to work around this issue, after logging in to Navidrome with SSO the user password can be manually set via the Navidrome interface. Any password will be accepted as the current password. -Further explanation of this can be found in [this github issue](https://github.com/YunoHost-Apps/navidrome_ynh/issues/101). From 09996db09365689030d02a0a133b66c7125e77c5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 15 Feb 2024 22:48:29 +0100 Subject: [PATCH 3/5] Upgrade to v0.51.0 https://github.com/navidrome/navidrome/releases/tag/v0.51.0 --- manifest.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index e98fe30..04cea4f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Navidrome" description.en = "Modern Music Server and Streamer compatible with Subsonic/Airsonic" description.fr = "Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic" -version = "0.50.0~ynh2" +version = "0.51.0~ynh1" maintainers = [] @@ -55,12 +55,12 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - amd64.url = "https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_amd64.tar.gz" - amd64.sha256 = "a4b8760d6e2b1649aa5069b67f5ba1c5554df4259054159ef7aebc4babee5c38" - arm64.url = "https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_arm64.tar.gz" - arm64.sha256 = "e1f7bbabbae87cb0a5309764f9e52557f76a4947fbb9bac1c46382c1791e0e7b" - armhf.url = "https://github.com/navidrome/navidrome/releases/download/v0.50.0/navidrome_0.50.0_linux_armv7.tar.gz" - armhf.sha256 = "c93b8ec7f46cd717d4f7a0e5f5d4861e8f8342059379a77a2c1fc9d7c16c847e" + amd64.url = "https://github.com/navidrome/navidrome/releases/download/v0.51.0/navidrome_0.51.0_linux_amd64.tar.gz" + amd64.sha256 = "0a39cea889b0c54eb939dcb29837b1a54e0933c212f99d342a18e8f26b4d957d" + arm64.url = "https://github.com/navidrome/navidrome/releases/download/v0.51.0/navidrome_0.51.0_linux_arm64.tar.gz" + arm64.sha256 = "cd6117fc6fe01bf6b22928fdeb939a2fe303420120025b5594fdd8a5af3798c3" + armhf.url = "https://github.com/navidrome/navidrome/releases/download/v0.51.0/navidrome_0.51.0_linux_armv7.tar.gz" + armhf.sha256 = "9a0308901453140ee3747faf3eecb92ee1fedaa1f9e508b61490f09af9dae4fe" in_subdir = false autoupdate.strategy = "latest_github_release" From 7fc906126cbd3aab20a8d593a26997242c0b3161 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 15 Feb 2024 23:01:39 +0000 Subject: [PATCH 4/5] Auto-update README --- README.md | 4 ++-- README_fr.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 00b972f..e25d00c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -60,4 +60,4 @@ or sudo yunohost app upgrade navidrome -u https://github.com/YunoHost-Apps/navidrome_ynh/tree/testing --debug ``` -**More info regarding app packaging:** +**More info regarding app packaging:** \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index cd6353b..78a16f8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ From 8020d80ea78f7a2c1d5c7c8a21c08122e39f1777 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 16 Feb 2024 04:35:07 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e25d00c..875024c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Navidrome indexes all digital music stored in your hard drive and makes it avail - Transcoding on the fly. Can be set per user/player. Opus encoding is supported -**Shipped version:** 0.50.0~ynh2 +**Shipped version:** 0.51.0~ynh1 **Demo:** https://demo.navidrome.org/app/#/login diff --git a/README_fr.md b/README_fr.md index 78a16f8..b3aee85 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,7 @@ Navidrome indexe toute la musique numérique stockée sur votre disque dur et la - Compatible avec tous les clients subsonique/madsononique/aironique - Encodage à la volée. Peut être défini par utilisateur/lecteur. Le codage opus est pris en charge -**Version incluse :** 0.50.0~ynh2 +**Version incluse :** 0.51.0~ynh1 **Démo :** https://demo.navidrome.org/app/#/login