JurajNyiri/PlexMeetsHomeAssistant

Issue with playback on LG TV

sturgeo opened this issue · 5 comments

Describe the bug
Card retrieves movies and displays them OK. If I select a web player, it works, if I select my LG TV it fails. Both options are set as PlexPlayer from the device dropdown.

Expected behavior
Expect it to play the media on the TV

Checks
Please check below if true:

[ ] I am running Home Assistant on HTTP protocol
[X ] I am running BOTH Home Assistant AND Plex on HTTPS protocol
[X] My Plex server is accessible through protocol, port and ip/hostname I have specified for the card.
[X] My Plex server is running on HTTPS and has a valid certificate.

Card Configuration
type: custom:plex-meets-homeassistant
protocol: https
sort: titleSort:asc
displayType: ''
playTrailer: true
showExtras: true
showSearch: true
ip: plex.XXXXXXXXXXXXXXXX
token: XXXXXXXXXXXXXXX
port: ''
libraryName: Movies
maxCount: ''
maxRows: '10'
useHorizontalScroll: 'No'
displayTitleMain: 'Yes'
displaySubtitleMain: 'Yes'
minWidth: ''
minEpisodeWidth: ''
minExpandedWidth: ''
fontSize1: ''
fontSize2: ''
fontSize3: ''
fontSize4: ''
minExpandedHeight: ''
title: ''
entity:

  • plexPlayer | Chrome | 192.168.1.100 | XXXXXXXXXXXXXXXXXXX
  • plexPlayer | LG 43UK6400PLF | 192.168.1.100 | XXXXXXXXXXXXXXXXX

Card Version
3.3.1

Plex Version
1.24.5.5160

How does it fail? What exactly happens after clicking play?

Sorry, missed the critical bit off.
It shows the spinning loading animation for around 10 seconds and then states "An error occurred loading items into the play queue"

I don't think this is limited to this card, when trying the below I also get the same issue.

service: media_player.play_media
data:
  media_content_type: movie
  media_content_id: '{ "library_name": "Movies", "title": "Batman" }'
target:
  entity_id: media_player.plex_plex_for_lg_lg_43uk6400plf

Thank you, please go ahead and open an issue on Home Assistant github in that case as that is a bug in Hass, not this card.