Compare commits

...

2 Commits
0.9.1 ... 0.9.2

Author SHA1 Message Date
59d0108fe5 Bump version to 0.9.2 2023-02-16 23:47:48 -05:00
8d67b672f9 Oops, fix the source thing properly 2023-02-16 23:47:12 -05:00
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "vrobbler"
version = "0.9.1"
version = "0.9.2"
description = ""
authors = ["Colin Powell <colin@unbl.ink>"]

View File

@ -26,7 +26,7 @@ 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[2]:
if "Rockbox" in row[0]:
source = "Rockbox"
source_id += row[0] + "\n"
continue
@ -53,7 +53,6 @@ def process_audioscrobbler_tsv_file(file_path, user_tz=None):
.replace(tzinfo=user_tz)
.astimezone(pytz.utc)
)
source = 'Audioscrobbler File'
new_scrobble = Scrobble(
timestamp=timestamp,