Have you looked at the GetCurrentlyPlaying entry in the online help?:
http://wiki.xbmc.org/?title=WebServerHTTP-API
If after reading the above it is still not clear (in fact if it is not clear let me know how I can make it clearer and I'll update the entry) try the following.
Enter
http://xbox/xbmcCmds/xbmcHttp?command=Ge...\thumb.jpg)
into your browser (change the xbox address if necessary) and you will see the (very simple) format that you need to parse (use view source).
Issuing the above command also creates the thumb.jpg file on your xbox. So now enter
http://xbox/thumb.jpg
into your browser and you will see the thumbnail of the currently playing media.
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-04-11 12:00
Post: #551
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-04-11 12:04
Post: #552
Niroth: I posted my reply before seeing your latest.
q: is a drive mapping that xbmc sets up which is independent of the actual folder xbmc is installed in. Therefore my examples should still work on your set up. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Niroth
Junior Member Posts: 8 Joined: Apr 2008 Reputation: 0 |
2008-04-11 12:08
Post: #553
Ok, I have read it all. I don't think its so much that it doesn't make sense as much as I just dont understand how to take all the commands and get the result I want. I have used the getplaying command and it does show what I want I just dont know how to display it.
Secondly, I have a host record the xbox to my xbox's IP, so thats no issue. I have punched in that command, as well as the ¶meter= version as well, and it has created the thumb, but the thumb is just an image of like a movie timeboard? Is that what its supposed to be? I have read that it is supposed to be a thumb od the currently playing (I have a movie on in theback ground) I just want to make sure that the responses that I am getting are correct. I don't know how to get all the results from the getcurrentlyplaying and then take only the filename for example and display that on the web interface. I do apologise if I am not explaining myself properly, or if u are getting frustrated. I appreciate the help, and I have a feeling that I am just || <this close. Jase |
| find quote |
TREX6662k5
Member+ Joined: Oct 2006 Reputation: 0 Location: London, United Kingdom |
2008-04-11 13:32
Post: #554
I take the getcurrentlyplaying response as one large string then split the data up at every <li> and ":" and reference the field to retreve the data.
A Lua example is getcurrentlyplaying.data["thumbnail"] = "q:\thumb" WYSIWYG |
| find quote |
Niroth
Junior Member Posts: 8 Joined: Apr 2008 Reputation: 0 |
2008-04-11 13:35
Post: #555
Trex,
This is EXACTLY what I want to do. Are you able to show me snippits of our code that retrieves the information, as well as an example of how to call on that information. I still dont get the thumb thing... all i see is speakers for the fact that its playing music, is it meant to show something else? If not, this little image is of no use to me, its the song name that I am after. Perhaps if its easier you can contact me on msn @ jasenolan@hotmail.com Thanks again guys, Jase TREX6662k5 Wrote:I take the getcurrentlyplaying response as one large string then split the data up at every <li> and ":" and reference the field to retreve the data. |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-04-11 18:50
Post: #556
The thumbnails you are getting are just the default ones for movie (timeboard image) and audio (speakers image) files. If the regular xbmc interface displays the images you want then the thumbnail being returned to your browser should also be correct. From your description it sounds as if you don't have the thumbnails set up.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Niroth
Junior Member Posts: 8 Joined: Apr 2008 Reputation: 0 |
2008-04-12 00:55
Post: #557
I would agree. Perhaps the thumbnails aren't setup. But it's not the images that I am wanting to get displayed, its the song titles. I want to do basicaly what Trex has done, take the 7 or 8 lines of results from the getcurrentlyplying command, and just display one element of it, ie. the song name.
|
| find quote |
KevMoore123
Junior Member Posts: 26 Joined: Dec 2007 Reputation: 0 Location: England |
2008-06-03 17:57
Post: #558
Hi Guys,
The source for my app (XBMC-M) is now availabe on sourceforge, https://sourceforge.net/project/showfile..._id=212319 For those guys who are interested. Please feel free to use/abuse it. If you want to be a contributor let me know and I will add you as a user on SVN for the sourceforge repository. Cheers Kev |
| find quote |
taoizt
Junior Member Posts: 26 Joined: Jul 2007 Reputation: 4 |
2008-06-04 10:25
Post: #559
I think there are great initiatives to build nice web clients for PocketPC's, but what about the normal PC's ? I have used the XBMC Control, and the Ajax Webinterface, but sadly, as promising as they are, both are far from finished and polished. Is there any application that I'm missing that is ready or almost ready and has a somewhat finished look?
|
| find quote |
jeepcook
Senior Member Posts: 183 Joined: Feb 2007 Reputation: 0 |
2008-06-17 16:16
Post: #560
NeoMorph Wrote:Nad, as I've said before... you rock! Gonna try out the GetMusicLabel command out in a bit but it sounds like it will let me know whether to enable the recording button correctly. Hello, Is there news about a version of this beautiful interface ? Thanks |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)
![[Image: ANNA-XBMC-v1.004-sm.png]](http://www.neomorph.net/promixis/ANNA-XBMC-v1.004-sm.png)
Search
Help