From 58c3e589b617f39b096fdae2f69d3cb33de70b12 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Thu, 2 Apr 2026 20:45:31 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20artist-hero-badges=20=E2=80=94=20add=20di?= =?UTF-8?q?scogs=5Fid=20to=20get=5Fartist=5Fdiscography?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - discogs_id was missing from BOTH the SQL SELECT and the artist dict in get_artist_discography() — used by the library artist detail page - This is the third location (after get_library_artists and discography endpoint) where discogs_id was in the DB but not included in the response --- database/music_database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/music_database.py b/database/music_database.py index a5ccb785..8eec72ac 100644 --- a/database/music_database.py +++ b/database/music_database.py @@ -8077,7 +8077,7 @@ class MusicDatabase: cursor.execute(""" SELECT id, name, thumb_url, genres, server_source, - musicbrainz_id, deezer_id, audiodb_id, + musicbrainz_id, deezer_id, audiodb_id, discogs_id, spotify_artist_id, itunes_artist_id, lastfm_url, genius_url, tidal_id, qobuz_id, soul_id, lastfm_listeners, lastfm_playcount, lastfm_tags, lastfm_bio @@ -8229,6 +8229,7 @@ class MusicDatabase: 'musicbrainz_id': artist_row['musicbrainz_id'], 'deezer_id': artist_row['deezer_id'], 'audiodb_id': artist_row['audiodb_id'], + 'discogs_id': artist_row['discogs_id'], 'spotify_artist_id': artist_row['spotify_artist_id'], 'itunes_artist_id': artist_row['itunes_artist_id'], 'lastfm_url': artist_row['lastfm_url'],