Fix artist-hero-badges — add discogs_id to get_artist_discography
- 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
This commit is contained in:
parent
cd0e8cf342
commit
58c3e589b6
1 changed files with 2 additions and 1 deletions
|
|
@ -8077,7 +8077,7 @@ class MusicDatabase:
|
||||||
cursor.execute("""
|
cursor.execute("""
|
||||||
SELECT
|
SELECT
|
||||||
id, name, thumb_url, genres, server_source,
|
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,
|
spotify_artist_id, itunes_artist_id, lastfm_url, genius_url,
|
||||||
tidal_id, qobuz_id, soul_id,
|
tidal_id, qobuz_id, soul_id,
|
||||||
lastfm_listeners, lastfm_playcount, lastfm_tags, lastfm_bio
|
lastfm_listeners, lastfm_playcount, lastfm_tags, lastfm_bio
|
||||||
|
|
@ -8229,6 +8229,7 @@ class MusicDatabase:
|
||||||
'musicbrainz_id': artist_row['musicbrainz_id'],
|
'musicbrainz_id': artist_row['musicbrainz_id'],
|
||||||
'deezer_id': artist_row['deezer_id'],
|
'deezer_id': artist_row['deezer_id'],
|
||||||
'audiodb_id': artist_row['audiodb_id'],
|
'audiodb_id': artist_row['audiodb_id'],
|
||||||
|
'discogs_id': artist_row['discogs_id'],
|
||||||
'spotify_artist_id': artist_row['spotify_artist_id'],
|
'spotify_artist_id': artist_row['spotify_artist_id'],
|
||||||
'itunes_artist_id': artist_row['itunes_artist_id'],
|
'itunes_artist_id': artist_row['itunes_artist_id'],
|
||||||
'lastfm_url': artist_row['lastfm_url'],
|
'lastfm_url': artist_row['lastfm_url'],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue