The dmg is a nice, if I can bring the file size back down I’ll stick with it.
Think you’re right, it does look a little further apart than the others, I’ll experiment a bit with that.
Those are python scripts that I guess are xmbc specific. One should return the system info (build numbers etc) and the other looks like it returns currently playing info. I should just repurpose it to send the ‘i’ (info) key as I really know know nothing about python scripting. That said if I can figure it out it’ll be worth keeping, though it looks like you can do something similar with the http api.
Starting to get a bit out of my depth with that stuff but I can still have some fun with the interface and ye I hope it makes it through but if not I’m enjoying doing it.
It's coming a long nicely. good job.
I think we’re good making progress, but I do have one concern and thats the large 1000 × 580 images used as backgrounds. That said I’m attempting to rewrite the site layout so it uses div’s with small background images to produce the same effect. At the same time, I’d like to allow alternate css’s for use with the iphone or other future site skins/themes. I don’t have a whole lot of experience in this area, so I’m open to input.
I don’t have much so far, but here’s a sneak preview (mostly a mash up from furby’s design and plexapp.com). The controls aren’t were I want them yet, they are just floating for now, I’ve been working on the header/banner links up until now and I am just starting to play with the divs for the left and right (the black bar) content.

That’s really nice, I’ll be looking out to see how it comes along. Yes, agree totally about the large use of images, it’s not the way I would have coded it and am currently fixing that.
In the meantime I’ve added the skin switching though, which works nicely. I’d post it but all it does is change a few colours at the moment, not exactly mind blowing.
What I am trying to do it get a Now/Currently Playing screen up. It’s http://127.0.0.1:3000/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying this page. I’ve not figured out how to get it to display nice inside the browser and also how do I convert these .tbn files into jpegs so they display?
I'm not sure we'll be able to get away with just alternate styles for different skins/themes as the structure could be completely different depending on your target...ie programming for the iphone vs the desktop. I know you're concentrating on iphone usage (at least I think that was said previously), so what I did was add javascript which checks the useragent (couldn't figure out how to get the useragent using whatever vb nonsense the goahead webserver supports) and if it detects the iphone/safari browser it forwards to a /iphone/ directory where I currently have your work. Not sure if thats the way we should go in the end, but it seems to work for now.
Speaking of javascript, I've introduced jquery, since well, I like it :D and while I have almost nothing thus far, just the beginnings of a Plex prototype object (currently how I'm setting the text orange for the active section). If I can get this look/css sorted out, I fully intend to introduce ajax requests to pull all of this stuff and make better use of the api.
First ajax project will be to make the volume control an actual slider...
Where are you finding the tbn files you are trying to convert?
I guess I'm being a bit lazy and seeing if I can get away with just hiding elements in the other styles, I'll see how that goes. Didn't think about getting it to autodetect but that sounds cool, keep going with that. That sounds much better to fit different devices. Ye, the slider isn't exactly smooth with just css.
I started of doing this so I could control plex from my iPhone but it's proving a bit more a challenge with the limited space. I probably need to sit down and make a proper design. I'll fix this large backround images today and maybe focus on that.
Those tbn files are in
/Users/furby/Library/Application Support/Plex/userdata/Thumbnails/PlexMediaServer
Just renaming them .jpeg let’s you view them
Ah yes, they talk about tbn files here http://wiki.xbmc.org/index.php?title=Videos#Thumbnails looks like they can either, jpg or png files.
I thought I’d share what I have up to this point, its definately not 100%, there are plenty of issues yet to be fixed, the css is a disaster and I still have no idea what most of that vb crude is doing in default.asp. But it should hopefully give you an idea of where I’m headed.
I’ve managed to convert the playback controls and the volume slider into jquery-ui widgets, making background ajax requests to the xbmc api. There is still some tweaking to do yet to get them to work the way I think they should, but its a start.
@furby
I was also looking at a more traditional iphone layout, as I was interested to see how the controls worked on the iphone. Not sure if thats something you’ve already looked into, but I snagged the layout and dropped it into /iphone. The controls I was testing are under ‘Remote’ at the top if you want to play around, there is a lot of interesting bits and examples there that we can probably make us of.
No fancy dmg from me
web.zip (909 KB)
Looks really great, topic bookmarked 
No dmg? Noob :P
I was just making a scaled down basic version for the iPhone but it seems stupid not to take advantage of some of the stuff it can do. I shall get on this!
I'll take a look at your version when I get home and I promise, promise to tidy up the css
I’m glad this is being well received
I’ve done some more work on the basic site layout and believe I have everything where I want it. I’m open to criticism or suggestions. I’ve done a preliminary css clean up (plenty more to come), added some more buttons backed with ajax requests via the api. Most are working at this point, but there are still a few that require more research to get the appropriate api calls.
@furby, I tossed the new controls into the Remote section under /iphone. I’m also thinking that detecting the iphone user-agent via vb or another method would be more ideal than the current javascript method, as it wouldn’t require a full page load before executing. I’ll have to do some more digging to see how we can do this, but if its possible it should speed things up dramatically. I’m also thinking it might benefit us to share a dropbox folder or something to save on forum uploads, thoughts? If you don’t have a dropbox account PM me, and I will send you an invite.
At this point there is still lots to do, but I think I’m going to start concentrating on the existing vb code to see if I can clean it up and possibly make as much of it as I can, be rendered via ajax requests instead of full page loads.
Warning noob attachment
latest version: web.zip (909 KB)

