-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Plex on samsung tv, request could not be completed #47712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I am also getting an error on my Samsung TV when I use the I have provided information from my setup in addition to @jjlawren 's post is shown below: What is version of Home Assistant Core has the issue? What was the last working version of Home Assistant Core? What type of installation are you running? Integration causing the issue Link to integration documentation on our website Example YAML snippet
Another YAML example:
Anything in the logs that might be useful for us? Other Information |
Both of these are related to the client, which are unfortunately difficult to debug remotely. The Orca client specifically is a 3rd party client which don't believe has been updated in a couple years. Were both of you able to start playback on these clients previously? Are you able to start playback on these clients using Plex Web? @wizzkidd you may want to upgrade to 2021.3.X since that uses the latest We might get lucky by enabling more debug logging and trying again:
|
i even tested that "plex assistant", when you started with in in the beginning with dialogflow, it also worked then |
Does it work now using Plex Web? |
yes, if i use chrome, the movie starts |
|
To be clear, I mean using the Plex Web interface to cast playback to the Samsung TV. |
ah ok :-) i can try that later ... not tried yet indeed |
ok, tested from the plex app on my android, casting to the samsung tv, that works, so the orca client is working |
Actually, pychromecast wouldn't be the issue here. Your samsung TV would be a plex client not a chromecast device. Sorry for the confusion. |
For reference, you can sent Plex media directly to Chromecast players using this method: https://www.home-assistant.io/integrations/cast/#plex. |
yes, but i am using maykar's "Plex Assistant" :) so what can i do to test, because it worked before , load an older plex integration? or is plexapi causing issues? |
Were you able to play on this TV using the HA |
You are correct, but @pergolafabio mentioned on PA's forum thread that the script he posted above that uses |
yes, i am still using the same test scripts as i did before, they worked less then a year ago.... i now tested them again @maykar asked me too, and that script AND PA is giving the same error on my samsung device
|
You tested with some python scripts previously, perhaps you can try that again? I made some guesses on client names and such based on old issues you raised. Give this a shot and report back what happens: from plexapi.playqueue import PlayQueue
from plexapi.server import PlexServer
import logging
log = logging.getLogger()
log.addHandler(logging.StreamHandler())
log.setLevel(logging.DEBUG)
serverurl = 'http://<SERVER_IP>:32400'
token = '<YOUR_TOKEN_HERE>'
server = PlexServer(baseurl=serverurl, token=token)
movie = server.library.section('Kids').get('Cars')
samsung = server.client("TV Samsung")
samsung.proxyThroughServer()
# Try this first
samsung.playMedia(movie)
# Try this second
#pq = PlayQueue.create(items=movie, server=server)
#samsung.playMedia(pq) If the first test is successful, comment out the first |
ok, tested , this one works : this one gives indeed the same error message:
|
Interesting. Let me think about how to handle this. |
hehe , ok , np :-) |
@wizzkidd are you able to test this script against your official Plex client? |
Just to update the thread with my findings... I have enabled my logging as recommended and updated my HA to I tested by calling the service in the debugging tools: Test 1:
Test 2:
But these both throw up the same error screen on the TV. I've executed the script provide by @jjlawren and unfortunately unlike @pergolafabio both tries throw up the same error screen on the TV. |
After looking through the code I'm actually not sure why you'd see different behavior between these two. The data sent to the Plex client should be identical and my local tests are confirming that. |
Maybe its related to the client? I do the same test again tomorrow to be 100% sure... But is there indeed something changed in last months? Because it worked a while ago |
I've found something that might explain this for Orca, at least based on the description of the problem. Will submit a fix to |
@pergolafabio if you're comfortable testing with a custom library branch, here's the PR: pushingkarmaorg/python-plexapi#692. |
Ok, i can test later today when I am home... I need to load plex as a custom component, and then change the manifest file to that specific plexapi commit, right? |
Or how can I install that specific version, cause I am running HassOs |
Just testing the script against the new library would be sufficient. |
Ok, but how can I install that specific library, cause I tested the script on my HassOs system, and did a "pip install plexapi first" through ssh |
ok, tested locally on desktop pc , both PR's are working, the first one and the simpler one |
Great. I think this upstream change will fix your specific problem with Orca. The other Plex app for newer Samsung TVs still seems to have an unrelated issue. |
perfect! can i already load it in to HA to test? if i load plex as a custom and then change the manifest file to point to a specific plexapi release? or do i need to wait? :) |
much appreciated! |
@pergolafabio please confirm that 2021.3.4 fixes your issue when you have a chance. 🤞 |
yes, working, !! thx for fast support |
The problem
Hi
When i use the play media service to play plex content, i always recieve the error below on my samsung tv
I have 3 samsung tv's, the one running Tizen is ok , the 2 ones running Plex App from Orca , those are giving issues
allthough it worked fine, about a year ago, i also tested the plex, reproted a different issue then , see below
#33523 (comment)
but since, i didnt use plex anymore, and now want to start using it again
the plex app on the samsung tv didnt update
What is version of Home Assistant Core has the issue?
core-2021.3.3
What was the last working version of Home Assistant Core?
107.7 or later
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Plex
Link to integration documentation on our website
https://www.home-assistant.io/integrations/plex/
Example YAML snippet
Anything in the logs that might be useful for us?
No errors , even if i enable debug
The text was updated successfully, but these errors were encountered: