-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
genre query directory entry for artist with missing ID results in URI that returns all albums in genre #9
Comments
I have been able to replicate this behavior by calling The general scenario is one in which the beets database includes tracks that have been tagged with a genre but The net result is that when When the user clicks through this entry corresponding to If the goal is to facilitate browsing by artist within a genre, this problem becomes more pronounced as the number of albums in a genre increases. One possible way to mitigate the scenario where For example:
This results in two "Miles Davis" entries, so the the next step is to consider whether One consequence of using only
Some users may see this is an advantage because "Miles Davis" as an entry leads one to all albums in which he is the "album artist", including various combos over the years. Depending upon the metadata tagging, there may also be entries for those specific combos like the "Miles Davis Quartet" and "Miles Davis Sextet", etc. There are also scenarios in which a single
In these cases, the current code returns three artist directory entries
each of which returns all four albums because the Depending upon one's perspective, using Thoughts on the best approach to improve the user experience? Would you be willing to consider a pull request on a mutually agreeable solution? |
When an album is missing a MusicBrainz artist ID, and that artist is included in the results of a genre query, the directory entry corresponding to that artist in the query results has a URI that returns all albums in the genre, regardless of artist.
For example, if I import the following albums into an empty library
and because there is not an exact match for The New Miles Davis Quintet in the MusicBrainz results, I select "use as is" on import, that album will not have an associated MusicBrainz artist ID.
The beets-local request/response for a jazz genre query is then:
The URI included in the first entry for Miles Davis has an artist query param with no value. When this URI is requested when the user clicks on this artist entry in the Moped or Musicbox web UI, the result is a response that includes all of the albums in the genre:
The query/response results are the same with Moped and Musicbox Webclient.
Since beets supports imports without re-tagging, and I encountered the problem of no suitable match twice in a sample of approximately 12 albums, it would be beneficial if beet-local was able to handle this scenario.
Software versions:
pip
)The text was updated successfully, but these errors were encountered: