Kodi Community Forum

Full Version: Possible to only scan for tv-shows on startup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to have the automatic scan on startup to only scan for tv-shows?

I have quite a lot of movies in my library(added from a samba share) so it takes a very long time to scan through them each time. So I rather scan them manually when I know movies have been added.
But tv-shows on the other hand are added more frequently, hence I would like to scan for new ones on startup.

Thanks!
Sorry to bumb this Blush

Anybody know? Not possible?
If the movies are already in the library, then it shouldn't take too long to run through them I should think during an update library. Post a Debug Log of you doing it.
Thanks for your answer! Smile

I guess a "long time" is relative, I mean a few of minutes even if no movies are added. Maybe it´s because I have "use folder names as lookup" checked?

Anyway here´s the log: http://pastebin.com/m5c857ef0

From what I can see, I seem to get a lot of "DoScan Rescanning dir 'smb://blabla' due to change", although I´m sure nothing have changed, wierd.
The double scan was fixed in SVN revision 15959 and 15989. Without hitting every path twice, the startup scan should not take minutes.
To benefit from the latest changes you will either have to compile your own builds (see README.linux) or wait for the next binary release.
Aha ok, thanks a lot! That´s good to know. I´ll wait for the next binary release then and have another go. Smile
Sorry for bringing this up again Blush

I have now updated from 'beta2' to 'final' using the ppa. So I tried this out again, but to me it seems like it takes about the same time as before to do the scan.

Log: http://pastebin.ca/1256438
Please use another pastebin service .. for some reason i am unable to open the .ca ones :/
Ok, sorry. Try this one: http://nopaste.biz/55967 (Have cut out a bunch of repetative stuff in middle)

Thanks!
Added some additional Debug messages?
If I have added anything? Nope!

You mean like it writes a debug-line for each and every rar-file or something like that?
I have now done some more (amateur)research and managed to cut the time it takes to update the library in half.

A combination of NOT having this checked:
Settings -> Apperance -> View Options -> Make archives with one file transparent

And having edited the Advancedsttings.xml with the following:
<videolibrary>
<cleanonupdate>false</cleanonupdate>
</videolibrary>

Results in this log: http://oos.moxiecode.com/temp/xbmc/klas-xbmc_a.txt (220kb)
Takes around 17-18 seconds to do the scan.

---

Now having this checked:
Settings -> Apperance -> View Options -> Make archives with one file transparent

Nothing added to Advancedsttings.xml.

Results in this log: http://oos.moxiecode.com/temp/xbmc/klas-xbmc_b.txt (3.1mb)
Takes around 33 seconds to do the exact same scan.

Hope it helps! Smile