Hi all, here is the newest version - with all the ajax magic happening on the backend. I’ve cleaned up the css more, put the asp code into its own file, and removed a whole pile of unused images.
At this point I’d say its 80%-85% there, with the following kept in mind.
[list]
[]adding music to the queue, causes plex to crash. This is still using the legacy asp code, so I’m looking into rewriting it with ajax/api calls instead.
[]editing the configuration doesn’t work. I haven’t ajax’ed the forms yet.
[]clean library - untested, I found an api call for it, but I haven’t tested it yet.
[/list]
Things I still want to add:
[list]
[]mute button
[*]volume level amount
[/list]
Let me know what you think.
PlexWeb.zip (331 KB)
great improvements once more!
just to let you know that the clean library command is not working.
can you also add the possibility to clear the video playlist?
I've read some back and forths on the clean library api call, but I figured it couldn't hurt to toss it in there to see if it worked or not. guess not, damn...I'll remove it :P
Good spot with the missing ability to clear the video playlist (you can do it, just one file at a time). I will add that to my list of todo's. The goal of this release was to essentially rewrite and replicate the current functionality, in a better way.
I’m hitting a wall with the xbmc api and wondering if anyone might have some insight. First let me describe my setup, I have a mac mini (leopard) with plex (latest) and itunes, but I’m developing on my macbook (snow leopard) that also has a local plex (latest) instance, test itunes (latest) library (only one album).
I’m attempting to rewrite the music section and so far I’m able to retrieve available sources, list different sections and play songs, but this only works if the mac mini is running. Nothing is returned if I attempt this with only the plex instance running on my macbook.
The api call I make is to /xbmcCmds/xbmcHttp?command=Getmedialocation(music), I get a 200 OK, and receive
<html></html>
Both plex instances have the media server running, and I've tried disabling the firewall in a last ditch effort, but I'm stuck.
Below is the debug output from a web reload, where I call a few api calls, getvolume, getcurrentlyplaying and then the failing getmedialocation.
21:02:37 T:2958241792 M:231129088 DEBUG: webs: accept request
21:02:37 T:2693407968 M:231129088 DEBUG: HttpApi Start command: GetVolume paras: GetVolume
21:02:37 T:2958241792 M:231063552 DEBUG: webs: accept request
21:02:37 T:2693407968 M:231063552 DEBUG: HttpApi Start command: getcurrentlyplaying paras: getcurrentlyplaying
21:02:37 T:2958241792 M:231034880 DEBUG: webs: accept request
21:02:37 T:2958241792 M:231034880 DEBUG: webs: accept request
21:02:42 T:2693407968 M:231424000 DEBUG: SECTION:UnloadDelayed(DLL: Q:\system\ImageLib-osx.so)
21:02:42 T:2693407968 M:231424000 DEBUG: Unloading: ImageLib-osx.so
21:02:47 T:2958241792 M:227209216 DEBUG: webs: accept request
21:02:48 T:2958241792 M:227196928 DEBUG: webs: accept request
21:02:48 T:2693407968 M:227192832 DEBUG: HttpApi Start command: Getmedialocation paras: Getmedialocation; music
21:03:14 T:2960973824 M:234434560 NOTICE: ES: Client from 127.0.0.1 timed out
21:03:14 T:2958241792 M:234414080 DEBUG: webs: accept request
21:03:14 T:2693407968 M:234414080 DEBUG: HttpApi Start command: Getmedialocation paras: Getmedialocation; music
If I navigate to the music section in plex and retry fetching the media location it works...
21:04:41 T:2958241792 M:225878016 DEBUG: webs: accept request
21:04:41 T:2693407968 M:225878016 DEBUG: HttpApi Start command: Getmedialocation paras: Getmedialocation; music
21:04:41 T:2958241792 M:225873920 DEBUG: webs: accept request
So I'm assuming its this "ES: Client from 127.0.0.1 timed out" entry that may be the cause but I'm not sure. Any ideas would be appreciated.
<html><br />
<li>iTunes;plex://localhost/music/iTunes/;1<br />
</html>
Further findings on this, neither plex instance will see its own iTunes music location, I enabled debug logging and see the following lines when starting up Plex.
MacMini Plex instance:
18:59:53 T:2957926400 M:1402621952 INFO: Ignoring local server: miniTV.local.
MacBook Plex instance:
18:48:52 T:2957709312 M:167993344 INFO: Ignoring local server: MacBook.local.
So they can only see and serve each others, which is why the api call has only ever worked from my macbook when I woke my mini. As far as I’ve been able to find this comes from PlexSourceScanner.cpp and seems to weed out local sources by design, but thats as far as my troubleshooting can take me.
<br />
else if (Cocoa_IsHostLocal(m_host) == false)<br />
{<br />
- snip -<br />
}<br />
else<br />
{<br />
CLog::Log(LOGINFO, "Ignoring local server: %s
", m_host.c_str());<br />
}<br />
What really gets me is the original asp code will show the iTunes source without issue, so something is happening in the background internally with the xbmcCommand() that is beyond a simple api call, what that is and where the code is I'd like to know... <_<
Bump - Such a great idea and project, I know especially with iPads and iPod touches being used as remotes, this could become particularly handy.
If there is a way to make the interface iPad friendly (especially the up/down scrolling), I will owe you a beer (perhaps a keg!).
Anyway, great project, I’m loving that I don’t have to see XBMC anymore on the web server =)
Cheers!
Been, really busy and not had anytime to devote to this :( Have starting learning php so that might be useful, I did have an iPhone version just about working (despite the horrendous coding) so this isn't dead, just a hiatus, will see if there's something to make it iPad friendly. No promises for that though
Furby thank you for your hard work and efforts for this web server skin and looking forward to the iPad version although no promis made 