Open BlueEther opened 3 months ago
Hi, thank you very much for the very first issue.
The issue is nghe only supports the newer authencation scheme of Opensubsonic as seen here: https://opensubsonic.netlify.app/docs/api-reference/#authentication. I think you can toggle the authentication method in both Amperly and Submariner
Thanks for the project, I was looking for a used based server and saw this on lemmy and thought it worth a try.
I test the above latter
Please try and give me some feedback. Thank you very much!
Hi can seem to login ok now, but have this in the logs on trying to read from the server:
2024-07-03T06:48:04.030649Z ERROR nghe::open_subsonic::common::error: missing field `id`
Caused by:
0: missing field `id`
1: missing field `id`
2024-07-03T06:48:04.031764Z ERROR tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=5 ms
The same library is working in Navidrome
So there are two fields for artist id
in the OpenSubsonic response. The artistId
for the old API with the assumption that there is only one artist per song. And the newer ones artists
to include multiple artists in the same song.
Nghe only returns artists
field while some client might assume that artistId
will always be non-null and they will use that empty id to request other information which causes the error above.
I am fine with including the first artist in the artists
. But it will not be really consistent because the order of the artists
might change everytime. Maybe an environment option to toggle this behavior is good enough for you (the option will sort for consistency and include the first artist) ?
Also, in client that supports multiple artists, you will see something like this (symfonium)
or (airsonic)
Thanks for the time, you seem to be correct and it is a client problem causing the errors. Substreamer seems to work well, at least with a single album with a single artist, which is more than I can say for either Amperly and Submariner
I would add an option to add the artistid into the artistid
field soon.
Hi Having issues with both Amperly (ios) and Submariner (macos) connecting to a nghe docker container
Log:
Docker: