Use Home Assistant to browse your movie / tv shows library, pick a movie and play on your device with a single click. Every device is supported.
See github repo for instructions on installation and setup.
All Plex clients supported. Android TV support. Kodi support. Google cast support.
Full TV Shows and Movie browsing along with trailer playing in the background and extras (*if available).
Sorting, and all the special libraries you are used to from Plex website like Deck, Continue Watching etc.
Searching, with optimised loading as you scroll.
Support for custom scripts to run before and after you hit play. Do you want to turn on TV before playing? Just create a script and it will be automatically ran before playing.
Fully responsive and tested on all the popular devices with full support for both Android and iOS Home Assistant apps.
Super easy configuration through configuration UI
Planned features:
Custom conditions for every entity that has to be met, otherwise its considered unavailable (Is tv on? Or is a person in living room? no? then play on second entity, which is bedroom tv and there are people there!)
Custom style options, background image, paddings, size of posters…
It should be even more simpler to do with kodi, just launch it via ADB (if not launched) and use its API. I guess that will be the second thing supported
For Plex I failed to find any information regarding android intents so it was tricky to figure out a correct command.
Added option libraryName, you need to set it to your library name in Plex. So you can have one tab/card for one library (for example Movies), and another one for another one (for example TV Shows).
This is an early version. Yes, instructions are not great. Yes, it’s not user friendly. If you are not willing to use google for such basic stuff as figuring out how to add resources for cards in hass (looking at you @david1 ) and are going to be passive aggressive about it on Discord, you might as well not bother at all with this integration.
< /developer frustration rant>
I hope this guy was an exception to the rule, most users of my integrations are cool. Be cool.
If you are cool with using google and are stuck on something non-trivial or have discovered a bug, you are of course very welcomed on discord!
I can access the js script when i go to /local/content-card-example.js but i still dont see any images, i ran the python script successfully, but get a red image…,
The error message you are probably seeing is “You need to define a libraryName”. Instructions in the main post for that were not updated yet as its being updated very often and intended for experienced users or developers.
Go actually read the error message in “red image” and define key libraryName. As an example, if your library is named Movies, make it Movies.
Or go read my post right above yours, its being said right there.
PS: You are banned from discord, hopefully you will be more civil here
Thumbnails should be supported. They should be loading up from your plex server. What do you see in network tab?
Also when you load up plex in your browser, in network tab you should see urls containing “/photo/:/transcode” what are those? (Make sure to remove your token from url)
Edit: Are you using https home assistant? If that is the case it will not work, it needs to be both http. That is something that needs to be improved in the future.