-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search and queue/play media #5
Comments
Interesting! One thing to remember is that not all content can be added to the queue and you should check |
Now that Home Assistant 2023.8 has come out with wildcard support for sentence triggers I was inspired to start working on this issue and eventually get this working with assist too. Working code in master, but needs testing. |
I think it would be nice to also expose doorbell, chime and TTS as services. |
@alphasixtyfive I'm currently looking into TTS service. Have you ever tried the SSML part of TTS? For me, it seems to error out. If you got it working it would be helpful to see how your request is built.
Just tested with a couple of examples from google ssml docs. |
I have not tried this I'm afraid. |
Ok. New code in master. Improvements to the search and services for tts and doorbell. I could not get SSML to work, but other than that it seems to work pretty well. I think the SSML might be either an upstream bug or I am doing it waay wrong 🗡️ |
I think you might want to rename doorbell to chime as what the code does not is call chime endpoint. Doorbell simply plays defined chime in seleted zones but this is a slightly different thing. |
As I understand it, both endpoints starts with |
I fully agree with the logic. I was also thinking of perhaps having |
Would be nice to be able to search media and queue or play directly.
GET: /media/search/{mcId}/searchText
CasaTunes already supports search in their api, we might be limited by Home Assistant here but I've seen some implementation code for this on the Mopidy component.
The text was updated successfully, but these errors were encountered: