Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Question/Suggestion regarding vdr's collcted epg data
Klaus Schmidinger wrote:
...
> I'm not sure if using any database for the recordings would be a good idea.
> The ultimate location for this information would still be the file system's
> directory structure, so the same information would be stored in two different
> places, and according to Murphy any information that is stored in more than
> one single place will sooner of later become wrong in at least one of these
> places.
I agree 100% with Klaus here.
I want to be free to manually re-arrange recordings
using cp, ln, mv, etc.
I believe a data base would make things more complicated
without gaining me much.
> I believe the way to go here is to have an instance of the cRecordings class
> in VDR that lives permanently and is updated whenever VDR itself makes a change
> to the recordings. It could also scan the video directory in the background
> from time to time in order to reflect any changes that have been made through
> other means (like the user deleting or renaming a directory manually from
> the shell).
I wonder if there is not an even easier way.
As soon as the kernel has cached the directories,
the recordings menu comes up really fast.
A simple way to keep them in cache of course is
a script like this
while (true) do
find /video -type f > /dev/null
sleep 60
done
Maybe there is an even better way to achieve this,
but the above works pretty well.
Carsten.
Home |
Main Index |
Thread Index