-
Notifications
You must be signed in to change notification settings - Fork 5
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
[FR] Add media browser #23
Comments
I agree, would be great! |
Added the support, thanks for the FR |
Hi @elad-bar, thx for the quick addition! Anything already known ? |
Will fix it in few minutes, thanks |
@chemelli74 please check with latest version (v1.1.29), if it's working please close the issue. thanks |
Hi, Thanks, |
Hi, now the list is correctly retrieved, but playback is not proxied. Not sure if this is the correct info, but hopefully it sheds some light: https://developers.home-assistant.io/docs/core/entity/media-player/?_highlight=proxy#proxy-album-art-for-media-browser Simone |
That is the media player documentation, not sure it is correct for media source, will check it tomorrow |
Checked it and for Media Browser there is no need for proxy, for media player there is indeed as you have mentioned. As for http vs https, most casting devices requires transportation to be secured, I have SSL set up for the Shinobi Video as well to allow the streaming of it to any of my TVs and devices |
Investigating a bit further, to make it work will all setup ( so make the streaming via HA ), there is need to work with API views. Simone |
It will take time for me to learn and implement the proxy, hope that next week I'll have some good news... |
checked it furter, according to the following thread, media browser handles the proxy by itself: will keep checking it, just to understand better the flow I need to check - |
Hi, In my case yes. Andrea |
What is the error you are getting if you are trying to play with it? |
From Chrome Dev console I see: ERR_SSL_PROTOCOL_ERROR I guess it's because it's trying to open a http connection using https |
ok, will set it up locally and try to reproduce it |
HI @elad-bar, any progress ? ;-) Thx, Simone |
@elad-bar did you got the time to check this by any chance ? Thank you in advance, Simone |
hi @chemelli74, integration between HA to Shinobi is using the https address of shinobi (to allow streaming / casting for other devices), Media Browsing is working smoothly from within the house or external network. if your setup is different, please share so I'll be able to understand how to reproduce that issue. thanks |
@chemelli74 I solved the issue using a reverse proxy with SSL. (https) -> HA -> (https) proxy (http) -> Shinobi |
@chemelli74 can you please share the status at your system? thanks |
@chemelli74 is that issue still relevant? thanks |
I think so. https(browser) -> reverse(https->http) -> http(HA) So browser access HA via https but HA access Shinobi via http (and it's not internet exposed). Simone |
mine is also working the same, https is available only in the reverse proxy, meaning communication between:
not sure i understand what is the issue if that's the case, thanks |
If you "proxy" internally in HA the request you get the solution of all scenario: shinobi -> http -> HA, use proxy view -> https -> browser And Shinobi is not reachable from internet ;-) Simone |
I know how to implement it thanks for the link you have posted above, but i'm not sure about its ROI. Shinobi Video has several implementations of auth (much stronger than HA), meaning, no real reason that if HA is exposed to the world, Shinobi Video will not. Will get to it someday but not sure it will be in the upcoming month. |
@chemelli74, just to understand your use case once again, when you are not at home, meaning using the HA externally, do you watch the live stream and the videos from HA? thanks |
For me the sensors are working, pls open another issue (as it's not related to the current feature request) for it with more detail including what version of Shinobi are you using (if docker, which image), you have mentioned plugin, which plugin, logs in debug log at the time of the event Thanks |
@chemelli74 any updates? Thanks |
Sorry, I need first to figure out why the new version on shinobi server (just installed) and the latest version of the integration don't generate the camera entity |
Do you have logs in debug level to share? Thanks |
Sorry was very busy for a house moving.
|
Good luck, logs are in info level, when you have time, please share debug log level Thanks |
:-( Enabled now I see the same single line repeated every second:
Simone |
@chemelli74 I will need the log for the entire loading until you are facing the issue in debug level to understand the issue, for now, in the logs you have shared, I don't see any issue. thanks |
@elad-bar thx for the patience! I'm now back home so I could play a bit more. Here the debug full log with a "reload" of the integration to get the full info: Let me know if I can do something more. Simone |
BTW, I redacted the username and password in 2 different places:
I think you should not log them so it's easier for everyone to share without security concerns. Simone |
thanks for the feedback and suggestion, applying it to all my component, already available in v3.0.4 (for diagnostic only) |
Any idea why the CAM entity is not created in my setup ? Simone |
Any idea for investigating? Simone |
merging your code and testing it before releasing new version, it doesn't look like related but will check it anyway, thanks for the contribution! |
This is my current status:
|
I need to apply the same fix you have added in camera to media source component |
Didn't investigate yet, was just to report before loosing the log again ;-) |
Pls open developer tools in browser and look for error in console |
|
As described in the error, you are trying to access unsecured url while the hosting site is secured, |
Actually if it's proxied it should not be needed. It was one of the point for asking this implementation ;-) |
Is it configured working with proxy? |
What you mean exactly ? |
You asked foe the feature and it was released in v3.0.1 as mentioned above Added Use original Stream switch component under device of server |
Sorry, in v3.0.0 - Add proxy view for recordings |
Sorry my fault, I though it was autodetected as for other components. Would you evaluate taking a PR that create the URL from the calling path so it will be always correct ? Otherwise a user have to change the switch based on the fact that he is or out the home. |
Would be nice to have media browsing in HA.
Thx for considering,
Simone
The text was updated successfully, but these errors were encountered: