Yonto Player plays your own library, and you can add several sources to it: a Jellyfin server, a Plex server, a folder on a NAS. Most screens show one source at a time, the active one. Search is the one place that asks all of them at once.
That sounds like a loop over a list. In practice a TV app has a few constraints that make the loop interesting: a remote for typing, and sources that answer at very different speeds. This post is about the choices that keep Search fast and honest, and about the Watch list that grew out of it.
Search stays live
The obvious way to search many sources is to build an index of all of them in the background and query that. I chose not to. An index needs a walker that keeps every source in step, and I did not want that running on a television. So Search asks the sources when you type, only more of them.…