Closed Letahl closed 5 years ago
Chromecast dont supported by plexapi, so that will not work. (I might add support later, i dont have chromecast)
As for the other traceback. I assume 192.168.1.181 is your device not the server? The strange part is that I can’t seems to find the matching machineid. So we try the hailmarry where the address isn’t listed in the xml response (that’s why you get error about missing _baseurl) I can try to catch that and retry connecting to the server. On a side note: have you enabled advertise as player in your device? (Dunno if it’s required for Android)
Here is some relevant content regarding casting to chromecast with PlexAPI, should you decide to add support:
https://forum.xda-developers.com/android-tv/chromecast/plex-python-chromecast-t3520651
Also, 192.168.1.181 is the device. What does the machineid reference? I have enabled advertise as player on my Android.
It don’t really do anything. But it’s a way to check that we are trying to control the correct client. The strange part is that according to plex your client isn’t connected to the same network. (Ofc it is but it should be listed)
What docker are you using?
Strange, it is connected to the same local network, and that's how it behaves in Plex. I'm using your latest docker image.
Oh, I’m sorry, I was referring to your plex image
Plex is installed natively (official Plex) and is not dockerized. Should bw_plex's docker image utilize the host network?
That isn’t needed as far as I know. I’ll try to look into it, but dealing with the clients can be hit and miss. I add Chapter support so the user can manually skip intros if the clients supports chapters
Don't believe Plex for Android supports chapters. If there's anything I can do on my end to assist in fixing the Android client, let me know. bw_plex works for the Xbox One app, so its not an issue with my installation. Chromecast functionality is my most desired feature for my use case, however.
Having the same issue with a Samsung Smart TV, works fine in chrome.
I didn’t expect it too work on Samsung. I have a older tv and the client seems to be a dlna client.
I didn’t expect it too work on Samsung. I have a older tv and the client seems to be a dlna client.
I had a quick mess around with the plexapi last year and I got it to control the TV, so I don't see why it wouldn't work.
The ideal client for this would be TVs, it worked for chrome but if your at the computer its easy to click around and skip the intro, its more annoying to do on TV/Chromecast.
Great project btw, wish I had the knowhow to help.
Open a new issue and post your log? This issue is because the client is chromecast (not supported by plexapi)
bw_plex seems to be working properly, as it finds the correct time for the theme:
Found tv.show.sXXeXX theme start 01:08, theme end 01:26, ffmpeg_end 06:55 progress 00:09 best_time 01:26 credits_start 00:00 credits_end 00:00
However, when it comes to connecting to the device, it comes up with an error and doesn't seek properly. I assume this is because the Chromecast isn't supported. bw_plex is dockerized and the command used to run it is "bw_plex watch".
Relevant excerpts from log (timestamps removed):
Similarly, when trying to watch directly on an Android device, the relevant log files are as follows (timestamps removed):