From 017051ccbe2270c52012faad33cc908a8478e705 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Fri, 17 Apr 2026 01:35:54 -0400 Subject: [PATCH] Further filter Jellyfin response --- src/pkjs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkjs/index.js b/src/pkjs/index.js index 9e89a36..1de5031 100644 --- a/src/pkjs/index.js +++ b/src/pkjs/index.js @@ -14,7 +14,7 @@ Pebble.addEventListener("appmessage", function (dict) { // TODO report last episode as "Configure app settings!" if CLAY_API_HOST, CLAY_API_KEY, or CLAY_USER is empty // TODO use API to dynamically determine user (prompt on watch) if (cfg.CLAY_API_IS_JELLYFIN == true) { - callAPI(cfg.CLAY_API_HOST + "/System/ActivityLog/Entries?limit=50", cfg.CLAY_API_KEY, true, cfg.CLAY_USER, sleepTimestamp * 1000); + callAPI(cfg.CLAY_API_HOST + "/System/ActivityLog/Entries?hasUserId=true&limit=50", cfg.CLAY_API_KEY, true, cfg.CLAY_USER, sleepTimestamp * 1000); } else { // The official history endpoint doesn't seem to return history w/o Plex Pass. // If someone with Plex Pass wants to give it a shot, I'd be happy to accept a PR adding this as an option.