Kodi Community Forum
[Web Interface Addon] AWXi - Ajax Based Web Interface - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Web Interfaces (https://forum.kodi.tv/forumdisplay.php?fid=156)
+---- Thread: [Web Interface Addon] AWXi - Ajax Based Web Interface (/showthread.php?tid=112956)



RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-15

Rewrote the move to local storage. Please try it from github (https://github.com/mizaki/awxi) and report back. Remember to remove your cookies!


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-15

I personally use this daily.. but just of late.. if you install Kodi it works for a bit. then completly stops on all devices and all web browser I've tested on.. which is quite a few... IT would be great if there was a proper fix for this Big Grin


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-15

I've just downloaded the latest build from Github and installed it into Kodi and reset all my browser cookies and settings and retried awxi. I'm getting the same result. No volume, no movie progress bar, no time's down the bottom left and no cover photo on the bottom right.

I have attached a copy of aa screen shot with awxi playing 12 Monkeys and nothing seems to be working correctly Sad

Image


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-15

Have you tried it in another browser? What does it say in the console (press F12 and reload)? Is there a debug log?


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-15

I've tried it in multiple browsers.. this is what I get in the debug logs:

Image


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-15

And this might be helpfull too:

More detailed errors


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-15

It can't connect to the websocket. Have you got "allow other systems to control..." switch on in Kodi settings?

I think I put some fallback in the last update which has now been lost.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-15

Yes... something like Yatse on the Android device can connect and manipulate Kodi with no problems at all.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-15

I have no idea if Yaste uses websockets. It doesn't mean anything that it works. Unless you have a firewall blocking it the only reasonable reason that websockets can't connect is because "Allow programs on other systems to control Kodi" isn't turned on.

I'll see about re-adding the websocket fallback.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-15

I've updated git with better websocket close handling. Try it out.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-16

I just tried to do it again.. It errored again and threw these up in chrome:

Image


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-16

Yes, then it should work. It does for me.

You do not have "allow other systems" on or you have some other problem (firewall) preventing it from connecting to the websocket. I've made it louder on what it's trying. After the websocket is closed 3 times it will switch to polling (asking for information every 20 secs), instead of using notifications from websocket.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - phoniclynx - 2015-03-16

What port would you need to check for to open up the firewall?


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2015-03-16

9090 so it connects to ws://<your kodi server>:9090/jsonrpc?awxi

Line 3311 onwards in lib.xbmc.js


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - blueeyiz702 - 2015-03-17

Works great on Google Canary, same as chrome but just gets updated a lot more of than normal chrome does!