mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Anotha one!
This commit is contained in:
1 parent
dc0cda699d
commit
04d3ef0e92
35 files changed
+7577
-2002
No files matched your search
+4
-1
@@ -151,7 +151,10 @@
|
||||
|
||||
function actorFilmography(actor) {
|
||||
const items = actor.items || actor.actorItems || [];
|
||||
return items.filter((m) => m && m.Id);
|
||||
// PeopleCache may return raw movie Id strings; normalize to { Id } for gatherThreeTrickplayMovies
|
||||
return items
|
||||
.map((m) => (typeof m === 'string' || typeof m === 'number' ? { Id: String(m) } : m))
|
||||
.filter((m) => m && m.Id);
|
||||
}
|
||||
|
||||
async function fetchFullItem(apiClient, itemId) {
|
||||
|
||||
Reference in new issue
Block a user