2011-08-11, 13:41
Hallo,
i use <cleanonupdate>true</cleanonupdate> for a long time and lately i wonder why an db update for shows is much faster than for movies.
Right now i use XBMC 5ef1c7d from 20110810 under W7.
One example with <cleanonupdate>true</cleanonupdate> :
After the scanner has finished his work <cleanonupdate>true</cleanonupdate> kicks in and delete all rows with the before added values for the extrathumbs folder from the db.
This happen each time i update my db.
When i set cleanonupdate to "false" all is fine and the hash for the extrathumbs stay inside the db and the scanner skip the folder at the next scan as there are no changes.
As i dont want to disable <cleanonupdate>true</cleanonupdate> i did an small workarround for the moment and added:
The result is this:
But maybe some dev can check this or explane if there is some reason for this ?
i use <cleanonupdate>true</cleanonupdate> for a long time and lately i wonder why an db update for shows is much faster than for movies.
Right now i use XBMC 5ef1c7d from 20110810 under W7.
One example with <cleanonupdate>true</cleanonupdate> :
Quote:11:59:47 T:6272 DEBUG: VideoInfoScanner: Skipping dir 'smb://PathTo/Moviefoldername/' due to no changeWhen i check mysql while the scanner is activ i can see the entry in the strHash field for this extrathumbs folders in each Moviefolder.(dont know why it handle it extra at all as there is a hash for the Moviefolder and this extathumbs is inside this folder)
11:59:47 T:6272 DEBUG: VideoInfoScanner: Skipping dir 'smb://PathTo/Moviefoldername/extrathumbs/' due to no change
11:59:47 T:6272 DEBUG: Mysql execute: insert into path (idPath, strPath, strContent, strScraper) values (NULL,'smb://PathTo/Moviefoldername/extrathumbs/','','')
11:59:47 T:6272 DEBUG: Mysql execute: update path set strHash=fast1313056452' where idPath=6825
After the scanner has finished his work <cleanonupdate>true</cleanonupdate> kicks in and delete all rows with the before added values for the extrathumbs folder from the db.
This happen each time i update my db.
When i set cleanonupdate to "false" all is fine and the hash for the extrathumbs stay inside the db and the scanner skip the folder at the next scan as there are no changes.
As i dont want to disable <cleanonupdate>true</cleanonupdate> i did an small workarround for the moment and added:
Quote: <excludefromscan>to my advancedsettings.xml.
<regexp>extrathumbs</regexp>
</excludefromscan>
The result is this:
Quote:12:58:44 T:7844 DEBUG: VideoInfoScanner: Skipping dir 'smb://PathTo/Moviefoldername/' due to no change
12:58:44 T:7844 DEBUG: CUtil::ExcludeFileOrFolder: File 'smb://PathTo/Moviefoldername/extrathumbs/' excluded. (Matches exclude rule RegExp:'extrathumbs')
But maybe some dev can check this or explane if there is some reason for this ?