if you were to add a limitation that you can’t seek the first 10 secs of the stream but your channel tunes in 2 secs, I think that might be a trade off willing to live with.
It’s not just the first 10s, because if you’re tuning directly from the device you have to remain tuning directly from that device or you’d see an awkward handover to PMS.
Speaking of this, is there a limit of live tv buffer that plex enforces? For example if I tune to watch live TV an then pause it, will it stay paused forever? (no right?)
We have a limit of 90 minutes of playback buffer right now. Whether or not it stays paused forever depends on the client. I know the SHIELD/Android client has a bug where leaving it paused for a long enough length of time causes PMS to give up on the client. I can’t remember how the other other clients handle it.
Here are some more fail to tune an hour or so later after a restart. You really should be able to replicate this.
I looked through this second set of logs for a few minutes this evening, and it looks like there’s a session stuck while it’s trying tune. As you make a request to tune, there’s already one trying to start up, so it kills it and tries to start up the second, which then hangs for a while. This then repeats.
Dec 21, 2018 05:45:55.395 [8260] DEBUG - Request: [192.168.110.30:53001 (Subnet)] POST /livetv/dvrs/7/channels/4.1/tune (13 live) TLS GZIP Signed-in Token (Smokindog)
Dec 21, 2018 05:45:55.396 [8260] DEBUG - DVR:Subscription: Starting a new rolling subscription for session ba199fe8e176758fecb6e11e91a5fca5 channel 4.1.
Dec 21, 2018 05:45:55.396 [8260] DEBUG - DVR:Subscription: Cancelling a current rolling subscription for the same session identifier.
Dec 21, 2018 05:45:55.396 [8260] DEBUG - DVR:Subscription: Cancelling grab for subscription 6080: 'Live TV - Session' on channel 5.1
Dec 21, 2018 05:45:55.396 [8260] DEBUG - DVR:Grabber: Cancelling operation for 'Live TV - Session' on channel 5.1 with status cancelled.
Dec 21, 2018 05:45:55.447 [8260] DEBUG - DVR:NewSchedule: Scheduled an operation 'Live TV - Session' on channel 5.1 on tuner 1 between 2018-12-21 05:42:48 and 2018-12-21 05:48:06
Dec 21, 2018 05:45:55.448 [8260] DEBUG - DVR:Grabber: Starting grab immediately for 'Live TV - Session' on channel 5.1 and we're 187 seconds in already.
Dec 21, 2018 05:45:55.448 [8260] DEBUG - DVR:NewSchedule: Scheduled an operation 'Live TV - Session' on channel 8.1 on tuner 0 between 2018-12-21 05:44:26 and 2018-12-21 05:49:26
Dec 21, 2018 05:45:55.448 [8260] DEBUG - DVR:Grabber: Setting timer to stop grab of 'Live TV - Session' on channel 8.1 in 211 seconds.
Dec 21, 2018 05:45:55.448 [8260] DEBUG - DVR:NewSchedule: Scheduled an operation 'Live TV - Session' on channel 11.1 on tuner 0 between 2018-12-21 05:44:57 and 2018-12-21 05:50:08
Dec 21, 2018 05:45:55.448 [8260] DEBUG - DVR:Grabber: Setting timer to stop grab of 'Live TV - Session' on channel 11.1 in 253 seconds.
Those three sessions at the end were ones that you had attempted to start previously but should have been killed and removed from the schedule. I know we have a couple of issues open right now about grab operations getting stuck, but both of them are around sessions that died unexpectedly. Like Elan said earlier, we are heading into the holidays and while I can spend a little time on it, I can’t devote my complete attention to it until after the new year (or my wife may kill me).