2025-02-25, 09:18 PM
(2025-01-04, 02:16 AM)qwerty12 Wrote: I am not a developer, so I wouldn't be able to tell you if Jellyfin actually can do this natively, but my amateur suggestions:
- the Meilisearch Plugin for Jellyfin plugin, which I have never used, talks a little about how it intercepts searches so that it can send them off to an external service: https://github.com/arnesacnussem/jellyfi...w-it-works
I would guess theActionFilter
it talks about could be used to determine accesses to items with fake IDs that your service may return... An obvious hack, the author seems to be rather forthcoming about the fact that their approach isn't guaranteed to continue working for future Jellyfin versions
- The plugin mentioned above implements a client-agnostic approach, but if you just plan to search in the browser via Jellyfin's web interface, it may be an easier task to modify and build your own jellyfin-web to hit up your app in addition when searching
Again, just some ideas on how you could possibly get started, but I know nothing about Jellyfin so take those ideas with a healthy dose of scepticism.
I’ve tried this by modifying the jellysearch plugin to also make a call to jellyseerr and return results together with the the json payload. The issue is that Jellyfin then ignores the results because of the fake IDs.
It seems that Jellyfin requires real IDs and content to exist before it will display the results.
The only way it seems now is perhaps for each search result, on the fly, create the folder structure with a fake video file - so Jellyfin will somehow pick that up?
I have given up because it’s too much workaround to hack Jellyfin in this way. The devs need to support custom results first.