Fix duplicate albums created via TSV imports
This commit is contained in:
@ -37,7 +37,7 @@ def process_audioscrobbler_tsv_file(file_path, user_id, user_tz=None):
|
|||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
artist = get_or_create_artist(row[0])
|
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(
|
track = get_or_create_track(
|
||||||
title=row[2],
|
title=row[2],
|
||||||
|
|||||||
Reference in New Issue
Block a user