Server API: Request for improved querying

I'm building a local homelab tool that let's me query my Channels library. Curious if the team would be interested in expanding the API scope so that you can search by cast or other metadata.

Technically, the data is already provided. Not sure if you have already looked at this:

Of course, you would have to write a little bit of code to extract the desired data.

Are you looking for another way of getting the data?

This isn't really practical. I want to search all my movies for a cast member or director, and then have a few results come back. Pulling ALL content and then iterating over each one isn't going to work well.

You can already search by Cast


1 Like

Is this exposed in the API? Through the interface isn't useful for me in this scenario.

No.
And the devs don't appear to want to update the API's either. Server API channel description?

You can already do this with Media Tools Manager (a Streaming Library Manger extension).

Not very fancy or super pretty, but will get you a filtered list in a couple of seconds!

image

You could use the private api for search. Check the browser network inspector for the calls.

also, it's just code. How big could your library be, to have it do a full pull and then just search looking for a string at a nested key in JSON.

Small model LLMs degrade quickly as context grows. Tried and true assumptions get weird when you start wrestling their idiosyncrasies.

tools.