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

Bruce Markey bjm at lvcm.com
Tue Nov 11 15:35:43 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



More information about the mythtv-users mailing list