-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Sounds like a good idea. |
Beta Was this translation helpful? Give feedback.
-
Would we use something like this for filtering event types in the An alternative for this use case could be to expose additional virtual directories as event type filters |
Beta Was this translation helpful? Give feedback.
-
I missed this discussion and opened #1038. I really think this has become even more relevant with the recent advancement in assistants. |
Beta Was this translation helpful? Give feedback.
-
Trying to resurrect this, I'm thinking through the backend implementation. I think search can be added to both media players and media sources (in the same way that both can support browsing). async def async_search_media(self, query: str, allowed_classes: list[MediaClass]) -> list[BrowseMediaSource] The return value would be a list corresponding to the media classes available in the results, with the children of each Media players would signal their support using a newly added feature flag - What do you think? |
Beta Was this translation helpful? Give feedback.
Trying to resurrect this, I'm thinking through the backend implementation. I think search can be added to both media players and media sources (in the same way that both can support browsing).
The common interface would be a search function:
The return value would be a list corresponding to the media classes available in the results, with the children of each
BrowseMediaSource
representing the actual items. In the future we can also consider adding a limit to the number of results, and an offset/page to allow retrieving additional results.Media players would signal their support u…