2014-06-23, 14:22
There is no official headless solution thus for standalone users or people using shared library (mysql) solution scanning for new items is slow.
Last night on my iPad I had to sit back and wait for over a minute just so I could see 1 new added episode in my library. I have the feeling there is room for improvement.
First of, why is there no clear indication of the actual progress of scanning for new movies/episodes? I see the progress bar bouncing back and forth several times.
Could someone layout the current procedure of identifying new files and querying the addons for information?
Ever thought of threading the scanner for new movies and shows seperately?
-------------------- Update ----------------------
Possible improvements that have been lined out in this thread so far:
Last night on my iPad I had to sit back and wait for over a minute just so I could see 1 new added episode in my library. I have the feeling there is room for improvement.
First of, why is there no clear indication of the actual progress of scanning for new movies/episodes? I see the progress bar bouncing back and forth several times.
Could someone layout the current procedure of identifying new files and querying the addons for information?
Ever thought of threading the scanner for new movies and shows seperately?
-------------------- Update ----------------------
Possible improvements that have been lined out in this thread so far:
- Scan directories and calculate hashes simultaneously for each library (movie,tv shows, ..)
- Send concurrent requests to metadata providers (define API limits for each service)
- Update UX for each new found item (after metadata was received)
(2014-06-23, 17:46)popcornmix Wrote: I remember when YAMJ added multithreading to scanning. It made it massively faster (like ten times faster).
They did hit the issue of hammering sites, and implemented per site limits (e.g. " 2 threads from TheTVDB.com, 2 from TheMovieDB.com, 5 from IMDB and 1 from google")
https://code.google.com/p/moviejukebox/w...iThreading
Obviously if you can overlap the movie, TV and music updates you get more benefit and spread the load across the sites.