[scrobbles] Kidding, we use description
This commit is contained in:
@ -1189,8 +1189,8 @@ class Scrobble(TimeStampedModel):
|
|||||||
if profile.ntfy_enabled and profile.ntfy_url:
|
if profile.ntfy_enabled and profile.ntfy_url:
|
||||||
# TODO allow prority and tags to be configured in the profile
|
# TODO allow prority and tags to be configured in the profile
|
||||||
notify_str = f"{scrobble.media_obj}"
|
notify_str = f"{scrobble.media_obj}"
|
||||||
if scrobble.log.get("details"):
|
if scrobble.log.get("description"):
|
||||||
notify_str += f" - {scrobble.log.get('details')}"
|
notify_str += f" - {scrobble.log.get('description')}"
|
||||||
requests.post(
|
requests.post(
|
||||||
profile.ntfy_url,
|
profile.ntfy_url,
|
||||||
data=f"{scrobble.media_obj}".encode(encoding="utf-8"),
|
data=f"{scrobble.media_obj}".encode(encoding="utf-8"),
|
||||||
|
|||||||
Reference in New Issue
Block a user