Procházet zdrojové kódy

Bit of a hack to fix artist lookups

Colin Powell před 2 roky
rodič
revize
a7bf405af2
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      vrobbler/apps/music/utils.py

+ 2 - 1
vrobbler/apps/music/utils.py

@@ -71,13 +71,14 @@ def get_or_create_album(
                 ]
             )
             album.artists.add(artist)
+            album.fix_album_artist()
             album.fetch_artwork()
             album.scrape_allmusic()
-    album.fix_album_artist()
 
     if not album:
         logger.warn(f"No album found for {name} and {mbid}")
 
+    album.fix_album_artist()
     return album