From b47ca53c5d7da558db0c3012ed8d9f7ba96132a2 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 15 Feb 2023 01:31:27 -0500 Subject: [PATCH] Fix source for import from Rockbox --- vrobbler/apps/scrobbles/tsv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vrobbler/apps/scrobbles/tsv.py b/vrobbler/apps/scrobbles/tsv.py index fe5ffb0..d40610f 100644 --- a/vrobbler/apps/scrobbles/tsv.py +++ b/vrobbler/apps/scrobbles/tsv.py @@ -26,6 +26,8 @@ def process_audioscrobbler_tsv_file(file_path, user_tz=None): source_id = "" for row_num, row in enumerate(rows): if row_num in [0, 1, 2]: + if "Rockbox" in row[0]: + source = "Rockbox" source_id += row[0] + "\n" continue if len(row) > 8: