|
@@ -18,9 +18,9 @@ class WebhooksFrontend(pykka.ThreadingActor, CoreListener):
|
|
|
self.last_start_time = None
|
|
|
|
|
|
def on_start(self):
|
|
|
- logger.info("Parsing webhook URLs and tokens")
|
|
|
self.webhook_urls = self.config["webhooks"]["urls"].split(",")
|
|
|
self.webhook_tokens = self.config["webhooks"]["tokens"].split(",")
|
|
|
+ logger.info(f"Parsing webhook URLs and tokens: {self.webhook_urls}")
|
|
|
|
|
|
def _build_post_data(self, track, time_position: Optional[int]=None) -> dict:
|
|
|
artists = ", ".join(sorted([a.name for a in track.artists]))
|