Explorar el Código

Fix duplicate albums created via TSV imports

Colin Powell hace 2 años
padre
commit
87fcfbb7d9
Se han modificado 1 ficheros con 1 adiciones y 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],