[mythtv-commits] Ticket #5644: Mythvideo scans entire file space instead of just the specified subdir

MythTV mythtv at cvs.mythtv.org
Tue Aug 26 03:35:46 UTC 2008


#5644: Mythvideo scans entire file space instead of just the specified subdir
---------------------------------------+------------------------------------
 Reporter:  henrik.sorensen at gmail.com  |       Owner:  ijr    
     Type:  defect                     |      Status:  new    
 Priority:  minor                      |   Milestone:  unknown
Component:  mythtv                     |     Version:  unknown
 Severity:  high                       |     Mlocked:  0      
---------------------------------------+------------------------------------
 Watch Videos is taking a lot of time switching to the video browser.
 A bt from gdb showed a lot of nested scan_dir() calls.
 So I added a simple 'cout << "Scanning " << start_path << "...\n";' to the
 top of scan_dir().

 The output shows it scanning the subtree of /home/cbaoth/Videos, which is
 the configured videostartupdir.. then it starts on the root file system
 for some odd reason.

 Scanning /home/cbaoth/Videos/Top Gear/Season 11...
 Scanning /home/cbaoth/Videos/Torchwood...
 Scanning /...
 Scanning /bin...
 Scanning /boot...
 Scanning /boot/grub...

 Mythvideo settings:
 VideoStartupDir is '/home/cbaoth/Videos'
 Default view: listings
 Show unknown file types is checked
 Video Browser|Gallery|List browses is checked

 Using mythtv and plugins trunk rev 18198

 (Had the similar issue with 0.21 release version where it at least scanned
 my entire homedir, but it was fixed somewhere along in fixes)

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


More information about the mythtv-commits mailing list