[scrobbles] Stop any scrobble when stop is called

This commit is contained in:
2025-10-14 11:51:33 -04:00
parent 72f739ee5a
commit 30b005fa46

View File

@ -868,8 +868,13 @@ def manual_scrobble_webpage(
)
scrobble = Scrobble.create_or_update(webpage, user_id, scrobble_dict)
# possibly async this?
scrobble.push_to_archivebox()
if action == "stop":
scrobble.stop(force_finish=True)
else:
# possibly async this?
scrobble.push_to_archivebox()
return scrobble