Re: Re: Any suggestions for implementing some kind of web interf
Home › Forums › General Discussion › Any suggestions for implementing some kind of web interface? › Re: Re: Any suggestions for implementing some kind of web interf
I think that any kind of controlling interface should control the WiiMC interface and not directly MPlayer, because if it controlled MPlayer directly, it would override any playlists and even certain options. The only result of controlling MPlayer directly is random crashes and MPlayer unexpectedly switch, for example, from a YouTube video to a music file “because someone on your LAN wanted to listen to a music file while you were vieweing YouTube” (that’s another thing that could be implemented in the future: permissions control and priorities from one user to another).
About the web server to use if the solution adopted is to use a complete HTTP server (and not just a port listener for a specific protocol), I fear there isn’t anything developed and stable well enough for the Wii. WiiWebServer is still in alpha stage and I don’t think it’s being actively developed, or that it’ll ever be again. And even if WiiWebServer is stable serving static HTML pages, then how would the static HTML files control WiiMC? And how would the page display, for example, the playlist (or at least the now playing information)? It would need, at least, CGI, but WiiWebServer has no CGI AFAIK. Plus, lets imagine all these problems were solved, but one thing remains: the Wii has low RAM, and a http+cgi server would take a great amount of RAM to function properly – and that amount varies, so it can’t be a static buffer allocated in RAM. Again, all I can imagine with an http server embedded in WiiMC is either a very small buffer for video and audio playback, or random lockups.
And I was just writing this when I remembered of other factor: the Wii’s wireless card is not the fatest and stablest of things, and serving rich HTML pages while, at the same time, downloading online media can draw both operations (download and upload) very slow. But that’s something a more experienced person can confirm.
In fact, this is a pretty ambitious thing for anyone: too much projects and no work (neither experience!). Plus, I can’t manage to compile WiiMC on Linux, and I just put my Windows install to work, doing a massive uninstallation of things, and I don’t want to lock up the Windows again by having to install Tortoise SVN, devkitpro, and another handful of things that will most likely put my Windows install slow and unusable again – for some reason I switched to Linux…
I also have few experience in C nor C++, since I switched to Linux (and left .NET on Windows) I haven’t really restarted to code anything. That, plus the fact of not managing to setup the build environment for WiiMC…
Cheers
Gabriel
