JurajNyiri / PlexMeetsHomeAssistant

Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Apache License 2.0
120 stars 8 forks source link

Bug: List of songs is wrongly showed on the Android Tablet #61

Open pavolholes opened 2 years ago

pavolholes commented 2 years ago

Describe the bug List of songs is wrongly showed on the Android Tablet.

To Reproduce 1) Open artist 2) Open album 3) List of songs is wrongly showed (see screenshot)

Expected behavior It will be showed nice on the tablet as it is on the PC

Screenshots TabletSongs

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
playTrailer: false
showExtras: false
showSearch: true
ip: REDACTED
token: REDACTED
port: '32400'
libraryName: Hudba
entity:
  - cast | media_player.kuchyna_google_home_mini
maxCount: ''
maxRows: ''
useHorizontalScroll: 'Yes'
displayTitleMain: 'No'
displaySubtitleMain: 'Yes'
minWidth: '100'
minEpisodeWidth: '100'
minExpandedWidth: '100'
fontSize1: ''
fontSize2: ''
fontSize3: ''
fontSize4: '12'
minExpandedHeight: '100'
title: ''
displayType: '8'
useShuffle: 'No'

Card Version 3.3.2

Plex Version 4.62.1

Additional context Tablet Info

Screen size | 1280x800 px
RAM (free/total) | 240/953 MB
Internal storage (free/total) | 10020/13189 MB
External storage (free/total) | 36/3922 MB
Android version | 7.1.2 (SDK 25)
KNOX version/licensed | no/no
Webview provider | com.google.android.webview
Webview version | 96.0.4664.45
Device model | A7600-H (Lenovo)
JurajNyiri commented 2 years ago

Does this happen also in Chrome? I think the webview might be a cause here.

pavolholes commented 2 years ago

I don't know. I don't have a Chrome there, only some weird browser without Tabs. With the WebView from kernel I was not even able to log in to the Home Assistant. But I've downloaded the Android System WebView from Google Play [here] and I was able to select it in the Fully Kiosk Browser and then all started to work without any issues - even WebRTC for cameras. So I believe that's the latest WebView.

JurajNyiri commented 2 years ago

This will be unfortunately near impossible for me to debug if I cannot replicate it (even better, on PC). I will leave it open, maybe more people have similar issue and might come here and add more information, but until then I don't think I can do anything to fix it unfortunately.