[scrobbles] Fix mood starting, and clean up code

This commit is contained in:
2024-08-10 17:41:26 -04:00
parent f3fc58e2c0
commit 0ce19527a2
9 changed files with 205 additions and 17 deletions

View File

@ -904,7 +904,7 @@ class Scrobble(TimeStampedModel):
.order_by("-timestamp")
.first()
)
source = scrobble_data.get("source")
source = scrobble_data.get("source", "Vrobbler")
mtype = media.__class__.__name__
mopidy_status = scrobble_data.get("mopidy_status", None)