Closed Keagel closed 1 year ago
Hm looks like its connecting fine, appreciate the debug logs
I would play something on your Apple TV and look at the "Now Playing" section on Plex web and see how and if it's being reported
Based on the logs the script isn't seeing the playback session at all. The logs won't bother listing the session unless it's a LAN session so make sure that Plex is reporting it as such and that it sees it
But in order for the script to work the playback session needs to show up on "Now Playing" and be recognized as Local
Thanks for the answer! That’s exactly right. Plex says it’s a remote connection but it’s my local IP, I guess it’s thrown off by the subnet of the docker network.
Can fix that in the network settings of plex by including your local network subnet
Plex > Settings > Network
That works for PlexAutoSkip to detect sessions, though now the connection is refused when it tries to skip the intro. The issue is that Plex shows the IP of the client that's currently playing as 192.168.1.254
(IP of the router) when it's actually 192.168.1.218
. Using your solution from https://github.com/mdhiggins/PlexAutoSkip/issues/3#issuecomment-1013543649 I was able to hard-code the clients' IPs in custom.json
which works although not ideal. Not sure why Plex can't find the correct IP of my clients.
Are you using unbound by chance?
If you're talking about the DNS resolver, no. I'm using my Pi-Hole as a DHCP server though, but from my Tautulli logs I can see that even dating back before I moved to Pi-Hole as DHCP the recorded IP for all LAN clients is the router's.
Edit: I'm pretty sure the issue is with my plex docker container running in bridged network mode.
Could try running your Plex container in host networking mode if you aren't already
The issue was that I hadn't set up the custom server access URLs in the UI (ADVERTISE_IP variable from hotio's image: https://hotio.dev/containers/plex/#environment-variables-advertise_ip-and-allowed_networks) so clients couldn't discover the server and were likely going external. I guess the router was doing some hairpinning which resulted in Plex seeing every client as the router's IP. It's all fixed now. Thanks!
Hello,
I've just installed PlexAutoSkip using your docker container but I can't seem to get it to skip anything. I've tried it on both my Apple TV and iPhone and nothing happens.
Here are the logs:
As you can see there are no messages indicating that it's finding sessions/detecting intros. GDM is enabled on the server and my Apple TV's Plex app has "Advertise as player" set to on. My Plex server is running in a container too for what it's worth (hotio's image), but both containers are on the same subnet.
Do you have any idea of what could be the problem?
Thanks!