Media Player
From Openmoko
| Not implemented: This article or section documents one or more features that are not implemented and which may never be implemented. |
Contents |
Overview
This article defines the Media Player Application, an application designed for the OpenMoko platform. This is a Native Stylus-Based application.
Use Cases
Here are some possible use cases:
- I want to be able to play MP3s, AAC files, and OGG files.
- I want to use normal controls while playing media, for example, seeking back/forwards within a track, and changing the volume.
- I want to be able to control my mpd server at home with the same music player ui.
- I want to be able to start tracks from a media collection view
- I want to be able to start tracks from a filesystem view
Layout Components
| Item | Action | Constraints |
|---|---|---|
| Membership | Specify songs existing within current playlist | Grayed-out when zero custom playlists are defined |
| Playlist Rename | Rename the current playlist | Grayed-out when zero custom playlist. |
| Help | Opens Help Viewer Application with help for this application |
Filter Menu
| Item | Action | Constraints |
|---|---|---|
| Genre | Displays Listing of all Genres in song library | |
| Artist | Displays Listing of all Artists in song library | |
| Album | Displays Listing of all Albums in song library | |
| Playlists | Displays Listing of all Playlists in the song library | |
| Search Results | Displays all contacts matching current search string |
Navigation Area
Displays list of items from current filter using the Navigation Widget. Has the following structure:
| Item | Action | Constraints |
|---|---|---|
| Column 1 | Name | This is either Genre, Artist, Album, or Playlist names depending on the current filter type. |
Tap selecting a row, will display correspoding tracks in the Details Area.
Toolbar
Search
Search reindexes, after every keypress, the track membership of the Search Results Playlist.
Action Buttons
| Playback Mode | Item | Action | Constraints |
|---|---|---|---|
| Mode Linear | Sets playback mode to linear | ||
| Mode Random | Sets playback mode to random | ||
| Mode Scan | Sets playback mode to intro scan (e.g. first 30s) | ||
| Mode Repeat Off | Sets repeat mode to off | ||
| Mode Repeat Track | Sets repeat mode to repeat track | ||
| Mode Repeat Playlist | Sets repeat mode to repeat playlist |
| Delete | Item | Action | Constraints |
|---|---|---|---|
| Delete Song | Opens Dialog prompting for confirmation | Grayed-out when zero songs exist | |
| Delete Playlist | Opens Dialog prompting for confirmation | Grayed-out when zero custom playlists are defined. |
| Preview Track | Item | Action | Constraints |
|---|---|---|---|
| Previous | Plays previous track, seeks backward when held >1s |
| Playback | Item | Action | Constraints |
|---|---|---|---|
| Start / Stop | Start / Stop playback | Visible as Stop when playing and Start when stopped. | |
| Pause | Pauses playback |
| Next Track | Item | Action | Constraints |
|---|---|---|---|
| Next | Plays next track, seeks forward when held >1s |
Details Area
A Details List that shows a collection of tracks (displayed as Sound / Recording Preview widgets).
Footer Area
Status Bar
Displays the total number of tracks in the current filter type.
Constraints
(TBD)
Sessions
- The current track selection and Details Area mode is persistant.
Architectural Details
(TBD)
Implementation Recommendations
(TBD)
Interactions
(TBD)
Unresolved Issues
(TBD)
Questions and Answers
Q: Will there be a finger-based frontend for easy and quick using?
Q: Is there anything i can use just to see video playing on the neo?
A: Yes, there is a version of mplayer floating around somewhere (mplayer-arm920t) which runs on the neo. URL unknown, ask in the IRC channel for a copy. It seems to play MPEG files around 320x240 at an ok framerate. (It needs a lot of FLASH space though...)
ipkg install mplayer # working from "official" repository now mplayer -fs -ao sdl -vo sdl -framedrop <filename> # get the best speed using SDL


