2012-12-09, 19:13
(2012-12-09, 18:24)KRavEN Wrote: So what are the config file requirements to get the library scan working?
I took the plunge and built per instructions for the main xbmc git branch. Put everything required in /opt/xbmc-server. Added the init.d script to start xbmb-server. System is ubuntu i386 12.10 minimal in a virtual machine.
xbmc-bin starts with only the xrandr error. Stops and starts properly from init.
Code:sudo ./xbmc-server --no-test --nolirc -p
sh: 1: /opt/xbmc-server/xbmc-xrandr: not found
XBMC Media Center 12.0-BETA3 Git:20121208-f5f3472
Copyright (C) 2005-2011 Team XBMC - http://www.xbmc.org
Starting XBMC Server
I copied over mediasources.xml over from my main xbmc frodo machine and modified the paths to point to local fstab cifs mounts. I enabled the web server in guisettings.xml. Modified advancedsettings.xml to point to a fresh mysql install and set backgroundupdate true for video library.
I see the web gui when I got to the url in my browser so thats working.
I look at my fresh mysql server and the MyMusic32 and MyVideos75 databases have been created.
Then I tail the xbmc.log file and issue the library update with curl:
Code:curl -s -d '{"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":1}' -H 'content-type: application/json;' http://127.0.0.1:8585/jsonrpc?VideoLibrary.Scan
Log output:
Code:09:34:43 T:2935987008 NOTICE: Thread Jobworker start, auto delete: true
09:34:43 T:3019732736 DEBUG: CLibrefmScrobbler: Clearing session.
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-http type: _xbmc-jsonrpc-h._tcp name:XBMC (whsbuntu) port:8585
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-tpc type: _xbmc-jsonrpc._tcp name:XBMC (whsbuntu) port:9090
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.webserver type: _http._tcp name:XBMC (whsbuntu) port:8585
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.eventserver type: _xbmc-events._udp name:XBMC (whsbuntu) port:9777
09:34:43 T:2935987008 DEBUG: CZeroconfAvahi::doPublishService: client not running, queued for publishing
09:35:13 T:2935987008 DEBUG: Thread Jobworker 2935987008 terminating (autodelete)
09:35:52 T:2977950528 DEBUG: webserver: request received for /jsonrpc?VideoLibrary.Scan
09:35:52 T:2977950528 DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":1}
09:35:52 T:2977950528 DEBUG: JSONRPC: Calling videolibrary.scan
09:35:52 T:2935987008 NOTICE: Thread CVideoInfoScanner start, auto delete: false
09:35:52 T:2935987008 NOTICE: VideoInfoScanner: Starting scan ..
09:35:52 T:2935987008 DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
09:35:52 T:2935987008 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
09:35:52 T:2935987008 DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
09:35:52 T:2935987008 DEBUG: Thread CVideoInfoScanner 2935987008 terminating
Looks like it starts and stops immediately. Either I missed a config step or something didn't build right.
Have you set the content for each of your sources?