[mythtv-users] feature request for a backup recording location
Chris Pinkham
cpinkham at bc2va.org
Tue Nov 11 16:44:06 EST 2003
> Chris Germano wrote:
> > Is there any option to specify a secondary location for recording?
>
> That shouldn't be too hard. Add code to split 'RecordFilePrefix'
> on ":" where it opens the file. Try to open the basename in the
> first dir. If it fails try the next. If there are no more dirs
> and no open has succeeded then report file not found. You should
> then be able to enter a colon separated list of directories in
> the backend "setup" program's General pages.
>
> You would also need to split the path and use the first element
> where the recorder opens a file for writing.
>
> Send a patch when you get it working =).
>
> -- bjm
Make sure that you make changes to the backend as well so it knows how
to determine the free space for multiple directories.
And when the recorder tries a file it should check to see that the free
space on that directory/filesystem isn't below the threshold set. :)
--
Chris
More information about the mythtv-users
mailing list