Prevent caches from updating while Video is playing. Also improve People caching for episodes

This commit is contained in:
HighImKevin
2026-09-22 17:35:02 -04:00
parent 2a443c749b
commit 2b10a94fd1
4 changed files with 566 additions and 191 deletions
+1
View File
@@ -76,6 +76,7 @@
}
async function queryItems(url) {
await window.LibraryCacheUtils?.waitWhileCacheNetworkPaused?.();
const api = getApiHelper();
if (!api?.getQuery) throw new Error('apiHelper.getQuery unavailable');
return (await api.getQuery(url, { useCache: false })) || { Items: [], TotalRecordCount: 0 };