View Single Post
Old 02-03-2011, 03:52 PM   #1
Smarter
Member
Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.Smarter can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Smarter's Avatar
 
Posts: 16
Karma: 30730
Join Date: Feb 2011
Device: Kindle 3 with 3G, UK version
Post MPlayer for Kindle 0.2.0: AAC/FLAC/MP3/OGG/... local and streaming, + Shuffle mode !

MPlayer for Kindle 0.2.0
Quote:
Changelog:
0.2.0:
* Added a "shuffle" mode to play music in a random order, default shorcut: "M R"
* Added detection of pls files
0.1.2:
* Fixed mp3 and m4a detection when using playall
* Drop unneeded arguments in the playlist default urls
0.1.1:
* Don't assign the same shortcut to pause and prev
* Improved the README
0.1:
* Initial release
Hi all!
Since this forum seems to be the main development channel, I've decided to release MPlayer for Kindle here .
This project is based on MPlayer 1.0rc4 and requires Launchpad to work.
MPlayer can be used to play local and remote files in a lot of different formats(and I did not even bother to compile optional libs which could add others formats). It's an audio and video player but obviously only interesting for its audio capabilities on the Kindle.
There is no real interface, just Launchpad commands, the launchpad/mplayer.ini file should tell you everything you need to know:
Code:
[Actions]

## Launch the playlist, see mplayer/playlist
M L = !/mnt/us/mplayer/control.sh playlist

## Play everything in the music directory
M A = !/mnt/us/mplayer/control.sh playall

## Play everything in the music directory, in random order (Shuffle)
M R = !/mnt/us/mplayer/control.sh playrand

M Space = !/mnt/us/mplayer/control.sh pause
M S = !/mnt/us/mplayer/control.sh stop
M P = !/mnt/us/mplayer/control.sh prev
M N = !/mnt/us/mplayer/control.sh next
To get it, just unzip the archive at the end of this post in the root of the Kindle filesystem mounted via USB, or build it from the gitorious repository: http://gitorious.org/kindlebrew/mplayer. You will need to restart Launchpad after that(the default shortcut for restart is "Shift, Shift, Space").
Please note that simply entering sleep mode(either the sleep mode with the screen saver or the one without) will not stop mplayer if it's running, this mean you can still hear music and the battery is still drained. To stop it use the stop shortcut which by default is "Shift, M, S"(see above).

I might write a GUI, either for mplayer or for mpd

Have fun!
Attached Files
File Type: zip mplayer-0.2.0.zip (3.97 MB, 19905 views)

Last edited by Smarter; 02-07-2011 at 12:59 PM.
Smarter is offline   Reply With Quote