diff --git a/vrobbler/apps/scrobbles/notifications.py b/vrobbler/apps/scrobbles/notifications.py index f8f44bd..fa38f71 100644 --- a/vrobbler/apps/scrobbles/notifications.py +++ b/vrobbler/apps/scrobbles/notifications.py @@ -47,8 +47,8 @@ class ScrobbleNtfyNotification(ScrobbleNotification): self.click_url = self.url_tmpl.format(path=self.scrobble.finish_url) self.title = "Finish " + self.media_obj.strings.verb.lower() + "?" - if self.scrobble.log and isinstance(self.scrobble.log, dict) and self.scrobble.log.get("description"): - self.ntfy_str += f" - {self.scrobble.log.get('description')}" + if self.scrobble.log and isinstance(self.scrobble.log, dict) and self.scrobble.log.get("title"): + self.ntfy_str += f" - {self.scrobble.log.get('title')}" def send(self): if ( diff --git a/vrobbler/templates/base.html b/vrobbler/templates/base.html index a1aa285..5d4cc6c 100644 --- a/vrobbler/templates/base.html +++ b/vrobbler/templates/base.html @@ -219,7 +219,7 @@ {% if scrobble.media_obj.primary_image_url %}
{{scrobble.media_obj.subtitle}}
{% endif %} - {% if scrobble.logdata %}{% if scrobble.logdata.description %}{{scrobble.logdata.description}}
{% endif %}{% endif %} + {% if scrobble.logdata %}{% if scrobble.logdata.title%}{{scrobble.logdata.title}}
{% endif %}{% endif %}{{scrobble.local_timestamp|naturaltime}} from {{scrobble.source}}