Live TV stops playing at minute 03 of every hour

msblack - I had a look at your logs, and sorry to say that you seem to have the exact same issue. The only slightly difference is that your stopped at the :33 minute -vs- :03 minute I usually see. But now that I think on it, I’ve likely had hangs at the :33 mark as well.

Anyway, regardless of 03 or 33, the pattern indicates that there is a 3 minute lag between the 1st “timeline?audioStreamID” fetch error and when the Player “gives up” aka hangs. I think jpgrenier hunch is correct, in that this is likely a programing guide glitch. I think that as the current live program nears it’s last few remaining broadcast seconds, the Player’s “timeline” call’s begin to reach outside the actual duration value than what the sever expects. The server simply ignores (returns error status) for the repeat “timeline” call’s. I’m no expert in streaming protocols, but I’m guessing the Player eventually needs this data, so it take 3 more minutes of repeat dead calls for the Player to say it’s had enough. At that time, the stream is stopped and torn-down at minute 3 into the following new tv program.

So that’s now 3 of us seeing the same thing !

Oh, and yes, I’ve already ruled-out the DVR scheduler being of suspect - i.e., I cleared it totally and still got those hangs.

I just captured another event in both the server and client logs. This one saw the screen freezing at or about 6:33:18pm. I then enabled the network logging on the client at 6:33:39pm to capture the trace below. Restarted the program from the beginning (ie, now time delayed by maybe five minutes) and it ran without issue.

client log: logging2.txt (1.2 MB)
server log: Plex Media Server Logs_2020-04-15_18-35-34.zip (4.5 MB)

msblack - I confirmed your observation, twice now.
I too was able to get past the hang points as well by just initially rewinding the live stream offset back just 45 secs (time-shifted). This tells me that the “bug” is very much related to poor timing implementation when Plex Player is at the very “front” of the buffered live stream.

While this works as a temp work-around solution . . . it’s kind of pain to re-watch a minute of TV just to deliberately insert a larger time-shifted “buffer”.

At this point, I think it is fair to say the Plex product is flawed in maintaining a reliable live tv stream - unless watching as time-shifted delay.

I did a test this morning disabling the new player option. The playback went passed the 3 minutes mark without any problems.

The only issue is that I don’t have the audio selection option with this player and for some weird reason the “described video” audio is selected by default. Its very annoying.

Just adding my $.02 to this thread - for whatever it is worth. I’ve been having issues with Live TV stopping/freezing for some time. Wife is not happy. Since coming across this thread, I’ve asked her to note the time that the freezes occur. So far (since we started keeping track) they have been occurring at 3 minutes past the hour.

Little update on the subject, I just made the last PMS public update (1.19.2.2701) and the problem still exists…
Would be nice to ear from Plex team if they are working on it or if they have a fix.

Hi All - Thought I would chime in on this thread to toss my name in the hat. I too am having these TV freezing issues. I am on the verge of switching to Emby if this does not get resolved…but I stumbled across this thread and have decide to see how this thread pans out.

I am running PMS Version 1.19.1.2645 on Ubuntu 18.04. I have two HD Homerun tuners - one is a Quatro HDHR5-4US, the other is a HDHR4-2US. I have three NVidia Shields in my house - I know for a fact that at least two are experiencing Live TV Freezing. one of those Shields is the newer Cylindrical ones, the other is the 2017 version.

As someone already stated, the WAF is at an extreme low, even though we’ve been happy with Plex since we finally converted from Windows MCE (which served us quite well for many years…). I’m willing to ride this out if a solution is forthcoming - but as I stated in the beginning of this message, I was on the cusp of leaving Plex for Emby when I saw this thread.

How can I best provide info to help the cause?

Thanks.

Ed

Just to chime in on this. I’m experiencing the exact same problem. 3 minutes past the hour and live TV stops playing like clockwork. Using an Nvidia shield as client on latest release from the Play Store and PMS is running 1.19.2.2737 on a Windows machine.

Time for an update . . . (repost)

Okay, I have no real new news here . . . the :03 hangs (and sometimes the :33 hangs) continue to plague my setup. For those that have speed-read the last dozen or so posts above, I can summarize the issue as follows:

This seems to mainly affect Nvidia Shield TV devices, when streaming Live TV via a local Plex Media Server via HDHomerun tuner. Although I personally feel the issue is mainly with the Plex Player app running on Shield device.

