-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Chromecast: the play and say console commands not working #1784
Comments
Here is a warning I get:
|
@watou : could it be a problem with the proxy? Are these commands working well with the official Chromecast products? |
The proxy servlet in ESH is only for Image and Video sitemap widgets (presently) and cannot serve any other purpose. I have proposed here to securely generalize its function so non-sitemap-based UIs can traverse it. |
Sorry I certainly made a confusion, this URL is an URL for an audio file delivered by openHAB, no link with the UI proxy. |
Ok, maybe chromecast needs to establish several connections to the audio stream ? |
Ok I can confirm that defining a duration (and so allowing multiple connections) solves this issue. Another "problem" is that at the end of the notification, google cast player is not closed. |
The problem is now fixed by the proposed PR. In addition, I tried to close the application using chromecast.stopApp() when IDLE media_status is received but it leads to either NPE or problems. |
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
With my Freebox Player Mini 4k (Android TV), the following console commands are not working (the palyer is switching to a notification screen but the audio file is never played):
The text was updated successfully, but these errors were encountered: