RogerSelwyn / Home_Assistant_SkyQ_MediaPlayer

Home Assistant SkyQ Media player component
MIT License
101 stars 17 forks source link

[BUG] media_content_type attribute alway tvshow #137

Closed crhammock closed 1 year ago

crhammock commented 1 year ago

Describe the bug
Not sure if this is a bug or expected behaviour. It seems no mater what channel or what is playing the media_content_type always shows tvshow. I have tried multiple movie channels including the dedicated movie channels and it is always the same i would expect it to change to movie when a movie is playing. Is this the result of a bug or is it sky not supplying the correct attribute to the integration?

To Reproduce
Steps to reproduce the behavior:

  1. What were you doing/watching. Anything
  2. What channel were you on? Any, I tested with channel 4, film 4, sky premier
  3. What time did the problem occur? Always
  4. Which country are you in (bear in mind the aupported countries at the moment)? Uk

Expected behavior
A clear and concise description of what you expected to happen.

I would expect the attribute to change to movie

RogerSelwyn commented 1 year ago

Unfortunately Sky does not share what type of media is being played, the media content types of tvshow/media/music/app/etc come from Home Assistant so the integration just uses the best it can, which is tvshow in the most part. It does all use app when an app such as Netflix is running. Thinking on it, it could also potentially us music when a radio channel is being played. Other than that, it has no knowledge of what is being played on any channel, apart from a programme title.

sorry.

crhammock commented 1 year ago

I thought that was the case but wanted to check. I guess you could add user configurable channel type list in the settings so the user can select the music channels and movie channels etc, anything not listed would default to tvshow. Thanks for the response and efforts on the integration