WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)
Unfortunately,... - fetixx - 2007-12-25 22:56
Unfortunately I am a Java programmer and not so much CPP.
However if somebody could check this in into XBMC source tree that would be great.
In the meanwhile I have finished the first Beta of my Java app which works in Windows / Linux / Mac. It sits in the System tray and notifies the user when a new song is being played on the Xbox and features on the popup (inspired by the linux app Exaile):
- Detailed Song information (With Album Art / Track No / Title / Album / Duration)
- Progress Bar / Seeking
- Previous / Play, Pause / Next
And from the System tray menu:
- Volume Up
- Volume Down
- Reboot Xbox
- Shutdown Xbox
- Party Mode
- Fast Forward
if anyone is interested drop me a line.
- nad - 2007-12-26 19:35
Sounds a reasonable request. I should have time to do this tomorrow.
- nad - 2007-12-27 18:30
- TREX6662k5 - 2007-12-29 22:58
Previously when I used to play videos, getcurrentlyplaying would also display the path of the thumbnail, just like playing audio would. However recently (I don't know when exactly) the path to a video thumbnail is not displayed anymore.
Its only displayed if XBMC is in library mode and the file is in the database.
Is this a bug or was this intentional?
Randomize - KevMoore123 - 2007-12-31 19:39
Did you use the API to randomise songs, or did you write your own search algorithm?
- Nuka1195 - 2007-12-31 21:50
Not sure if this is a bug or a feature i'm not using correctly, but with "Make archives with one file transparent" enabled. passing a .rar file to getDirectory() fails with Error: not folder.
With the setting disabled, getDirectory() works fine with rar files.
It doesn't matter if the rar has more than one item or not.
- nad - 2008-01-02 13:06
Trex: I can't seem to replicate your problem; the path is included whether in library mode or not. When the path is not included for you is the filename still correct?
Nuka: I'll investigate.
- nad - 2008-01-02 14:13
Nuka: should now work as expected
- TREX6662k5 - 2008-01-02 17:12
Umm, I might just compile one fron svn now and see if it still occurs.
So I start playing a video on the xbox thats not in the libary, and i send a getcurrentlyplaying, I see the file and all its information is correct however there is no
Adding to the libary,
- Nuka1195 - 2008-01-02 18:01
nad, unfortunately it did not work. I'm not sure if it's httpapi only though.
I looked through displaydir() and noticed that you have "*" returns just folders.
for consitency, that should be "/", which is what other areas in xbmc uses.
also can you have it return folders along with files if there is a mask set? other areas in XBMC work this way and it's up to the scripter to filter them. If that would cause issues for web sites, perhaps another option to include folders when a mask is set.
This is not vital as a script can easily filter for file types and just not set a mask.
Maybe you can dig deeper outside httpapi and see where the rar issue is, i couldn't find it.