The 10,000ft view : Plex Player never actually plays “live” TV, because technically there is always a second or two lag/delay by the time the OTA tuner stream is temporarily encoded onto the local PMS, where then the Player fetches the encoded stream in 1-second batches in a first-in first-out (FIFO) stream “buffering” technique. Therefore, if one were to “pause” or “rewind” (aka time-shift) Live TV, you would be widening this FIFO delay respectively. Catching back up to the front, Live TV, would put the Player yet again at that 1 to 2 seconds just behind the OTA’s live broadcast once again (smallest buffer gap).

The problem - how we interpret it - is that when the buffer is at it’s smallest (aka streaming nearly real-time TV), and the current broadcast program eventually concludes (transitions to the next), say on the hour (or half-hour), the Player app somehow mishandles, hiccups, otherwise losses a timing resource check metric with the server. However, instead of crashing at that moment, the Player still continues to play the active stream for roughly another 3 minutes, which is now into the new TV broadcast program. Yet by this time, PMS (or the Player) eventually notices something isn’t quite right, and the PMS proceeds to tear-down the stream in progress, out from under the Player, resulting in the frozen stream we all witness. So while is it the PMS stopping the stream, it is really the Player’s fault (3 minutes prior) which sets up the situation to ultimately fail. I would almost say that the Player & PMS are acting as if one is in DVR record mode (where there is to be a stop planned), while the other is in Live TV mode (where it is supposed to just keep streaming).

Work-around : We have observed that increasing the FIFO buffer (aka deliberately time-shifting live TV) back several minutes or so has helped to avoid the so called “hiccup”. Yet who really wants to watch live TV in that great of a time delay.

The fix : None so far. That’s up to Plex developers at this point. Again, I’d recommend Plex developers focus on the engineering approach at TV Guide as implemented in Live TV -vs- DVR client/server handshake protocols, possibly widening the default FIFO buffering/delay, and specific nuances with the Player app on the Nvidia Shield device platforms.

Please feel free to post-up if you are seeing the consistent :03 freezing – the more confirmations we have, perhaps Plex will take note.

Hi all :wave:

Thank you for the reports! just wanted to let you all know I am currently working on and testing a fix for the issue.

Thanks again and will keep you all updated :smile:

6 Likes

This is great News! Thank you! The WAF has been plummeting since this problem started…to the Point where I had to start looking at Emby.

We sincerely appreciate your work on this!

Haha my WAF has been sub par as well. “I hate this #$@*ing TV!”. I told her the Plex team was on it. Got an update tonight from play store, and it’s been working good, but can’t remember how long I’ve had this channel on… I’ll edit if it goes south.

Bottom Line:
Plex/Wife
Pick only one.

Right now you have the advantage of not being the source of her anger.
Choose Wisely… for what you do now will impact the rest of YOUR life. She’ll move on quickly and raise that family you wanted - with someone else.

Plex does fearful things - if you let it run amok.

lol

1 Like

Hahaha! And…it froze.

This is great news because also the Mi box s along with my Nvidia Shield have this issue.

I have the same issue using Plex Server on Ubuntu, HD HOMERUN Quattro and Nvidia shield pro 2019. Live tv hangs 3 minutes after a new show starts

Add me to the list of users dealing with this bug as well. Today I finally got some logs from my server, noticed the “Time value greater than duration” entry, Googled that, and it lead me to this thread. I didn’t notice it before, but after reading through here, I saw that it was at 2:03pm today that I was able to capture the log. So that’s one more conformation of it happening at :03 past the hour.
I can provide logs and such if it would be helpful, but it sounds like enough info has already been provided, and so far I only have a log from my server and not the Nvidia Shield client.
Hopefully a fix for this can be released soon… Between this and the bug which prevents you from being able to pause live TV for more than 3~ minutes without losing the stream, the DVR feature has been basically unusable and lead to an extremely frustrating experience. I just bought a months subscription to Emby earlier today and while it seems like it would be a very suitable replacement, I’d rather not spend another $120 for a lifetime subscription when I’ve already spent that on PLEX.

Hi all :wave:

Thanks again for reporting!, just to let you know some fixes have gone out into the latest beta today for Android if you have access :slightly_smiling_face:

If you are able to test and let me know if these fix the issues. It’s not stated in the release notes so I will get that corrected before full release.

Thanks again all :bowing_man:

1 Like

Seems to have fixed for me so far. Thanks!!

Adding my name to the list of people having this issue. I downloaded and installed 8.1.0.17650-beta yesterday but unfortunately it has not helped. Running it on my Fire TV (AppStore).