I've been having all sorts of weird problems with duplicate tv series and missing series so decided to remove the DB and start over. (Its a remote mysql DB)
I have dropped the DB and restarted Kodi. Gone back to the tv series/movies and resetup the content. When I do a scan for new content now its over in about 1 second with no series/movies being imported?
Any ideas why its not importing the series? Its not a permissions problem as I can browse to the series.
Code:
08:41:44 41961.906250 T:2896626752 NOTICE: Thread BackgroundLoader start, auto delete: false
08:41:44 41961.945312 T:2896626752 DEBUG: Thread BackgroundLoader 2896626752 terminating
08:41:44 41961.976562 T:3037822976 DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
08:41:45 41962.839844 T:2888238144 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "originaltitle", "playcount", "year", "genre", "studio", "country", "tagline", "plot", "runtime", "file", "plotoutline", "lastplayed", "trailer", "rating", "resume", "art", "streamdetails", "mpaa", "director"], "limits": {"end": 20}, "sort": {"order": "descending", "method": "lastplayed"}, "filter": {"field": "inprogress", "operator": "true", "value": ""}}}
08:41:45 41962.882812 T:2888238144 DEBUG: RunQuery took 2 ms for 0 items query: select * from movieview WHERE (movieview.idFile IN (SELECT DISTINCT idFile FROM bookmark WHERE type = 1))
08:41:45 41962.886719 T:2888238144 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": {"properties": ["title", "studio", "mpaa", "file", "art"], "sort": {"order": "descending", "method": "lastplayed"}, "filter": {"field": "inprogress", "operator": "true", "value": ""}, "limits": {"end": 20}}, "id": 1}
08:41:45 41962.906250 T:2905015360 NOTICE: service.libraryautoupdate-0.9.4 : update timers
08:41:45 41962.910156 T:2905015360 NOTICE: service.libraryautoupdate-0.9.4 : Creating timer for Video Library
08:41:45 41962.949219 T:3037822976 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
08:41:45 41962.964844 T:2888238144 DEBUG: RunQuery took 4 ms for 0 items query: SELECT * FROM tvshowview WHERE ( ((tvshowview.watchedcount > 0 AND tvshowview.watchedcount < tvshowview.totalCount) OR (tvshowview.watchedcount = 0 AND EXISTS (SELECT 1 FROM episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0))))
08:41:45 41962.972656 T:2888238144 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "originaltitle", "playcount", "year", "genre", "studio", "country", "tagline", "plot", "runtime", "file", "plotoutline", "lastplayed", "trailer", "rating", "resume", "art", "streamdetails", "mpaa", "director"], "limits": {"end": 20}, "sort": {"order": "descending", "method": "dateadded"}, "filter": {"field": "playcount", "operator": "is", "value": "0"}}}
08:41:45 41962.984375 T:3037822976 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-arm.so)
08:41:45 41962.988281 T:3037822976 DEBUG: Loading: /home/pi/.upgrade/kodi-14-20141106-nc4/xbmc-bcm/xbmc-bin/lib/kodi/system/ImageLib-arm.so
08:41:45 41963.046875 T:2888238144 DEBUG: RunQuery took 2 ms for 0 items query: select * from movieview WHERE ((movieview.playCount IS NULL OR movieview.playCount = 0))
08:41:45 41963.058594 T:2888238144 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetEpisodes", "params": { "properties": ["title", "playcount", "season", "episode", "showtitle", "plot", "file", "rating", "resume", "tvshowid", "art", "streamdetails", "firstaired", "runtime"], "limits": {"end": 20}, "sort": {"order": "descending", "method": "dateadded"}, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
08:41:45 41963.105469 T:2888238144 DEBUG: RunQuery took 3 ms for 0 items query: select * from episodeview WHERE ((episodeview.playCount IS NULL OR episodeview.playCount < 1))
08:41:45 41963.109375 T:2888238144 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "genre", "runtime", "fanart", "thumbnail", "file", "streamdetails", "resume"], "limits": {"end": 20}, "sort": {"order": "descending", "method": "dateadded"}}}
08:41:45 41963.148438 T:2888238144 DEBUG: RunQuery took 3 ms for 0 items query: select * from musicvideoview
08:41:50 41967.492188 T:3037822976 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
Here is the full debug log.
Update: Some progress - gone back to build 20141019 and now its importing fine.