Explorar o código

[scrobbles] Can't just use subtitle for notifications

Colin Powell hai 8 meses
pai
achega
f0b32961c1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      vrobbler/apps/scrobbles/models.py

+ 0 - 2
vrobbler/apps/scrobbles/models.py

@@ -1191,8 +1191,6 @@ class Scrobble(TimeStampedModel):
             notify_str = f"{scrobble.media_obj}"
             if scrobble.log and scrobble.log.get("description"):
                 notify_str += f" - {scrobble.log.get('description')}"
-            if scrobble.media_obj.subtitle:
-                notify_str += f" - {scrobble.media_obj.subtitle}"
             requests.post(
                 profile.ntfy_url,
                 data=notify_str.encode(encoding="utf-8"),