XBMC Community Forum
[Web Interface Addon] AWX - Ajax based Web Interface Addon for XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Web Interfaces (/forumdisplay.php?fid=156)
+---- Thread: [Web Interface Addon] AWX - Ajax based Web Interface Addon for XBMC (/showthread.php?tid=81775)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


- philipacentaur - 2010-12-09 00:04

I can't get this to run on XBMC 10.0-rc2 SVN r35495M. I installed it through the Add-on manager without a problem, but when I navigate to http://<xbmc address>:8080 I still get the default web interface. Thinking it would help, I manually removed the default web interface (probably a bad idea?) and got nothing in my web browser after reinstalling AWX -- the XBMC log was complaining about the default web interface files not being there.

Anyway, it's not a big deal. I just wanted to check this out, and thought that maybe someone could point out something stupid that I was or wasn't doing.


- kaiser423 - 2010-12-09 02:43

philipacentaur Wrote:I can't get this to run on XBMC 10.0-rc2 SVN r35495M. I installed it through the Add-on manager without a problem, but when I navigate to http://<xbmc address>:8080 I still get the default web interface. Thinking it would help, I manually removed the default web interface (probably a bad idea?) and got nothing in my web browser after reinstalling AWX -- the XBMC log was complaining about the default web interface files not being there.

Anyway, it's not a big deal. I just wanted to check this out, and thought that maybe someone could point out something stupid that I was or wasn't doing.

You did go to Settings-<Network, and choose AWX as the web interface, and then back out of that menu, correct?


- philipacentaur - 2010-12-09 03:03

I -- did not. Oops! Thanks.


- trifle2 - 2010-12-09 04:40

Just wanted to say this is an amazing add-on thanks for all the hard work, its beautiful and easy to use. Smile


- Basemaster - 2010-12-09 16:29

Geiko Wrote:First off great interface, there is one small thing I just found probably an XBMC bug.

If the dimmed screensaver is activated when you start a movie from AWX the screen will continue to be dimmed during play.
Anything you can fix?

Using Dharma RC2 and AWX 0.3.2

same here! Great webinterface, but the first thing that I noticed after installing is that the screen remains dimmed.


Web Interface Addon AWX Ajax based Web Interface Addon for - skrayd - 2010-12-10 22:32

This feature requires no downloads. The Toolbox connects with OCZ and downloads the proper firmware for your drive configuration.

This feature only works when the drive is connected as a spare not running Windows/OS from the drive itself at this time.


- vaton4 - 2010-12-12 01:06

Congratulation, really great interface - user friendly, good looking, allmost perfectly working; much better than webinterface.default. Started testing it today, so just first impressions:

1 -- If I make browser window smaller, the player control panel conceals Setting and Exit buttons. May be the better place for these two buttons will be above logo picture - hidden logo is much more acceptable than hidden control buttons, eh?

