From fb3cbca66a6b63da092aa5cbaacffecbfee69030 Mon Sep 17 00:00:00 2001 From: kyleslokafrey <71511387+kyleslokafrey@users.noreply.github.com> Date: Fri, 12 Jul 2024 14:15:04 -0400 Subject: [PATCH] Update playback position to 0 when item marked watched --- source/api/UserLibrary.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/api/UserLibrary.bs b/source/api/UserLibrary.bs index f9746e3da..0f7619978 100644 --- a/source/api/UserLibrary.bs +++ b/source/api/UserLibrary.bs @@ -16,7 +16,7 @@ sub MarkItemWatched(id as string) dateStr = date.ToISOString() url = Substitute("Users/{0}/PlayedItems/{1}", m.global.session.user.id, id) req = APIRequest(url) - postVoid(req, FormatJson({ "DatePlayed": dateStr })) + postVoid(req, FormatJson({ "DatePlayed": dateStr, "PlaybackPositionTicks": 0 })) end sub function UnmarkItemWatched(id as string)