[scrobbles] Stop any scrobble when stop is called
This commit is contained in:
@ -868,8 +868,13 @@ def manual_scrobble_webpage(
|
|||||||
)
|
)
|
||||||
|
|
||||||
scrobble = Scrobble.create_or_update(webpage, user_id, scrobble_dict)
|
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
|
return scrobble
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user