Actions
Bug #212
closedContent length on recordings
Bug #212:
Content length on recordings
Start date:
Due date:
% Done:
0%
Estimated time:
Found in version:
Affected Versions:
Description
Streaming of a currently recording dvr results in length to be set to current file size. This means that the show will continue to grow during the streaming but a client is not able to get the added data. In HTTP standard its possible to set the length to 0 to show that the length is unkown, this would suite currently recording series well IMO.
On line 243 of webui.c (http://trac.lonelycoder.com/hts/browser/trunk/tvheadend/src/webui/webui.c#L243) the length of the dvr recording is set to active file length on disk. Would it be possible to do a IsRecording() ? 0 : st.size on it so streaming of currently recording files works?
Actions