[books] Set restart and resume urls on comic book scrobbles

This commit is contained in:
2025-10-22 12:18:08 -04:00
parent b233b60ae0
commit f209f3b107
4 changed files with 12 additions and 3 deletions

View File

@ -312,7 +312,8 @@ def manual_scrobble_book(
if action == "stop":
if url:
scrobble.log["bookmark_url"] = url
scrobble.log["resume_url"] = url
scrobble.log["restart_url"] = remove_last_part(url)
scrobble.save(update_fields=["log"])
scrobble.stop(force_finish=True)