Yeah, I reverse engineered how WiiMC interprets search responses. I've considered putting it on my project's wiki. It accepts text files, one result per line. It prints everything after the first "/", and if selected, it will submit the entire line in a GET request. It also accepts video files, which it plays after it buffers a certain amount. I've tested with the video/mp4 files that Youtube shares.
That is what I did, except instead of PHP I used Python, because I'm more familiar with it and just generally like it better.
I've decided to share my server with you guys. It's at
http://107.191.118.141/cgi-bin/youtube.py . I have a cheap plan, with 128MB, 12GB disk space, and 500GB bandwidth per month. I don't know how long the bandwidth will last, especially since whatever videos it uploads it has to download first, I assume I get dinged double for that. I set up a script to shut off my web server if it gets close to my limit.
So even without a web server, you guys can try out WiiMC + Youtube right now if you edit the Youtube lines of onlinemedia.xml files to read as follows:
<link name="YouTube" type="search" addr="
http://107.191.118.141/cgi-bin/youtube.py?watch=" />
<link name="YouTube - Search" type="search" addr="
http://107.191.118.141/cgi-bin/youtube.py?query=" />