2012-02-27, 12:16
For currently playing, you can ask for totaltime and time to get those informations.
[b]11:00:02 T:8908 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "params": {}, "id": "1"}[/b]
11:00:02 T:8908 DEBUG: JSONRPC: Calling videolibrary.scan
11:00:03 T:5012 DEBUG: ------ Window Init (DialogVideoScan.xml) ------
11:00:03 T:5012 INFO: Loading skin file: DialogVideoScan.xml
11:00:03 T:12232 DEBUG: Thread VIDEO::CVideoInfoScanner start, auto delete: 0
11:00:03 T:12232 NOTICE: VideoInfoScanner: Starting scan ..
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data-2tb/Videos/BluRays/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data-2tb/Videos/DVDs/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data-2tb/Videos/Movies/' due to no change
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data-2tb/Videos/Movies/Knight and Day/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data-2tb/Videos/Movies/The Other Guys/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data/compressed/Movies/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: Skipping dir 'smb://ONYX/Data/compressed/StreamingVideos/Movies/' due to no change (fasthash)
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/24/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/30.Days/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/30.Rock/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/Alcatraz/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/America/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/Arrested.Development/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/Battle.360/
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/Blue's.Clues/
[b]11:00:03 T:8908 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "params": {}, "id": "1"}
[/b]11:00:03 T:8908 DEBUG: JSONRPC: Calling videolibrary.scan
11:00:03 T:12232 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://ONYX/Data/compressed/StreamingVideos/TV Shows/Bones/
11:00:03 T:12232 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
11:00:03 T:12232 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
Montellese Wrote:This has already been reported before. This is how the builtin command works that XBMC provides in all it's APIs like the skinning engine etc. A "isscanning" property might be considered though. Not sure if there already is a ticket for it.
UpdateLibrary(database,[path])
Montellese Wrote:Currently not but I have already done the necessary coding for a GUI.SetFullscreen() method which will be available after Eden has been released.
{"params": ["library.isscanning"], "jsonrpc": "2.0", "method": "XBMC.GetInfoBooleans", "id": 1}
{"error":{"code":-32602,"data":{"method":"XBMC.GetInfoBooleans","stack":{"message":"Invalid type string received","name":"booleans","type":"array"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
{"params": { "booleans": ["library.isscanning"] }, "jsonrpc": "2.0", "method": "XBMC.GetInfoBooleans", "id": 1}
Montellese Wrote:It's very clearly written that the "params" object/array needs to contain an array of strings (named "booleans" in case you use parameters-by-name):Thanks Montellese. I should have expanded the JSON schema description where this is very clear. I didn't pay proper attention to the description of the interface changes.