Skip to content

Commit

Permalink
Ommit - Topic scrobbles
Browse files Browse the repository at this point in the history
  • Loading branch information
luisignaciocc committed Oct 19, 2023
1 parent 4ff9538 commit 33abe91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def execute(self):
"ts": self.formatted_date,
"albumName": item["album"]["name"] if "album" in item and item["album"] is not None else None,
}
if record["trackName"].endswith(" - Topic"):
continue
if record["albumName"] is None:
record["albumName"] = record["trackName"]
scroble = cursor.execute(
Expand Down

0 comments on commit 33abe91

Please sign in to comment.