How to play growing live tv video recordings?

I’ve got TVHeadend server recording Live TV via DVB-S2. (I can’t use the DVR option in Plex, it’s complicated…)

I’ve added my recordings to Plex and they play fine. But Plex obviously doesn’t support playing growing .ts video files. The video stops once it reaches the end of what it ‘thinks’ is the end of the file.

I kind of doubt I can do anything about this. But… can I?

Store the file in a non-Plex library location. Then when the show is over, have the file moved to the library location.
I know nothing of TVHeadend, but presume it has some automated systems of some sort to notify/perform actions when something is complete.

To further expand upon Jammin’s answer, that notify/perform action could possibly call on Filebot AMC script. I’d suggest you’d check that out.

Then when the show is over

I’m not sure if you understand my post. Maybe I’ll explain it differently. I don’t want to wait until the recording is over. I want to play the video while it’s being recorded. But when I play a currently recorded video, the end time of the video doesn’t update, so Plex stops playing the video when it thinks is end of the video.

@zapras said:

Then when the show is over

I’m not sure if you understand my post. Maybe I’ll explain it differently. I don’t want to wait until the recording is over. I want to play the video while it’s being recorded. But when I play a currently recorded video, the end time of the video doesn’t update, so Plex stops playing the video when it thinks is end of the video.

I know what your asking as I have a tvheadend setup to but never came up with a good way other than using kodi.

The OP is asking if there is anyway to get plex media player to keep updating the length of the file it is playing. Kodi handles this very well and you will see the counter going up while the recording is still growing.

I’m guessing now there is loads of work on DVR that there maybe be some work on how plex handles a still growing file.

Thanks for the reply @Dale.Taylor. I suspected that to be the case. Here’s hoping for the future.

Interesting that Kodi does it well. I’m guessing you must play the file directly and not through the official Plex Kodi plugin, because I know the Kodi Mediaportal plugin supports “updating the length of the file it is playing” (nicely put btw) but only if you play the recorded file directly. As oppose to the NextPVR Kodi addon which doesn’t support direct play so it has the same problem as Plex.

Anyway, thanks :smile: