[mythtv-users] feature request for a backup recording location and db incase of a master server failure

Joseph A. Caputo jcaputo1 at comcast.net
Tue Nov 11 16:20:11 EST 2003


On Tuesday 11 November 2003 15:35, Bruce Markey wrote:
> 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 =).

You'd also need to modify the disk space threshhold-checking code for 
starting new recordings & auto-expire.

-JAC



More information about the mythtv-users mailing list