From 085c666c198a1dafdbb9b74bad22fe457a98ba4e Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 22 May 2023 11:36:47 -0400 Subject: [PATCH] AudioScrobbler imports only tracks, set media type --- vrobbler/apps/scrobbles/tsv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vrobbler/apps/scrobbles/tsv.py b/vrobbler/apps/scrobbles/tsv.py index db13bbe..64f84bc 100644 --- a/vrobbler/apps/scrobbles/tsv.py +++ b/vrobbler/apps/scrobbles/tsv.py @@ -79,6 +79,7 @@ def process_audioscrobbler_tsv_file(file_path, user_id, user_tz=None): track=track, played_to_completion=True, in_progress=False, + media_type=Scrobble.MediaType.TRACK, ) existing = Scrobble.objects.filter( timestamp=timestamp, track=track