Tuesday, February 26, 2013

DashClock Music Extension on AndroidPolice

Androidpolice did a write up on my dashclock extension http://www.androidpolice.com/2013/02/26/want-to-see-the-currently-playing-audio-track-in-dashclock-check-out-dashclock-music-extension/

And now its back to work on GMMP (the extension only took me a day to write so it didnt really affect any gmmp development)

Sunday, February 24, 2013

DashClock Music API V1

There are several ways to add support for your app to the DashClock Music Extension.

1) The dashclock music api:

Intents:
gonemad.dashclock.music.metachanged - Whenever the currently playing song changes (or is first played)
gonemad.dashclock.music.playstatechanged - Changing between playing and pausing
gonemad.dashclock.music.playbackcomplete - When playback completes

Examples:
When starting to play music or a new song plays.. send:
Intent intent = new Intent(gonemad.dashclock.music.metachanged);
intent.putExtra("artist", "current artist");
intent.putExtra('album", "current album");
intent.putExtra("track ", "current track name");
intent.putExtra("playing", true);

context.sendBroadcast(intent);

When playback is paused or resumed:

Intent intent = new Intent(gonemad.dashclock.music.playstatechanged);
intent.putExtra("artist", "current artist");
intent.putExtra('album", "current album");
intent.putExtra("track ", "current track name");
intent.putExtra("playing", true or false);  //the only mandatory field for this intent

context.sendBroadcast(intent);

When playback is finished:

Intent intent = new Intent(gonemad.dashclock.music.playbackcomplete);
context.sendBroadcast(intent);

2) Implement the simple last.fm scrobbler api: http://code.google.com/p/a-simple-lastfm-scrobbler/wiki/Developers

3) Implement the scrobble droid api:  http://code.google.com/p/scrobbledroid/wiki/DeveloperAPI

4) Implement the official last.fm app's api.  Can't seem to find documentation on this currently

5) Implement the stock android music player intents:
com.android.music.playstatechanged
com.android.music.metachanged

Saturday, February 23, 2013

DashClock Music Extension


I recently got a bunch of requests to include dashclock support into GoneMAD Music Player and noticed the lack of just a general purpose music extension, so I made one. It should work with all the major music players (scrobbling may need to be enabled in some of them) and is completely free.



Any feedback is welcome and if you find a player that does not work, please let me know.








Sunday, February 17, 2013

1.4.5

I believe most of the bugs reported to me have been fixed, so I should be able to go back to adding new functionality.

1.4.5 (02/17/2013):
-Fixed issue playing a song from an external browser when the database was just reset or no track was selected to play
-Fixed crash caused by invalid replaygain tags
-Id3v2 tags with the extended header flag improperly set can now be read
-More AVRCP 1.3 fixes
-The keyboard will no longer go fullscreen when in landscape mode
-Improved loading speed for album art loading in album view
-Added refresh menu option to browser view
-Fixed slide right to delete (edit mode only) in queue view
-Fixed issue where next/prev folder would skip subfolders of folders with music files in it
-Clicking the album art when viewing an albums track list will now play the album
-Added album artist to tag editor for artists, tracks, and files
-Fixed some dialog related crashes
-Local image search will skip subfolders with .nomedia in it

Friday, February 8, 2013

50% off weekend sale

GMMP will be 50% off on google play and the amazon marketplace this weekend.

Google Play
Amazon

Thursday, February 7, 2013

1.4.4 - AVRCP 1.3 fix + Smoother scrolling


I made a few simple changes in the list view's code and it resulted in much smoother scrolling.  AVRCP 1.3 should be fixed on devices that support it now.  This fix broadcasts some new intents which might cause duplicate scrobbles if you have the simple last.fm scrobbler setting enabled, so I reset this value.  In simple last.fm scrobbler, the tracks you play should show up under the default "Android Player"

1.4.4 (02/07/2013):
-Playback should now go to the next track when shuffle is enabled and a playback error occurs
-Playlist files can now be played via intents/external file browsers
-Scan notifications will now auto cancel on completion if 0 files are found
-Improved scrolling smoothness on most list views
-Updated German translation
-Fixed issue where the ICS lockscreen music controls would not show up
-Fixed AVRCP 1.3 on many devices
-Fixed name sort and added filename sort for the smart view
-Fixed repeat issue related to playing files from external file browsers
-Fixed bug with scanning embedded cues
-Fixed bug where next track would not update in now playing
-Fixed issue where the song title was blank in the notification controls for songs referenced in a .cue file
-Fixed bug where embedded art would be overridden by an image in the albums folder
-Fixed bug tracks from embedded cues would not properly load in the queue when starting GMMP
-Files with embedded cuesheets no longer add to the scan count if the file was already scanned.