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 - bac522 - 2013-03-31

Cool, that would be great to have those back in...really helpful when watching shows with commercials!


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Locobax - 2013-04-02

So is the remote function jacked up for anyone else? Showing a translucent grey box? And also no now playing information? It's been messed up on my ubuntu server ever since the last update.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-02

Tried clearing the cache?


Failed to play - when trying to play files - ticketstub - 2013-04-06

On Windows 7 and Frodo 12.1.... AWXi isn't able to play items from "Files" -- but items from "Library" play ok. Anytime I try to play a file, I receive a red X and "Playing.." Trying to play a directory gives red X and "Playing...Failed to add items to the playlist!"

I've tried changing HTTP ports from 80 to 8080... to 8081. Have firewall off. Same behavior from localhost on host machine as from remote machines on network.

Code:
10:30:56 T:5704   DEBUG: webserver: request received for /jsonrpc?awx
10:30:56 T:5704   DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Files.GetDirectory", "params" : { "directory" : "D:\\DOWNLOADS\\1-New-Tunes\\", "media" : "music", "properties": [ "file" ], "sort": { "order": "ascending", "method": "file" } }, "id": 1}
10:30:56 T:5704   DEBUG: JSONRPC: Calling files.getdirectory
10:30:56 T:5704   DEBUG: CUtil::GetMatchingSource: no matching source found for [D:\DOWNLOADS\1-New-Tunes\]
10:3

Here is the log:


https://www.dropbox.com/s/tqt5jv2fh2egj56/xbmc.log


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-06

I'm guess it's a Windows slash thing from when I changed how files are played. I'll need to test it on Windows.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - ticketstub - 2013-04-08

Ok. Thanks for your help. Happy to test more for you on my Win 7 machine if you need more log info.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-10

@ticketstub should be fixed with https://github.com/frolick/AWX-Eden/commit/cc11a67a7747200ae88f13c5cdaf07f063d5fd0d if you want to give it a try.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - john.cord - 2013-04-12

There is a bug with the language files... if i want to change any options it gives me the message that i shoul select a language. But in the language filed no language can be selected... if i exit the reload fails with the message that no language file is selected.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - ticketstub - 2013-04-12

Mizaki - this fix worked! Thank you. Excellent work!


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-12

@John.cord probably a cookie problem. Delete them and start again, a cache clear might be required as well.

@ticketstub great, thanks for testing.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - john.cord - 2013-04-15

Tried everything. Cleard cache, deleted cookies. I tested it in ohter Browsers too (Chrome, IE10, Safari, Android Chrome). Everything is working as long as i go inteo the options and try to change something. The language field is empty and no language can be selected. If i try to safe some changes it gives me an pop up that no language is selected.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - ludespeedny - 2013-04-16

Is there a way to set the default options for the landing page when you first open? Example: I have people come over and use their laptop I want to have them hit the address of my pi and see the recently added movies list.
I know once you change it in your browser it will take effect, but just for that machine/browser.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-16

@John.cord just to check you are using the one from the Official Repo and not git? Is there any errors in the javascript console? Do you have the lang dir with (en etc.).json files in it?

@ludespeedny Not really. The default is TV so you could change the code to default to Movies. If there is a lot of people wanting it I could probably add the option to the settings.json.


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - ludespeedny - 2013-04-16

what would I need to change in the code to default to that view?


RE: [Web Interface Addon] AWXi - Ajax Based Web Interface - Mizaki - 2013-04-16

awx.js:
Code:
awxUI.settings.startPage = mkf.cookieSettings.get('startPage', 'recentTV');
[code]
to
[code]
awxUI.settings.startPage = mkf.cookieSettings.get('startPage', 'recentMovies');

That should do it.