Replies: 5 comments 7 replies
-
|
Even with albumCount = 1 you could miss multiple version of the album or get the wrong one. Should search for the album name with larger albumCount and find in the results the one that matches the artists, track, whatever to ensure it's the proper one. |
Beta Was this translation helpful? Give feedback.
-
|
So basically the type of query that Koito does is not the correct approach, right? Maybe it would be good to have some clarification on the search3 API page? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Navidrome searches per word individually, so "big calm" and "calm big" yield the same result. Also, in case of albums, it search in the artists and albumartists as well. So, "Morcheeba Big Calm" would find the album correctly. I think I copied this behaviour from OG Subsonic. |
Beta Was this translation helpful? Give feedback.
-
|
pull added to bring back discussion #246 |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using Koito (https://koito.io/reference/configuration/) to store my scrobbles from my ampache server (https://ampache.org/).
Koito has an option to ask your subsonic server for information about the album (https://koito.io/reference/configuration/#koito_subsonic_url).
For instance, my Koito server is asking ampache for this request:
https://myserver/rest/search3?u=XXX&t=XXX&s=XXX&f=json&query=Morcheeba+Big+Calm&v=1.13.0&c=koito&albumCount=1However the ampache server is returning nothing. If instead the query is "Morcheeba" or "Big Calm" then ampache is able to find the album(s).
My question is whether in the opensubsonic specification there should be any constraint on the query format. Should the search proceed word by word against all possible objects (songs, artists, albums). Or should all the words be searched against a single type of object at a time? (Like ampache seems to be doing).
My impression is that this can be a tricky interface for servers to implement. If an extensive query needs to be performed then this can be expensive computationally. On the other hand what Koito is trying to do I guess is to make sure that you get an unambiguous answer, since there might be several albums with the same name.
Beta Was this translation helpful? Give feedback.
All reactions