Custom Component: SkyQ Media Player

Looks like a bug in my code. Trying to figure it out

This should do the trick. Media Browser load may be slower for people with a lot of channels loading into it.

Just updated but still seeing the same behaviour :confused:

Does the image show in the main window, when you have the app open on SkyQ?

Sorry, how do you mean “main window”?

I assume you are using Mini Media Player (or something similar) on your HA dashboard. What shows in MMP when you are running Netflix on your SkyQ box?

Ah yes, I’ve tried in both custom mini media player and the default media player components and this is what I see:

Something isn’t right on your config then. You should be able to access the Netflix image using a url such as this http://192.168.x.xx:8123/api/skyq/static/netflix.png. It will try using your internal url (as configured in your site settings), and then via the external url. If both fail, then you will get nothing.

It try internal first and used that if it can, because then HA will proxy it via a url such as /api/media_player_proxy/media_player.sky_q_mini?. You will see this url shown under Developer Tools, if you don’t see it then the module can’t find the image.

Can confirm the images in the static folder are accessible via the internal and external urls

Internal:

External:

Assuming I am supposed to be looking at the entity_picture_local: property under dev tools?

Yes, entity_picture_local. Is that showing a value? If needs be I can potentially add some debugging to get it to show what url it is actually using. Will be tomorrow.

I would also validate the urls you have in your site config (Configuration/General/Internal URL), exactly match what you are checking the access to the image with.

no problem. It returns “null” currently.

I’ve double checked the URLs under general config and they check out

Please turn on at least info level logging for the module (can just go for debug) and check to see what shows in the logs for the module.

Sent you a DM

I had this exact issue ages ago, never figured out why it did, I ended up moving house and re configured my network in the process and then it worked. Maybe something else blocking it from HA? Adblock etc.

Also on another note, any info on this working with Sky Glass? I know it’s early and probably no info on API etc but just curious.

I have changed the way it checks for an image in the latest beta, so hopefully it shouldn’t be a problem in the future.

No idea on Sky Glass. I wouldn’t plan to get one because I prefer to have choice through independent devices. If someone wants to lend me one, I can test it. I guess it may work, if it acts like Sky Q. If only they would publish an api for any of this stuff.

I’ve signed up for the initial interest to see what it will actually cost me and if it works out cheaper than my Q plan I will probably go for it, also it gets the wife to agree to getting a new TV too. I would be happy to help out but won’t be able to send it to you lol

I’ve just found where I can get storage space used information, so may look to add this as a sensor in the next weeks. Or just add as extra attributes on the existing media player.

1 Like

I’ve posted version 2.7.0 as a pre-release version which now includes a sensor providing storage information. This updates every 30 minutes. Also the version caters for new mdi icon names and will require HA 2021.10.0 as a minimum.

1 Like

Just to note this has gone through two minor upgrades due to bugs, so we are now on 2.7.2. I have made some fairly major changes to the underpinning python module that actually talks to the box. Unfortunately I’ve not been perfect :unamused:

Any problems, post here or preferably raise an issue on my GitHub.