Disable scanning in RAR files?
#1
Hi there,

I have subtitles for every movie of mine, ripped from DVD in .idx/.rar pairs. When doing a library update (which takes around an hour for me), it seems to be scanning each .RAR file looking for a movie, effectively doubling the time it takes for my library updates to occur.

Example from debug log:
Code:
19:07:00 M: 31686656   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://MYBOOKWORLD/MOVIES/Aqua%20Teen%20Hunger%20Force%20Colon%20Movie%20Film%20For%20Theaters%20%282006%29
19:07:00 M: 31686656   DEBUG: GetVolumeFromFileName:[dmd-aquarp.avi]
19:07:00 M: 31686656   DEBUG: Regexp:[[ _\.-]+cd[ _\.-]*([0-9a-d]+)]
19:07:00 M: 31686656   DEBUG: Regexp:[[ _\.-]+dvd[ _\.-]*([0-9a-d]+)]
19:07:00 M: 31686656   DEBUG: Regexp:[[ _\.-]+part[ _\.-]*([0-9a-d]+)]
19:07:00 M: 31686656   DEBUG: Regexp:[[ _\.-]+dis[ck][ _\.-]*([0-9a-d]+)]
19:07:00 M: 31686656   DEBUG: Regexp:[()[ _\.-]+([0-9]*[abcd]+)(\.....?)$]
19:07:00 M: 31686656   DEBUG: Regexp:[([a-z])([0-9]+)(\.....?)$]
19:07:00 M: 31686656   DEBUG: Regexp:[()([ab])(\.....?)$]
19:07:00 M: 31686656   DEBUG: VIDEO::CVideoInfoScanner::DoScan Scanning dir 'smb://MYBOOKWORLD/MOVIES/Aqua Teen Hunger Force Colon Movie Film For Theaters (2006)/' as not in the database
19:07:01 M: 31686656   DEBUG: Hash[movies,smb://MYBOOKWORLD/MOVIES/Aqua Teen Hunger Force Colon Movie Film For Theaters (2006)/]:DB=[],Computed=[1AB1C7E8F0F5F772AE7D034D5EDAE14C]
19:07:04 M: 31543296   DEBUG: CVideoDatabase::GetMovieId (smb://MYBOOKWORLD/MOVIES/Aqua Teen Hunger Force Colon Movie Film For Theaters (2006)/dmd-aquarp.avi), query = select idMovie from movie where idFile=48
19:07:04 M: 31686656   DEBUG: VIDEO::CVideoInfoScanner::DoScan - Finished dir: smb://MYBOOKWORLD/MOVIES/Aqua Teen Hunger Force Colon Movie Film For Theaters (2006)/
19:07:05 M: 31633408   DEBUG: CFileSMB::Open - opened MOVIES/Aqua Teen Hunger Force Colon Movie Film For Theaters (2006)/dmd-aquarp.rar, fd=10000
19:07:05 M: 31637504   DEBUG: CFileSMB::Close closing fd 10000
19:07:05 M: 31686656   DEBUG: VIDEO::CVideoInfoScanner::DoScan Scanning dir 'rar://smb%3a%2f%2fMYBOOKWORLD%2fMOVIES%2fAqua%20Teen%20Hunger%20Force%20Colon%20Movie%20Film%20For%20Theaters%20%282006%29%2fdmd%2daquarp%2erar/' as not in the database
19:07:05 M: 31686656   DEBUG: Hash[movies,rar://smb%3a%2f%2fMYBOOKWORLD%2fMOVIES%2fAqua%20Teen%20Hunger%20Force%20Colon%20Movie%20Film%20For%20Theaters%20%282006%29%2fdmd%2daquarp%2erar/]:DB=[],Computed=[]
19:07:09 M: 31686656   DEBUG: VIDEO::CVideoInfoScanner::DoScan - Finished dir: rar://smb%3a%2f%2fMYBOOKWORLD%2fMOVIES%2fAqua%20Teen%20Hunger%20Force%20Colon%20Movie%20Film%20For%20Theaters%20%282006%29%2fdmd%2daquarp%2erar/

Is there any way to disable this scan, but maintain the scan for subtitles? Or do you recommend any other way of speeding up my library updates?

Thanks in advance.
#2
UPDATE:

Apologies, I should've looked at the AdvancedSettings section on the Wiki a little clearer. I've now since disabled .rar as a movie extension and this works perfectly, speeding up my library updates by about 50%.

However, it still seems that some items are stalling slightly and showing "as not in database" despite being in the library. Any reason why this occurs?

Logout Mark Read Team Forum Stats Members Help
Disable scanning in RAR files?1