Video does not play beyond cache point after sleep

Server Version#: 1.19.2.2737
Player Version#: 4.22.3

Basically the same as posted in Video plays only until chached point, then stops after Mac goes to sleep

  1. Start playing an item
  2. Close laptop or pause and let computer sleep
  3. Wake computer
  4. Hit play
  5. Media plays until cache point, never continues past it

PMS drops the connection if the stream is paused for too long. It’s better if you close Plex Web, then reload it when the computer wakes up and use the resume feature.

That is the workaround that I’ve been using for now.

I find it hard to explain the behavior to less technical users, though. Changing the stream options, pressing next, or selecting a different video all work fine. And as far as I can tell there is no visual indication of the lost connection either. You simply exhaust the local buffer and the video then hangs forever.

Does the client know it’s disconnected? I would assume it could reconnect upon playback resumption while it’s burning through the existing buffer so that it can continue normally.

Yes and no. The connection is lost, but since it’s a web page, it won’t refresh on it’s own when it’s paused. It rechecks it’s previous connection when you unpause, but will fail and eventually timeout. Since there is some info still cached, it just plays that. If you wait long enough (3 minutes I think) you should see the timeout kick in with an error.

Think of it like a conversation between 2 people. Stop mid sentence and walk away for an hour. You come back and finish your last sentence but the other person has forgotten what the discussion was about.

This sounds like precisely the kind of signal that should trigger automatic reconnection in the same vein as if I manually alter the playback settings during the cached buffer playback. There’s no technical reason that I need an actual full page refresh–it’s just one simple workaround. Pressing close on the video and then playing again also works.

I have plenty of workarounds for the bug already. I just wanted to re-report the bug to ensure it was being tracked internally since the original post had no response.

This behavior does not occur with Amazon Prime Video, Netflix, or Hulu. They will reconnect, sometimes with a sub-second hiccup when switching from the buffered content to the new stream, but playback will continue. That makes it even harder to explain to my non-technical users.

Plus the refresh workaround for secondary accounts is even worse since they need to authenticate adding further steps and time between opening the computer and resuming playback.

For those you are streaming from the same network that doesn’t change. Streaming from your Plex server, your network can change at any time.

Even if the network changes, technically this is absolutely no problem as long as the client can reach the server - Through Websockets the Server and the Client can always exchange information even after the connection is lost and reestablished. The “feature” to continue after sleep is just not implemented in PLEX and I wonder why it does not bother more people, I think Kodi does not have that problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.