Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Recording list buildtime speed up



Florian Steinel wrote:
Hi,
as you all may noticed scanning every time when requesting the "recordings list" (Aufnahmen) the recording dir takes a noticable period of time.
Today i found this links form the wine devel mailling list :
[...]

A more informative URL would IMHO be: http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?db=man&fname=/usr/share/catman/p_man/cat3x/fam.z
or simply 'man 3 fam' (if installed).

@all:
Do think this helps to speed up the build time (recording list)?
I would thing so. The implementation shouldn't be to hard. VDR needs to scan the recording dirs once, possibly in the background after startup. After it has a complete list, or even maybe even before, it would register a notify event on all recording directories. Changes on those directories would then directly alter VDR's lists of know recordings, eliminating the need to rescan recording dirs. Directory level notify should be sufficient, reducing the required implementation complexity.

My only concern would be the size of the in memory recordings list as it could get quite big for large systems (there are vdr systems with more than 1TB storage).

Any comments?

Andreas



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index