Fix duplicate albums created via TSV imports

This commit is contained in:
2023-03-15 01:24:25 -04:00
parent 92b4caa32f
commit 87fcfbb7d9

View File

@ -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],