2011-10-08, 10:59
Just notice how awesome web ui's were. Would it be possible to add some fanart in the background here etc? so much space going to waste hehe.
mullcom Wrote:dont work on Eden :U
newphreak Wrote:Just notice how awesome web ui's were. Would it be possible to add some fanart in the background here etc? so much space going to waste hehe.
frolick Wrote:Yeah, it looks like somebody decided to change the name of a parameter from "fields" to "properties" in the JSON-RPC calls on the 18th of September.
https://github.com/xbmc/xbmc/commit/481a...0ddd6b62eb
I'll make the changes when I get a chance, but if you want to get it working right now, my bet is that you can replace all the "fields" with "properties" (both with quotes) in lib.xbmc.js.
That is assuming that's the only change they made.
thevorticon Wrote:Looks like it's stopping at clearVideoPlaylist, but I haven't found any commits that might have changed the VideoPlaylist.Clear function.
I'm still looking into it, but any ideas?
Mizaki Wrote:I started doing the changes and got stuck with the player controls. Then haven't had time to go back to it. Playlist is all under just playlist now. I only use it for audio so I know the audio playlist.add and clear works. Hopefully save you some work.
lib.xbmc.js:
http://pastebin.com/DUZVQRsi
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
johnham Wrote:Great work guys! I am SERIOUSLY missing this web ui since moving to nightly builds.
What would it take to commit these fixes to the official AWX add-on in the repo?
'{"jsonrpc": "2.0", "method": "Application.SetVolume", "params": { "value": ' + settings.volume + '}, "id": 1}',
28:02
time = hours + ':' + mins + ':' + secs;