Am 19.08.2011 15:30, schrieb Steffen Barszus:
On 08/19/11 11:46, Steffen Barszus wrote:
i would like to request, that vdr is storing the length of a recording and make it accessible to the plug-ins.
Where it gets stored is not my point, that it can be served from in meory data read by ScanVideoDir is my point.
- read&compute by the core
- dont access harddisk for known recordings
- dont do it multiple times, if more then one part of vdr wants to know it.
If its only in memory and read by the scanner its fine with me.
for medium to large recording base we speak about minutes not milliseconds for reading that data.
Maybe some kind of caching mechanism, but please don't calculate the length every time while doing the scan of the video directory. The directory scanner is already slow enough, no need to add these minutes to it.
Cheers,
Udo