From 33abe91ce954e721b8a51f34ab919b444c66f224 Mon Sep 17 00:00:00 2001 From: Ignacio Collantes Date: Thu, 19 Oct 2023 09:16:58 -0300 Subject: [PATCH] Ommit - Topic scrobbles --- start.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/start.py b/start.py index 619ef57..fe5bf3a 100644 --- a/start.py +++ b/start.py @@ -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(