2011-09-25, 16:35
jasonvp Wrote:Just to add, "increment" and "decrement" work but I'm just wondering what the speed values i.e. 2, 4, 8, 16 are suppose to represent?
e.g. I would have thought that "speed":2 would mean twice as fast as "speed":1 i.e. a song that is 4 minutes long would take 2 minutes to fast forward to the end. It currently only takes 4 seconds at "speed":2 using "increment" sent once. Seems to fast to me.
Yeah it was a bug in my union type implementation. I fixed it and Player.SetSpeed should now also work with the numerical values (btw I also added -32 and 32).
You are right, setting the playback speed to 2 on a playing song plays it way faster than 2 times the original speed. But when I use the Fast Forward functionality from the music player OSD in XBMC itself that's the way it works there as well. So jsonrpc simply works the way it works when using the GUI functionality. But I agree that it's not very intuitive.