Posts: 815
Joined: Nov 2008
Reputation:
9
Is there any notification/announcement or other way to tell when a VideoLibrary.Scan has finished. That is, when XBMC has finished scanning and updating the Video Library?
Thanks,
bradvido
Posts: 566
Joined: Nov 2010
Reputation:
30
Is there any way to force the retrieval of video metadata if XBMC hasn't gotten it already? I really need to figure out the duration of video files that are in the user's library but no metadata is there yet.
Posts: 3,077
Joined: Jun 2009
For what i know xbmc will add the metadata when you do a library scan.
But if the NFO does contain data this data will be used
even is the data is empty.
The solution i choose is Ember with automated scan of only metadata and disable all data plugins. So it's only update the nfo with up2date metadata. Not perfect but quick and easy solution
Posts: 58
Joined: Dec 2010
Reputation:
0
2012-01-02, 06:39
(This post was last modified: 2012-01-02, 06:50 by wuench.)
I am trying to use Player.SetSpeed. When passing a zero or negative value I am getting back the error, positive values work.
If I don't quote the values I get:
{"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":-1},"id":0}
{"error":{"code":-32602,"data":{"method":"Player.SetSpeed","stack":{"message":"Received value does not match any of the union type definitions","name":"speed","type":["string","integer"]}},"message":"Invalid params."},"id":0,"jsonrpc":"2.0"}
If I quote the values I get:
{"jsonrpc":"2.0","method":"Player.SetSpeed","params":{"playerid":1,"speed":"-4"},"id":0}
{"error":{"code":-32602,"data":{"method":"Player.SetSpeed","stack":{"message":"Received value does not match any of the defined enum values","name":"speed","type":["string","integer"]}},"message":"Invalid params."},"id":0,"jsonrpc":"2.0"}
Running Eden Beta 1.
Am I constructing the command correctly?
Posts: 58
Joined: Dec 2010
Reputation:
0
Thanks. FYI, I also posted a bug about the navigation commands not playing the action sounds that got fixed 2 hours after posting. Awesome!