Kodi Community Forum

Full Version: XBMC rescanning movies on every refresh
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I recently re-did a lot of my metadata, filling in a lot of gaps.

Ever since then, every time XBMC does a refresh (happens automatically when new episodes or movies are added) it keeps rescanning my movie folders.

Looking at the log, for some reason it appears to be scanning all my movies (only movies) twice, and keeps detecting changes when I know there hasn't been any...

Code:
23:42:13 T:5676 M:1276366848   DEBUG: VideoInfoScanner: Rescanning dir 'D:\Movies\Jumper [2008]\' due to change (DEF4E14317BBAAA9188C346CC15B3408 != 9F97AA70CFD259C81A718BFB3EDB31D5)
23:42:13 T:5676 M:1276375040   DEBUG: CUtil::ExcludeFileOrFolder: File 'D:\Movies\Jumper [2008]\Jumper [2008]-trailer.mov' excluded. (Matches exclude rule RegExp:'-trailer')
23:42:13 T:5676 M:1276375040   DEBUG: CVideoDatabase::GetMovieId (D:\Movies\Jumper [2008]\Jumper [2008].avi), query = select idMovie from movie where idFile=2549
23:42:13 T:5676 M:1276407808   DEBUG: VideoInfoScanner: Finished adding information from dir D:\Movies\Jumper [2008]\

Code:
23:42:34 T:5676 M:1258909696   DEBUG: VideoInfoScanner: Rescanning dir 'd:\Movies\Jumper [2008]\' due to change (9F97AA70CFD259C81A718BFB3EDB31D5 != DEF4E14317BBAAA9188C346CC15B3408)
23:42:34 T:5676 M:1258917888   DEBUG: CUtil::ExcludeFileOrFolder: File 'd:\Movies\Jumper [2008]\Jumper [2008]-trailer.mov' excluded. (Matches exclude rule RegExp:'-trailer')
23:42:34 T:5676 M:1258926080   DEBUG: CVideoDatabase::GetMovieId (d:\Movies\Jumper [2008]\Jumper [2008].avi), query = select idMovie from movie where idFile=2549
23:42:34 T:5676 M:1258901504   DEBUG: VideoInfoScanner: Finished adding information from dir d:\Movies\Jumper [2008]\

Notice the different time stamps. Notice also that the hashes keep switching. On the first scan x != y but on the second scan y != x.

I have all my metadata stored locally with my files.

Any ideas?? Thanks
Bump - Please I really need some help with this? I can't see anything in the log files to give me a clue.

Help greatly appreciated.
I don't have an answer for you but why in clip 1 the path is D:\Movies and clip 2 says d:\Movies? The trigger for whether to rescan is a change is the hashed path value so if there's two paths it might be comparing 2 different hashes.
i have the same problem too

i am on atv2. every time i boot up xbmc, it will scan my movie and it takes a long while to finish even though i have no new movies
Hello. This is happening so I thought I will paste the log file in case someone can help Smile

My situation is as follow
(1) No new movies/TV shows/music has been loaded for this run. All new stuff has been loaded the previous run and then ATV shut down.
(2) Cleaned up library for music and video. For music library, the data has also been exported to separate NFO files
(3) ATV connected via NFS and through a wired network to a Synology NAS where all the files are located. No wireless.

What I noticed
(1) Upon booting up, XBMC was scanning for movies and adding music at the same time. The scanning for movies finished in less than 1 min.
Image

(2) Not sure why it is trying to add new information for music that were already there for a while. Happens every time. Thankfully this took about a minute or less
Image

(3) After (1) is completed, XBMC was scanning for new TV shows. But this quickly completed in less than 1 min

Image

(4) Then XBMC started to be scanning for movies again. It stated "scanning for new contents" and this took up to 5 minutes or so. All this time, the screen is saying "Downloading movie information. Scanning for new contents"

Image


My log file:
http://pastebin.com/c7ebiDFe

Hope for some advice.