TLDR
How does the server tell a client to re-render library content?
A few example use-cases are:
client searches for library media, server dynamically adds media to library, client never receives library updates until they type the next word
client views a library item, server dynamically downloads subtitles for library item, client never receives subtitle updates until they press back and view the library item again
Things I've tried:
POST /Library/Media/Updated only downloads metadata for parameters in the request body
POST /Sessions/{Id}/Message/LibraryChanged command but the clients never receive a websocket message, the only time I've witnesses the client receive a LibraryChanged message is a full minute after a library scan is completed, would be nice to manually send this command immediately after the library scan
Issues I've come across:
Roku clients never receive updates of any kind from the server, most likely related to using roku's native remote control api which is restricted to same subnet ip addresses