Skip to content

Create artist objects for Artists without albums #2583

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

Closed
wants to merge 20 commits into from

Conversation

certuna
Copy link
Contributor

@certuna certuna commented Nov 4, 2023

Creates an Artist object in the DB for all artists (track artists & album artists). This makes all artists "clickable", even if they have no albums. This allows the user to read the biography, see which albums the artist is featured on, click through to last.fm & Musicbrainz, etc.

Adds a server option AlbumArtistsOnly to either display all artists, or just those with albums. Default is true which is current behaviour: I know a lot of users when they click on "Artists" don't want to see a huge list populated with artists without albums.

Note: conflicts with #2587 and #2524

AlbumArtistsOnly server option
- rename a.* to al.* to reduce confusion
- add ToArtist()
- make Artist blank in fixAlbumArtist()
fix test for aggregating Size
change ToAlbumArtist() so that it doesn't add Size, as this is now done in ToArtist()
fix SongCount test due to changes in the ToAlbumArtist() function
change purgeEmpty() to only delete when artist has neither albums nor tracks.
remove removeNonAlbumArtistIds(), not needed anymore
removeNonAlbumArtistIds() not needed anymore
adds refreshSongArtists()
Change test for new fixAlbumArtist() function
Revert change in fixAlbumArtist(), not for this PR
Copy link

github-actions bot commented Nov 4, 2023

Download the artifacts for this pull request:

swap functions for easier comparison
@certuna certuna mentioned this pull request Nov 4, 2023
@certuna certuna changed the title Create artist objects for non-Album Artists Create artist objects for Artists without albums Nov 5, 2023
@lddsb
Copy link

lddsb commented Nov 9, 2023

This is great! I really need it

@kobayashi90
Copy link

kobayashi90 commented Dec 2, 2023

Please merge it already.. let 0.50.2 be a thing..

Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2025
@deluan
Copy link
Member

deluan commented Mar 13, 2025

This is now implemented in v0.55.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants