I’m trying to set up a couple scripts to play videos from Plex on our fire stick with the Plex app, but I’m not having any luck as the media_player.play_media service just keeps telling me the media could not be found:
Media could not be found: { "library_name" : "TV Shows", "show_name" : "Paw Patrol", "season_number" : 1, "episode_number" : 1, "shuffle": "0" }
and so on for a handful of shows and movies I tried. Library name matches the Plex server, and movie/show titles match what shows up in the Plex app. What am I missing?
Yes, it’s unfortunately case sensitive at the moment. If you use all caps and you’re still seeing the “Media could not be found:” error, that implies that the Plex server simply can’t find the media you’re requesting. Movies are usually the simplest test.
PS: The shuffle parameter is optional in recent versions but the docs haven’t been updated to reflect this yet. It’ll default to “0” if not included.
Yep, it looks like that custom component is pulling down a different version of plexapi and replacing the standard dependency version. I’ll have to see what’s different in the behavior at that commit vs the expected 3.3.0 release.
To confirm, when reverting to 3.3.0 everything works as expected?
Yeah, it works on my Samsung TV, but it doesn’t work when u use chrome player… If I fire it to my chrome webplayer, it doesn’t do anything, I don’t see an error either…
Yes, you had been running a newer commit than 3.3.0. That release wasn’t tagged in github but was published to pypi on Nov 11 (commit).
Chrome was probably working on the newer version as it included this PR.
Since HA only allows dependencies to use published releases, we need to wait for a newer release to come out as 3.3.0 is the latest. I’ve already requested this and hopefully we’ll have it soon.
Why you were getting “Media could not be found”? Not sure yet, but now we’ve cleared up some of the other confusion. I’ll need to test the integration before bumping to a new version.