Explorar o código

Fix duplicate albums created via TSV imports

Colin Powell %!s(int64=2) %!d(string=hai) anos
pai
achega
87fcfbb7d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vrobbler/apps/scrobbles/tsv.py

+ 1 - 1
vrobbler/apps/scrobbles/tsv.py

@@ -37,7 +37,7 @@ def process_audioscrobbler_tsv_file(file_path, user_id, user_tz=None):
                 )
                 continue
             artist = get_or_create_artist(row[0])
-            album = get_or_create_album(row[1], artist)
+            album = get_or_create_album(row[1], artist, row[7])
 
             track = get_or_create_track(
                 title=row[2],