瀏覽代碼

[scrobbles] Can't just use subtitle for notifications

Colin Powell 8 月之前
父節點
當前提交
f0b32961c1
共有 1 個文件被更改,包括 0 次插入2 次删除
  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"),