فهرست منبع

[scrobbles] Actually use notify str

Colin Powell 8 ماه پیش
والد
کامیت
8888b42adf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      vrobbler/apps/scrobbles/models.py

+ 1 - 1
vrobbler/apps/scrobbles/models.py

@@ -1193,7 +1193,7 @@ class Scrobble(TimeStampedModel):
                 notify_str += f" - {scrobble.log.get('description')}"
             requests.post(
                 profile.ntfy_url,
-                data=f"{scrobble.media_obj}".encode(encoding="utf-8"),
+                data=notify_str.encode(encoding="utf-8"),
                 headers={
                     "Title": scrobble.media_obj.strings.verb,
                     "Priority": "default",