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 1/2] 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) From ec31ae84e8ff917b1e420c6f3833dd3378f2d16c Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Fri, 12 Jul 2024 18:19:22 +0000 Subject: [PATCH 2/2] Bump build version --- Makefile | 2 +- manifest | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 33b28cc12..a48582a6a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # If you want to get_images, you'll also need convert from ImageMagick ########################################################################## -VERSION := 2.0.7 +VERSION := 2.0.8 ## usage diff --git a/manifest b/manifest index 889783eb0..d2a642ad7 100644 --- a/manifest +++ b/manifest @@ -3,7 +3,7 @@ title=Jellyfin major_version=2 minor_version=0 -build_version=7 +build_version=8 ### Main Menu Icons / Channel Poster Artwork diff --git a/package-lock.json b/package-lock.json index 5881af289..7cd62bc96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jellyfin-roku", - "version": "2.0.7", + "version": "2.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jellyfin-roku", - "version": "2.0.7", + "version": "2.0.8", "hasInstallScript": true, "license": "GPL-2.0", "dependencies": { diff --git a/package.json b/package.json index 2f1ef43e1..c554c8ef9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jellyfin-roku", "type": "module", - "version": "2.0.7", + "version": "2.0.8", "description": "Roku app for Jellyfin media server", "dependencies": { "@rokucommunity/bslib": "0.1.1",