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 24 25 26 27 28 29 30 31 32 33 34 35


- ppic - 2010-11-04 12:44

ok i'll try it tonight Wink


- ppic - 2010-11-04 22:29

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 12:33

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 22:15

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


- ppic - 2010-11-07 05:30

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 15:29

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


- MKay - 2010-11-15 16:39

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 16:58

ok, i'll try Wink


- Hjord - 2010-11-23 11:49

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 15:11

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