On Sun, 21 Aug 2011 15:45:18 +0200
Klaus Schmidinger <klaus.schmidin...@tvdr.de> wrote:
> On 19.08.2011 23:56, Steffen Barszus wrote:
> > It's slow since it needs to iterate through all recordings
> > and check file size of the index file (thats what i understand from
> > Klaus comment), so divide that by number of frames of the recording
> > and thats it. the directory scanner is anyway doing the same
> > (iterating the video directory and pick up necessary information).
> > So it wouldn't add anything substantially.
> Would the attached patch work for you?
> Line numbers may be off a little.
Tested and looks good to me. Shows the correct result, where possible,
no delay in getting the result and doesnt crash on strange recordings.
Would love to see this in next developer version :)
vdr mailing list