[scrobbles] Add ntfy config to user profiles

This commit is contained in:
2024-11-05 14:29:58 -05:00
parent cc52e00d15
commit 2c1e8c08ae
17 changed files with 694 additions and 1 deletions

View File

@ -80,6 +80,10 @@ class ScrobblableMixin(TimeStampedModel):
def get_start_url(self):
return reverse("scrobbles:start", kwargs={"uuid": self.uuid})
@property
def verb(self) -> str:
return "Scrobbling"
@property
def primary_image_url(self) -> str:
logger.warning(f"Not implemented yet")
@ -88,6 +92,7 @@ class ScrobblableMixin(TimeStampedModel):
@property
def logdata_cls(self) -> None:
from scrobbles.dataclasses import ScrobbleLogData
return ScrobbleLogData
@property