On 11/02/05 13:00, Steve Adeff wrote:
Another reason to have improved multiple storage directories support. The perl
script is a nice start, but not what I would consider a proper solution. I
wish I could help actually code an improved version, but all I can offer are
ideas... That said, I do have some questions about how the script and
database operate:
1. I don't understand the requirement for transcoded shows that remain in the
recordings database be .nuv as opposed to say .avi? is this purely a naming
convention issue or can the MythTV playback engine not able to play avi
files?
The ".nuv" extension is no longer a requirement in SVN. The SVN version
will use a ".mpg" extension for MPEG recordings (i.e. PVR-x50, DVB,
etc.) or a ".nuv" extension for software-encoded recordings (MPEG-4 or
RTJPEG).
There has been some work to play back other file formats (including
AVI), and it works as well as the "Internal" player in MythVideo. Note
that the SVN version has some significant improvements to this
capability over 0.18.
2. why can't the database contain not just the file name but also the
directory under which that file is contained? Would this not eliminate the
need for the symlinking? Consider the fellow that said he had 300+ Simpsons
recordings. Wouldn't it make some sense if he could place them all
in /blah/blah/Simpsons and then have the database look for the files there
via a directory entry than having to have 300+ symlinks in his normal
recording directory?
We're nearly there in SVN. We have support for including "subdirectory"
names in the recording filename (where subdirectories are relative to
the recordings directory). However, there are still several places in
the code that strip directories from the name. I keep telling myself
I'll patch this, but my HDTV upgrade has been a much higher priority for
me... :)
This, it would seem, would be a first step in multiple recording directory
support. Sure the algorithms for where to place the next recording could be
worked out later, but it would seem that the perl script currently used could
be simplified to just moving the file and placing the new directory in the
database for that recording.
Almost there...
Mike
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev