PlexMeetsHomeAssistant icon indicating copy to clipboard operation
PlexMeetsHomeAssistant copied to clipboard

Bug: Play button is grayed on the tablet

Open pavolholes opened this issue 3 years ago • 14 comments

Describe the bug Play button is grayed on the Androind tablet even though it's currently playing from Plex to Google Home Mini and the Play button works from Firefox on PC and from Firefox on iPhone.

To Reproduce

  1. Open artist
  2. Play button is grayed

Expected behavior Play button should be available

Screenshots TabletPlay

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)

pavolholes avatar Nov 23 '21 22:11 pavolholes

Does this happen also in Chrome? Play button is grayed out when target entity is not available.

JurajNyiri avatar Nov 23 '21 22:11 JurajNyiri

Similar to https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/61, 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.

JurajNyiri avatar Nov 24 '21 08:11 JurajNyiri

Hi there,

I have this same issue on my Samsung A7 Tablet (running the HA Application), and on Chrome, the play button is "grey". It does however work on my Samsung Galaxy S21 Ultra running the HA Application.

What is very strange though is that when i go into edit mode on the dashboard then the "play" button is not greyed out. I have a few screen shots below that show this, and maybe that helps you. image

reganerasmus avatar Sep 25 '22 18:09 reganerasmus

Here is the same movie, when i edit the dashboard, then the movie "play button" becomes available. image

reganerasmus avatar Sep 25 '22 18:09 reganerasmus

The PMHA integration works great, however, it seems that when using it on an android phone with Chrome/Chromium or Raspberry Pi running Chrome, the play button on the content is grayed out, however if using this on a windows PC with Chrome, there are no issues with the Play button.

Thursty24 avatar Oct 20 '22 19:10 Thursty24

I recently set this up (loving it) and noticed similar behavior as well - However, mine seems to be fueled by whether or not the Shield is currently on or off. If its on, Im able to select media and hit play, causing it to start playing on the Shield. If its 'asleep', then the button are greyed out.

Im trying to figure out how to set up CEC/the reciever to keep the shield on at all times, while turning the other two off as Id like to be able to pick something to start playing on the tablet, and have it start everything up on the tv and begin playing.

HStep20 avatar Dec 22 '22 03:12 HStep20

This problem is still present.

maxi1134 avatar Feb 03 '23 15:02 maxi1134

@HStep20 that is an intended behaviour. You could set up runBefore parameter

JurajNyiri avatar Feb 03 '23 19:02 JurajNyiri

having this problem also on Google Nest hub. it's works sometimes and then grayed out other times.

SomeoneSinister avatar Jul 18 '23 16:07 SomeoneSinister

@SomeoneSinister that is an intended behaviour, read readme. You could set up runBefore parameter

JurajNyiri avatar Aug 23 '23 11:08 JurajNyiri

@SomeoneSinister that is an intended behaviour, read readme. You could set up runBefore parameter

image

No trace of the word "Before" on the readme

maxi1134 avatar Aug 23 '23 13:08 maxi1134

https://github.com/JurajNyiri/PlexMeetsHomeAssistant/blob/main/DETAILED_CONFIGURATION.md

Read it to understand why this is intended, do not jump to a runBefore parameter, that might not be what you need.

This task is only for the case when play button is grayed out on one device, when at the same time it is clickable on another device. Button being gray in general is expected and a feature of this card.

JurajNyiri avatar Aug 23 '23 13:08 JurajNyiri

This task is only for the case when play button is grayed out on one device, when at the same time it is clickable on another device. Button being gray in general is expected and a feature of this card.

Why is not being able to stream expected?

maxi1134 avatar Aug 24 '23 00:08 maxi1134

It is explained in the readme - Availability sections - I referred to twice above in response to your questions and that is linked in the exact message you are quoting.

JurajNyiri avatar Aug 24 '23 08:08 JurajNyiri