Clear questions and runnable code
get the best and fastest answer
Auto-DAC Automotive Media Playerby shotgunefx (Parson)
|on Nov 26, 2006 at 22:23 UTC||Need Help??|
I realize this is not typical CUFP, as there is no code yet, but thought some of you might find it interesting none the less.
It's the media player I've written for my Car PC. It's Perl obviously, using SDL and XMMS. It's skinable, using HTML and all buttons that can change are created using animated GIFs. Most buttons have context to keep the touchscreen interface simple and intuitive. For instance, the REW/FWD buttons do double duty. A short press advances, rewinds the playlist, but a long press let's you scan around the playlist.
The Play/Pause button actually performs Play/Pause/Stop/Queue depending on the context. It's much more intuitive than it sounds.
Why no code? Well it's been a very need-driven development. Lot's of lava flow. At some point in the next few months I'm going to try and refactor it into an application framework. How far I want to take it, I don't know. I really wish there were widgets in SDL. Once that happens, I'll be releasing at the very least, the modules if not the source for the player. As far as the scope of such a project, I don't know. I'd like some basic widgets, but a full blown windowing API is probably beyond my desire and time to develop and maintain.
Scaled down screenshot.
There are two vids so far, the touchscreen is moving so much because it's not mounted in the car. Rather sloppily onto a monitor stand for ease of development (ie: It's cold out). The broken hand isn't helping dev time :(
Videos Video 1
Video 2 (playlist que)
Anyway, comments, good or bad are welcome.
"To be civilized is to deny one's nature."