[mythtv-commits] Ticket #1744: support multiple recording directories

MythTV mythtv at cvs.mythtv.org
Thu Apr 27 23:09:27 UTC 2006


#1744: support multiple recording directories
----------------------------------+-----------------------------------------
 Reporter:  ltd at interlink.com.au  |       Owner:  ijr 
     Type:  enhancement           |      Status:  new 
 Priority:  minor                 |   Milestone:  0.20
Component:  mythtv                |     Version:  head
 Severity:  medium                |  
----------------------------------+-----------------------------------------
 What this patch does is allows you to specify multiple recording
 directories (separated by commas).
 mythbackend will then 'choose' one of those recording directories based on
 which one has the most free disk space.

 Rationale behind this patch (rather than using DM/LVM/MD et al) is that
 creating one large partition means that if you lose a HDD you lose _all_
 content, not just part of your media store.

 No databases changes are involved with this patch (i.e. myth isn't storing
 the actual directory chosen anywhere). Backends will search each recording
 directory to find the recording.
 This also means that you are free to move your media around _between_ your
 recording directories & it will still find the media.

 Auto Expiration will now loop across multiple directories, checking each
 individually to ensure they meet the minimum space threshold.

 A minor change I made was in the default filenames chosen for recording
 (libs/libmythtv/programinfo.cpp:1294). That part isn't necessary but I
 found it useful when testing to 'see' what the programmes being recorded
 actually were...
 feel free to drop that hunk if you don't like the revised filenames.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1744>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list