Fixing flow for mopidy scrobble

This commit is contained in:
2023-01-15 01:20:18 -05:00
parent 499546503c
commit 290e6dc8d9
3 changed files with 24 additions and 28 deletions

View File

@ -87,5 +87,3 @@ def check_scrobble_for_finish(scrobble: "Scrobble") -> None:
if getattr(settings, "KEEP_DETAILED_SCROBBLE_LOGS", False):
scrobble.scrobble_log += f"\n{str(scrobble.timestamp)} - {scrobble.playback_position} - {str(scrobble.playback_position_ticks)} - {str(scrobble.percent_played)}%"
scrobble.save(update_fields=['scrobble_log'])
return scrobble