PapBek
Junior Member
Posts: 5
Joined: Jun 2012
Reputation: 0
|
Hi, I have set up a shared mysql database for my xbmc instances and, afaik, it is completely working. However, it is causing my xbmc to freeze for about 2-3 minutes right before it starts scanning for new content (each time, not just at startup). I will post the relevant part of my log file below:
Quote:06:09:57 T:2724 DEBUG: script.randomitems: script version 3.0.9 started
06:09:57 T:2724 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "playcount", "year", "plot", "runtime", "fanart", "thumbnail", "file", "trailer", "rating"] }, "id": 1}
06:09:57 T:2724 DEBUG: JSONRPC: Calling videolibrary.getmovies
06:09:58 T:2724 DEBUG: CVideoDatabase::RunQuery took 599 ms for 1038 items query: select * from movieview
06:10:03 T:4748 DEBUG: script.watchlist: script version 0.1.13 started
06:10:03 T:4748 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "resume", "genre", "studio", "tagline", "runtime", "fanart", "thumbnail", "file", "plot", "plotoutline", "year", "lastplayed", "rating"]}, "id": 1}
06:10:03 T:4748 DEBUG: JSONRPC: Calling videolibrary.getmovies
06:10:04 T:4748 DEBUG: CVideoDatabase::RunQuery took 767 ms for 1038 items query: select * from movieview
06:11:31 T:4196 NOTICE: Artwork Downloader: ## Service - Run at startup: False
06:11:31 T:4196 NOTICE: Artwork Downloader: ## Service - Delayed startup: -- minutes
06:11:31 T:4196 NOTICE: Artwork Downloader: ## Service - Run as service: False
06:11:31 T:4196 NOTICE: Artwork Downloader: ## Service - Time: 00:00
06:11:31 T:4196 INFO: Scriptresult: Success
06:11:31 T:4196 INFO: Python script stopped
06:11:31 T:4196 DEBUG: Thread XBPyThread 4196 terminating
06:11:31 T:2724 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": { "properties": ["title", "playcount", "season", "episode", "showtitle", "plot", "fanart", "thumbnail", "file", "rating"] }, "id": 1}
06:11:31 T:2724 DEBUG: JSONRPC: Calling videolibrary.getepisodes
06:11:38 T:2724 DEBUG: CVideoDatabase::RunQuery took 6513 ms for 13126 items query: select * from episodeview
06:12:40 T:4748 DEBUG: script.watchlist: movie list: 6 items
06:12:40 T:4748 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": {"properties": ["title", "playcount", "plot", "season", "episode", "showtitle", "thumbnail", "file", "lastplayed", "rating"], "sort": {"method": "episode"} }, "id": 1}
06:12:40 T:4748 DEBUG: JSONRPC: Calling videolibrary.getepisodes
06:12:46 T:4748 DEBUG: CVideoDatabase::RunQuery took 6197 ms for 13126 items query: select * from episodeview
06:13:31 T:592 NOTICE: CApplication::UpdateLibraries - Starting music library startup scan
06:13:31 T:592 DEBUG: ------ Window Init (DialogMusicScan.xml) ------
06:13:31 T:592 INFO: Loading skin file: DialogMusicScan.xml
06:13:31 T:3488 DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
06:13:31 T:592 INFO: Music scan has started... Enabling tag reading, and remote thumbs
06:13:31 T:3488 NOTICE: VideoInfoScanner: Starting scan ..
06:13:32 T:592 DEBUG: ADDON: Starting service addons.
06:13:32 T:2144 DEBUG: Thread MUSIC_INFO::CMusicInfoScanner start, auto delete: 0
06:13:32 T:592 INFO: initializing python engine.
06:13:32 T:592 DEBUG: new python thread created. id=5
06:13:32 T:592 NOTICE: initialize done
06:13:32 T:592 NOTICE: Running the application...
As you can see the delays happen after running CVideoDatabase::RunQuery at 06:10:04, 06:11:38, and 06:12:46. I was wondering if this has to do with the thumbnail issue that was mentioned a few pages back (although my thumbnails are still stored locally right now) or if there is a different problem to this. I hope someone can help me figure this out, because its driving me crazy!
Thanks in advance!
|