XBMC - TV Show Scraping SLOW
#1
Hi,

Following the svn builds, and today decided to clean out my db and rescan my movie and tvshow directories. I notice each tv show episode takes about 10-12 seconds to scrape, even though I have nfo and fanart stored locally.... meaning xbmc is still sitting here scanning through 800 or so tv shows. Its a relatively fast machine... core i7 920 @ 3.7ghz, samsung spinpoint f3 drives... windows 7 64bit, SVN: 32509

Luckily I have debug logging enabled and can see whats happening during the 10 seconds. Can anyone explain why all of these dlls keep getting loaded and unloaded, it seems very ineffecient. Should I report it on trac?

Code:
21:24:16 T:1340 M:4025098240   DEBUG: VideoInfoScanner: Found matching Full NFO file: F:\New Tv Shows\Star Trek Voyager\Season 5\s05e21.nfo
21:24:16 T:1340 M:4025098240   DEBUG: VideoInfoScanner: Adding new item to tvshows:F:\New Tv Shows\Star Trek Voyager\Season 5\s05e21.mkv
21:24:16 T:1340 M:4024713216    INFO: Caching image from: F:\New Tv Shows\Star Trek Voyager\Season 5\s05e21.tbn to special://masterprofile/Thumbnails/Video/a/a18d8379.tbn with width 512 and height 512
21:24:16 T:1340 M:4024688640   DEBUG: CVideoDatabase::GetEpisodeId (F:\New Tv Shows\Star Trek Voyager\Season 5\s05e22.mkv), query = select idEpisode from episode where idFile=1085
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Load(ADVAPI32.DLL)
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Load(KERNEL32.DLL)
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Load(NETAPI32.DLL)
21:24:16 T:1340 M:4024537088   DEBUG: FreeLibrary(NETAPI32.DLL) -> 10A370C8
21:24:16 T:1340 M:4024537088   DEBUG: Win32DllLoader::Unload NETAPI32.DLL
21:24:16 T:1340 M:4024598528   DEBUG: FreeLibrary(ADVAPI32.DLL) -> 10A2AE18
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Unload ADVAPI32.DLL
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Load(USER32.DLL)
21:24:16 T:1340 M:4024598528   DEBUG: FreeLibrary(USER32.DLL) -> 10A2AE18
21:24:16 T:1340 M:4024598528   DEBUG: Win32DllLoader::Unload USER32.DLL
21:24:19 T:1340 M:4023660544   DEBUG: FreeLibrary(KERNEL32.DLL) -> 10A2EA18
21:24:19 T:1340 M:4023824384   DEBUG: Win32DllLoader::Unload KERNEL32.DLL
21:24:21 T:1340 M:4025581568   DEBUG: Win32DllLoader::Load(secur32.dll)
21:24:21 T:1340 M:4025573376   DEBUG: FreeLibrary(secur32.dll) -> 10A2EA18
21:24:21 T:1340 M:4025573376   DEBUG: Win32DllLoader::Unload secur32.dll
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Load(ADVAPI32.DLL)
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Load(KERNEL32.DLL)
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Load(NETAPI32.DLL)
21:24:21 T:1340 M:4025483264   DEBUG: FreeLibrary(NETAPI32.DLL) -> 10A2A918
21:24:21 T:1340 M:4025483264   DEBUG: Win32DllLoader::Unload NETAPI32.DLL
21:24:21 T:1340 M:4025561088   DEBUG: FreeLibrary(ADVAPI32.DLL) -> 10A40628
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Unload ADVAPI32.DLL
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Load(USER32.DLL)
21:24:21 T:1340 M:4025561088   DEBUG: FreeLibrary(USER32.DLL) -> 10A40628
21:24:21 T:1340 M:4025561088   DEBUG: Win32DllLoader::Unload USER32.DLL
21:24:24 T:1340 M:4040388608   DEBUG: FreeLibrary(KERNEL32.DLL) -> 10A396E8
21:24:24 T:1340 M:4040413184   DEBUG: Win32DllLoader::Unload KERNEL32.DLL
21:24:26 T:1340 M:4025245696   DEBUG: Win32DllLoader::Load(secur32.dll)
21:24:26 T:1340 M:4025233408   DEBUG: FreeLibrary(secur32.dll) -> 10A396E8
21:24:26 T:1340 M:4025233408   DEBUG: Win32DllLoader::Unload secur32.dll

All those USER32.DLL and KERNEL32.DLL 4 second a piece unloads are adding up after 800 or so tv show episodes Tongue Twil take it all night at this rate Smile
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC - TV Show Scraping SLOW0