Sunday, April 17, 2011

[Release] Open Media Player for Nokia N900

Muhammad Abu Garbiyeh, the lead developer of the Nokia CSSU has announced the alpha release of Open Media Player, a multimedia player he's been working on for sometime now. Below is the full announcement as made on TMO.

Been showing this on the forums a lot, figured it's about time I make a release.
Please note that this is an alpha release, the mediaplayer turned out to be a
bigger project than I expected

What's not working (yet):

  • Categories view in Videos.
  • Resuming from paused position in videos.
  • libplayback, a notification will go through and will mute the player.
  • Deleting items from a playlist messes up numbering, fix planned.
  • Share and delete buttons in videos.

What needs to be done:

  • "Cheats" that will make the mediaplayer seem faster to the user (the stock player adds a song, starts playback, then adds all the other songs when you click a song, the implementation here is to add all songs then start playback, this is slow for the "All songs" view.
  • Detecting the current item in the Entertainment view (my QML skills are meh).
  • Implement mime_open (gnomevfs is always returning NULL for some reasno...) so other apps like qmltube can open media in the player.
  • Deleting albums/artists (deleting songs and playlists should work)

What's new (not actually a lot):

  • Sharing songs via Bluetooth and E-Mail (thanks to CepiPerez for the dialog from filebox).
  • Portrait mode (obviously )
  • QML entrainment view, being in QML, this takes more memory and a bit more CPU time for transitions (even though they're HW accelerated).
  • Closing the mediaplayer will not stop playback, this is configurable in settings (main view -> title bar menu -> Settings).

What's planned:

  • Playlist creator and editor (stock implementation sucks).

All existing MAFW-based apps will work fine with this, the stock widget will open this mediaplayer, media-im-status-updater will fetch metadata correctly, etc...
To "replace" the stock player (if you don't want to do that, use the script below).
Place the binary in /usr/local/bin/

Code:
<font face="verdana">nano /usr/share/dbus-1/services/com.nokia.mediaplayer.service</font>
Change /usr/bin/mediaplayer to /usr/local/bin/mediaplayer, note that this will cause mime_open to stop working until implemented.

BT headsets (with buttons) should work fine (tested with a BH-503).

To use alongside the stock player (tapping the stock widget will open the stock player):
Place the binary in /usr/local/bin/

QML files are to be installed in /opt/mediaplayer/qml/
I usually update the mediaplayer whenever I add something, so here's a handy script to update it (or install it)

Code:
<font face="verdana">root apt-get install wget #if you don't have it installed. wget http://mohammadag.xceleo.org/public/maemo/install_mediaplayer.sh chmod +x install_mediaplayer.sh ./install_mediaplayer.sh</font>
Then whenever I release an update, use ./install_mediaplayer.sh to fetch it and overwrite the old version.
Want an icon in the menu? Run the script with --desktop-file (./install_mediaplayer --desktop-file).

Once all bugs are fixed, this will probably make its way into the CSSU, but right now, it's a bit early.

Not sure if screenshots are necessary, it looks exactly like the stock player but with portrait mode.

Bug reports expected (lots of them) and are welcome.
Thanks to nicolai for the C++ MafwSource and MafwRenderer adapters.
Thanks to Venemo for the UI for the FMTX dialog (which is actually a rewrite, the stock one flips the player to landscape).
If you have jacekowski's fmtxd, feel free to kill the checks done (headphones etc...) in the UI, it's in settings.

Source is of course on gitorious: http://gitorious.org/qt-mediaplayer/mediaplayer

Sharing is Caring:
By Seeraj Muneer with No comments

0 comments:

Post a Comment

  • Popular
  • Categories
  • Archives