jrudess / streamdvr

DVR for streaming entertainment
GNU General Public License v3.0
67 stars 16 forks source link

Terminating recording when stream offline detected (pandalive viewer limit) #162

Closed challi1337 closed 2 months ago

challi1337 commented 1 year ago

On pandalive it can happen that when a recording is already running and a stream fills up (viewer limit) that on the next check if streams are live it detects it as offline and turns off the recording for it.

Is there a possible fix to turn off that behavior? On manual recording it just keeps recording through once you started it no matter the viewer limit.

jrudess commented 2 months ago

Fixed in d4f6ee9c

Apologies for the long delay -- haven't been actively using or coding streamdvr until recently.

You can add the following option to your 'pandalive.yml' config file to shut off this behavior: noTerminateOffline: true

Keep in mind that there have been a lot of cases in the past where both yt-dlp and streamlink recording processes have gotten stuck even though the streamer went offline. This is why streamdvr keeps checking whether the streamer is online, so that it can manually kill the recording process if it gets stuck. When the above option is set to true that protection is disabled.