2 -- If the directory containing audio-files (say mp3 or flac) is not open, I usually don't know what is inside before opening it. But if it is opened I can't start playing or enqueue all tracks at once. To do this, I have to either enqueue each track separately (don't like so much clicking Smile) or go back to parent directory, search again for the directory and then start playing or enque the whole directory. This is quite inconvenient so I suggest to add something like Play All and Enqueue All buttons to the directory list.

3 -- If I change to 'Playlist' mode while playing the whole directory (started in the 'Files' mode) I see just indexes followed by N/A - N/A. May be the file name as default will be better?


- MKay - 2010-12-13 14:24

Geiko Wrote:If the dimmed screensaver is activated when you start a movie from AWX the screen will continue to be dimmed during play.
Anything you can fix?
Hm, this seems to be a problem with the JSON-API. AWX does just sth. like "Playlist.Play()". There is no way to interact with the screensaver. I think this problem must also occurr with the default interface (can you test it?). Smile Then you should report the json-bug at xbmc's bugtracker.

NightStormWolf Wrote:And now... a feature request.
If it's possible, would you consider adding a remote control?
See: Android Remote Interface
As far as i know the required "SendKey"-method will not be implemented in Dharma. But "its on the roadmap". I could use the old HTTP-API which supports SendKeys (as far as i know) but i want a clear webinterface only based on the JSON-API. But when the feature is implemented in the JSON-API i will use it in AWX Nod

danielmpr Wrote:very cool, just needs some more stuff added to it, like mute, pause, etc!, more controls and menus
Mute is a good idea. Pause already exist Wink

vaton4 Wrote:Started testing it today, so just first impressions:

1 -- If I make browser window smaller, the player control panel conceals Setting and Exit buttons. May be the better place for these two buttons will be above logo picture - hidden logo is much more acceptable than hidden control buttons, eh?

2 -- If the directory containing audio-files (say mp3 or flac) is not open, I usually don't know what is inside before opening it. But if it is opened I can't start playing or enqueue all tracks at once. To do this, I have to either enqueue each track separately (don't like so much clicking Smile) or go back to parent directory, search again for the directory and then start playing or enque the whole directory. This is quite inconvenient so I suggest to add something like Play All and Enqueue All buttons to the directory list.

3 -- If I change to 'Playlist' mode while playing the whole directory (started in the 'Files' mode) I see just indexes followed by N/A - N/A. May be the file name as default will be better?
1 -- Hehe, then the window must very small Tongue Maybe you can try the light-ui (see settings dialog). Probably this ui will be the default ui some day. It looks much fresher Big Grin

2 -- Good idea. Accepted! Laugh

3 -- I totally agree!


- sho - 2010-12-14 15:57

MKay Wrote:As far as i know the required "SendKey"-method will not be implemented in Dharma. But "its on the roadmap". I could use the old HTTP-API which supports SendKeys (as far as i know) but i want a clear webinterface only based on the JSON-API. But when the feature is implemented in the JSON-API i will use it in AWX Nod
That is a pity. Considering that the default web interface only uses JSON-PRC and thus has all the same limitiations (granted even more), it would be nice to have an alternative that could do best of both worlds.

Would there be any way to convince you to fallback on the HTTPAPI where JSON fails and adapt as the JSON support matures? (Such as movie sets).

Otherwise we are looking at a while before we have a solid web interface for a stable release (Eden).


- vaton4 - 2010-12-15 13:38

MKay Wrote:.... Maybe you can try the light-ui (see settings dialog). Probably this ui will be the default ui some day. It looks much fresher Big Grin

Yes, tried it and like it, just BetterPrivacy deletes cookies so I have allways to switch interface manually. Is some "simple edit" way to do this change permanent?

Glad to be usefull for further AWX improvement!

====== EDIT ======
Found it myself. Here is HOW TO set the 'light' skin permanent. Really easy.

In the awx.js file, find the following IF statement (~ line 52):

Code:
if (ui == 'light') {
   uiScript = 'ui.light/ui.light.js';
} else {
   uiScript = 'ui.default/ui.default.js';
}
and delete (or just comment out) all lines except the second one:
Code:
uiScript = 'ui.light/ui.light.js';



- alshain - 2010-12-16 15:02

This is a very cool interface Smile

Can you include a parameter to change the base url? It would be great so I can dynamically adjust the URLs to make a reverse-proxy possible.
At the moment it fails to load the JS files, because the relative URL doesn't work, because it assumes a different base url.


- vaton4 - 2010-12-17 00:45

alshain Wrote:Can you include a parameter to change the base url? It would be great so I can dynamically adjust the URLs to make a reverse-proxy possible.
At the moment it fails to load the JS files, because the relative URL doesn't work, because it assumes a different base url.

Solved similar problem (I wanted to place awx in different directory). You need to change just two lines of the webinterface.awx/js/lib.xbmc.js file.

The first line (~ line 73) defines URL for JSON.RPC Ajax call:
Code:
url: './jsonrpc?awx',
The second one (~line 163) defines base URL for library access:
Code:
return './vfs/' + encodeURI(url);
I changed the first to:
Code:
url: window.location.protocol + '//' + window.location.host + '/jsonrpc?awx',
and the second to:
Code:
return window.location.protocol + '//' + window.location.host + '/vfs/' + encodeURI(url);
Now I can place awx anywhere in the xbmc directory tree and it works.
May be it will help you?


- BurningSky - 2010-12-17 01:00

I had the same problem. Thanks vaton!


- alshain - 2010-12-17 10:45

@vaton: Thanks - but these changes are gone when XBMC does an update Wink


- kees667 - 2010-12-19 17:03

Just installed Dharma 10.0 and this as a first addon. It works great but I have one question/issue.

When I select music - files I am only shown local sources. All music is stored on a Nas however. In XBMC I have added these sources, and even made them default, but how do I point AWX there?

Update: it appears they are there, but on my iPad the dropdown menu covers the two top sources, and it doesn't "spring" back.