Kodi Community Forum
[Web Interface Addon] AWX - Ajax based Web Interface Addon for XBMC - 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] 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


- ppic - 2010-11-04

ok i'll try it tonight Wink


- ppic - 2010-11-04

Code:
xbmc@media:~$ curl -u "xbmc:xbmc -i -X POST -d \'\{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.GetTVShows\", \"params\": \{ \"start\": 0, \"fields\": \[\"genre\", \"director\", \"plot\", \"title\", \"originaltitle\", \"runtime\", \"year\", \"rating\"\] \}, \"id\": 1\}" http://127.0.0.1:8080/jsonrpccurl -u "xbmc:xbmc -i -X POST -d \'\{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.GetTVShows\", \"params\": \{ \"start\": 0, \"fields\": \[\"genre\", \"director\", \"plot\", \"title\", \"originaltitle\", \"runtime\", \"year\", \"rating\"\] \}, \"id\": 1\}" http://127.0.0.1:8080/jsonrpc
xbmc@media:~$

xbmc@media:~$ curl -u "xbmc:xbmc -i -X POST -d \'\{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.GetTVShows\", \"params\": \{ \"start\": 0, \"fields\": \[\"genre\", \"director\", \"plot\", \"title\", \"originaltitle\", \"runtime\", \"year\", \"rating\"\] \}, \"id\": 1\}" http://127.0.0.1:8080/jsonrpccurl -u "xbmc:xbmc -i -X POST -d \'\{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.GetTVShows\", \"params\": \{ \"start\": 0, \"fields\": \[\"genre\", \"director\", \"plot\", \"title\", \"originaltitle\", \"runtime\", \"year\", \"rating\"\] \}, \"id\": 1\}" http://127.0.0.1:8080/jsonrpc > test.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
xbmc@media:~$

tried, no more result


- MKay - 2010-11-05

How long does the execution of the command take?
Try to add "--max-time <seconds>" to the command and check if it works (maybe 300 seconds = 5 minutes for testing Smile ).


- s1mp3 - 2010-11-06

Thank's for this! Smile Could you please add Genre in Music browser?


- ppic - 2010-11-07

MKay Wrote:How long does the execution of the command take?
Try to add "--max-time <seconds>" to the command and check if it works (maybe 300 seconds = 5 minutes for testing Smile ).

it's instantely ...Blush


- Hjord - 2010-11-13

This is great - it even work on my phone Big Grin


- MKay - 2010-11-15

s1mp3 Wrote:Thank's for this! Smile Could you please add Genre in Music browser?
I think genres will not be available via JSON-API before Eden: click me
But maybe i can use a work around. We will see Wink

ppic Wrote:it's instantely ...Blush
LoL, now i see that there is a ' missing after "username:password". So the correct command is:
Code:
curl -u 'username:password' -i -X POST -d '{"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": { "start": 0, "fields": ["genre", "director", "plot", "title", "originaltitle", "runtime", "year", "rating"] }, "id": 1}' http://your_xbmc_host/jsonrpc



- ppic - 2010-11-15

ok, i'll try Wink


- Hjord - 2010-11-23

I have 2 reqs.
Search in artist and songs(!).
Open, edit and save playlist thats on XBMC.

If you don't have a danish translator, i could give it a shot Smile


- Termo - 2010-11-25

Hi MKay

Just installed this web interface when it reached the official add on repository. I'm stunned how great it looks.

VERY GOOD WORK!!!

I as well can help in danish translations if needed Smile


- MKay - 2010-11-27

Hjord Wrote:I have 2 reqs.
Search in artist and songs(!).
Open, edit and save playlist thats on XBMC.
I noted it down. But i don't know if and when i will implement it. Especially for playlist i need to find out what is supported by the JSON-API. Moreover i currently have not much time to work on AWX Wink

@All who want to translate AWX:
First of all: THX for your efforts Big Grin
There are two files to translate:
1. webinterface.awx/js/lang/lang.en.js
Make a copy of this file (lang.yourlanguage.js) and edit the values (look at lang.de.js to see how it should look like).
2. webinterface.awx/addon.xml
This file contains a summary and a description for each language. You should edit this file too and create a new summary- and description-tag for the new language.
Then send me the files via PM. Smile

@Hjord and @Termo: Maybe you can work together on the danish translation and send me the result? Smile

AWX is now available via official Addon Repository!


- laukev7 - 2010-12-01

Hi,

Can this be installed on the Windows version of XBMC? I am running Dharma RC1, but can't seem to find any place where I can install from the zip file, nor can I find AWX in the repositories.

Nevertheless, I wrote a French translation, but unfortunately I can't seem to be able to send PM's, having just joined.


- alshain - 2010-12-01

laukev7: I can see it in the repository in "Web Interfaces"
I just installed it seconds ago.

@OP: Great work.
Bug: When clicking on "Seasons", it displays this [X] button, the tooltip says: "Press Ctrl-1" to close. In Firefox, <Ctrl>-<Number> switches to the tab with that number.
Why not use the accesskey attribute for that? Then you can also map things like so:
<Meta>-<1> -> Music
<Meta>-<2> -> Movies
<Meta>-<3> -> TV Shows

<Meta>-<C> -> Close Overlay

Another suggestion:
Make the index look less bleak. You could display new movies/tv shows/music or something, but just black is a little boring Tongue


- laukev7 - 2010-12-01

Alsain: Did you use SVN Repo Installer? If so, which repository did you use?

I looked in all the default repositories but couldn't find any 'network' folder anywhere. Am I missing something? Is there something I have to add?


- ppic - 2010-12-01

MKay Wrote:I think genres will not be available via JSON-API before Eden: click me
But maybe i can use a work around. We will see Wink


LoL, now i see that there is a ' missing after "username:password". So the correct command is:
Code:
curl -u 'username:password' -i -X POST -d '{"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": { "start": 0, "fields": ["genre", "director", "plot", "title", "originaltitle", "runtime", "year", "rating"] }, "id": 1}' http://your_xbmc_host/jsonrpc

sorry for late reply, works great with last version Wink