2011-10-14, 05:32
frolick Wrote:Thanks Mizaki, that did save me a lot of time. The controls are working now. When he refactored Player.GetActivePlayers, he decided to return an object inside of an array inside of an object which kind of threw me for a loop. The fix should be around line 337 if you want to see.This works for me so far. Great work.
I also caught a bug that was adding songs to the playlist in the wrong order when trying to play an album. I threw out that whole function and rewrote it to use the built in XBMC function to add an album instead of trying to add it song by song.
I'm testing on the nightly from the 9th on my windows computer so things should work as of that build.
lib.xbmc.js
http://pastebin.com/DUZVQRsi