NeoMPC 0.2 is now available for download. This is the first release of my MPD Client which is designed for a small screen device like a PDA or a mobile phone (although it’s taylored specifically for a screen 240 pixels wide, I might change it in the future to be a little more flexible).
Update: NeoMPC now has it’s own page.
You’ll need to be running Apache or Apache2 with PHP 4 (It’s developed on PHP 4.3.10 but 4+ should be fine) on your MPD server. Running it should be as simple as extracting it to the apache directory (or other web server accessible directory) and navigating to it with your browser.
Use this command to extract the archive.
# tar -xvjf neompc-0.2.tar.bz2

Hello,
your client seems to be working quite good, although I’ve changed something in the template. I’ve added metadata so that the character-set if UTF-8.
In templates/index.html under
But, I’ve come across a bug, directory names with an ‘&’ (ampersand) cannot be displayed (For example, ‘Simon & Garfunkel’).
I’ve uploaded a screenshot so you can see the behavior: http://members.home.nl/jjvdveen/dev/neompcerror.jpg
I’ve tried to fix this myself, but without success.
Nevertheless, I think this is a great MPC- client, even for normal desktops it is quite usable.
Hello,
I’ve took another look at it and I’ve found the problem: the ‘&’ wasn’t encoded to ‘%26’ in the url and this somehow produces an error. I’ve added a patch which nicely converts (using php’s urlencode()) all special characters found in directory and file names to their hexadecimal representation: http://members.home.nl/jjvdveen/dev/neompc.patch
Now I can browse files with ‘&’ in their names and add files with ‘&’ to the playlist.
Wow, I’m glad to hear somebody has actually found it useful! Didn’t get much of a response when I posted it in the MPD forums.
I haven’t been able to do much development on it lately as my MPD box is currently offline, but as soon as I get it up and running again I’ll do some more work on it.
Oh, and thanks for the bugfixes :)
The reason I found NeoMPC was because I needed a client for my parents’ PDA. NeoMPC seemed the only client suited for this purpose.
I know that the MPD forums aren’t quite active, but I think that MPD is used very much, because it’s target is to be run on computers used in stereo systems.
I’ve done some more work. I’ve added some more htmlentities() and urlencodes() to mpd.class.php and page.php, so every special character in directories, files and items (artist, title, albums, et cetera) has the correct entity and every link too.
Furthermore I’ve changed the ‘&’ in global.php to ‘&’ so that the links are valid xhtml 1.1.
I’ve also restyled the template, so that the output is much cleaner when viewed in a browser. The ‘(’ and ‘)’ for indicating an album are only displayed when an album is found, using a simple {if}- statement.
The last thing I’ve done is making a relative link to styles.css instead of simply including it in the page.
All this work makes the output of NeoMPC fully xhtml-1.1 compliant :).
The patch can be downloaded here: http://members.home.nl/jjvdveen/dev/neompc1.patch
Hi This is a great client, visually the best I’ve seen for my PPC. The only thing missing is volume control.
Glad you like it :)
There’s a bit of work left to do at the moment. As you rightly pointed out, it needs a volume control. I also want it to display album art as well, and I also want to look into implementing the buttons in AJAX or something (although I’m not sure mobile IE supports it) as the reload each time you press pause or next track or something is annoying.
hi, could you give the patch command for your patches? i use patch very seldom and always stumble over syntax and where to place the patchfile..
PAT
I don’t think AJAX will work on Mobile Internet Explorer, it doesn’t seem to have any support for JavaScript. I was looking for volume knobs, but none of the examples worked on Mobile IE.
phpMp2 also has a volume knob, implemented as an image generated by GDLib, which is clickable and like with that you can adjust the volume.
About the patch: I just found out that it didn’t work, so I made it again. I’m sorry for the inconvenience. You can apply it by placing neompc1.patch in the neompc- directory and then use ‘patch -p1
I think you’re right about AJAX on mobile IE, but there’s still hope in the PocketPC in the form of Minimo. Although the last time I tried it I wasn’t happy with the rendering.
When I get my MPD server back up and running I’ll have a play.
sorry, but the patcj isn’t working:
[root@orbit /srv/mp3/neompc ]# patch -p1
command:
patch -p1
sorry, somehow it’s not possible to post the output.. isn’t it time to make a forum for neompc? ;)
PAT
Done -> http://forum.pixelhum.com
Hello from germany,
you did a grat job. I hope that this project will not die in the near future ;-). by the way, a volume control would be nice.