that gives indeed the same error ?
Then it looks like to be Home Assistant issue. Try to search for an opened issue and if you do not find one, open issue on Hass Github. This might be related to Issue with playback on LG TV · Issue #56 · JurajNyiri/PlexMeetsHomeAssistant · GitHub as that shows similar behavior.
i also see this in my log, not sure why
2021-10-27 19:47:09 ERROR (Thread-12) [homeassistant.components.cast.media_player] Failed to cast media https://www.home-assistant.io/images/cast/splash.png. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Found this for you Google Cast stopped working within the last couple of weeks · Issue #53882 · home-assistant/core · GitHub
not sure its related, casting to my “plex for samsung” ; that works
must be indeed a cast issue, other cast devices have same error indeed
other question… about libraryName
is it possible to have multiple librarys in 1 card? or do i need to multiple cards for each type of library? i have librarys like Movies , TV shows, Other movies …
thnx
Each card can only have one library. It is not yet possible to combine multiple libraries.
Hi,
First of all, I need to thank you for the amazing card.
Does anyone managed to make it work with Plex app in Apple TV?
It works perfect with my MacBook Air (using the Plex app), with Nvidia shield with Plex app also works here w/o problem.
But with my Apple TV I have no success. I can create the card but the play button is grey.
The “entity” did not come automatically from the dropdown menu, I had to insert it manually.
I"d be glad to hear some suggestions/tips on this configuration.
Thanks
Hello!
If it doesn’t come into ui config it will not work with play action. Check detailed configuration and availability section.
You could also follow manual instructions for settings up plexPlayer but that is exactly what ui config does for you. Plex server need to report Apple TV in clients otherwise its not possible to play on it.
Good luck!
Hi,
is there a possibility to make the libraryName also an input_select? that way its maybe possible to have 1 card, but to browse to multiple librarys? or how do you guys do it when you have multiple librarys?
also struggling with the input_select? i cant see my 2 players in the list? Where should is see the players from my input_select?
code:
input_select:
plex_players:
name: Plex Players
options:
- plexPlayer | Plex for Samsung
- cast | media_player.google_hub
initial: plexPlayer | Plex for Samsung
icon: mdi:plex
and for card:
- type: custom:plex-meets-homeassistant
token: !secret plex_token
ip: !secret plex_ip_proxy
port: !secret plex_port
libraryName: Movies
protocol: https
maxCount: 5
maxRows: 1
useHorizontalScroll: 'No'
displayTitleMain: 'Yes'
displaySubtitleMain: 'No'
showSearch: true
sort: addedAt:desc
minWidth: 75
entity:
- input_select | input_select.plex_players
If you want to see your input select in lovelace, you need to add it to lovelace. Then you will be able to see it.
Card uses value of the input select to check for availability and it that device is available, displays play icon.
Multiple cards each for its own library is the only way right now. You can achieve what you want already by hiding cards in lovelace depending on input select value, so that you will always display just the right PlexMeetsHomeAssistant card.
ah ok! i though this card would display the input_select, ok , clear now!
btw, is it possible to use templating in your variables? , remember, i use the plex proxy, i have an ip sensor … and i have a template to convert it to the right string like below, but i cant use it as a template
{{ states.sensor.external_ip.state | regex_replace(find="\D+", replace="-", ignorecase=False) }}.abc.plex.direct
so it converts xx.xx.xx.xx to => xx-xx-xx-xx.abc.plex.direct
ok, that works , the play button is now visible , based on input select
is there a way for input select to have a display name? instead of the entity name
i am using indeed state-switch conditional cards for the libraries
2 Questions:
- it now looks like below, but is should be nicer to show “Google Gub” instead of the entity name
- is it also possibel to NOT open the details if you click on a poster? seems if i do that on my android, the view sometimes freezes
You can use another input select with nice name and have an automation that chooses values for this on depending on what you choose.
Details always open when you click the poster, that is not configurable right now. Feel free to open feature request.
ok, thnx for feedback, appreciated
hey @JurajNyiri , how can i debug … Sorry something went wrong , when i cast something to a google hub? plexplayer samsung, works, but cant get cast working to hub/chromecast devices
thnx
Hi @JurajNyiri ,
Great work mate.
Really enjoying the card but I have a small issue.
I would like to use the card to browse my music library and play it in my sonos.
So far I didn’t find any way to do this.
Do you think there is any chance to add this feature?
Thanks
This is a known bug in home assistant. Nothing you can do about it right now.