Export to GitHub

a-simple-lastfm-scrobbler - issue #30

Support Xperia MediaScape (by Sony Ericsson)


Posted on Feb 25, 2010 by Helpful Elephant

It hasn't been released yet, but it would be great to support it.

Comment #1

Posted on Apr 27, 2010 by Helpful Elephant

Got an email from a user asking about this. I don't know if it works or not.

Comment #2

Posted on May 2, 2010 by Swift Bear

I have an XPERIA X10 with Mediascape and have been trying to find a scrobbling app that supports it. It doesn't work.

The process name is com.sonyericsson.android.mediascape if that helps any.

Comment #3

Posted on May 2, 2010 by Swift Bear

Herm, I tried downloading the source and editing HeroMusicReceiver to read sony ericsson instead, rebuilding and trying that on my phone. Didn't work :/.

tried "com.sonyericsson.android.mediascape.playstatechanged" (and edited the other lines respectively) and "com.sonyericsson.android.mediascape.music.playstatechanged" (etc)

Comment #4

Posted on May 2, 2010 by Swift Bear

Oh yeah, and when I say "doesn't work" I obviously mean it doesn't show up under detected music players. And when I edited HeroMusicReceiver I also changed the manifest tag for HeroMusicReceiver.

Bluetoothing mediascape.odex over to my laptop and running strings on it, there are no hits for "playstatechanged" or "metachanged".

"playbackcomplete" shows up in a section with these: PICASA_SETTING PIVOT_ANIM_DURATION PLAYBACKCOMPLETE PLAYBACKSERVICE_STATUS PLAYER_EVENT_CHANGETRACK PLAYER_EVENT_LOOP PLAYER_EVENT_NEXT PLAYER_EVENT_NOTIFY_DELETE PLAYER_EVENT_PAUSE PLAYER_EVENT_PLAY PLAYER_EVENT_PREV PLAYER_EVENT_SEEK PLAYER_EVENT_SHUFFLE PLAYER_EVENT_STOP PLAYLIST_ID

In a separate section "com.android.music" can be found: com.android.music com.android.music.MediaPlaybackActivity com.android.music.musicservicecommand com.facebook.katana com.sonyericsson.android.camera.intent.action.FINISH com.sonyericsson.android.camera.intent.action.LAUNCH com.sonyericsson.android.contentmanager.service.facerecognition.FaceRecognitionService com.sonyericsson.android.mediascape.Action.View com.sonyericsson.android.mediascape.IMusicPlayerService com.sonyericsson.android.mediascape.MediaPlayerListener com.sonyericsson.android.mediascape.category.Home com.sonyericsson.android.mediascape.extra.resource_id com.sonyericsson.android.mediascape.plugin.action.ITEM_SELECTED com.sonyericsson.android.mediascape.plugin.action.PLUGIN_ADDED com.sonyericsson.android.mediascape.plugin.action.PLUGIN_DATA_CLEARED com.sonyericsson.android.mediascape.plugin.action.PLUGIN_REMOVED com.sonyericsson.android.mediascape.plugin.action.PLUGIN_REPLACED com.sonyericsson.android.mediascape_preferences com.sonyericsson.android.metadatacleanup.METADATA_CLEANUP com.sonyericsson.android.semcSigCommon.Action.Edit com.sonyericsson.android.semcSigCommon.Action.Share com.sonyericsson.android.semcSigCommon.Action.View com.sonyericsson.android.signature.SET_WALLPAPER

dunno if this helps at all...

Comment #5

Posted on May 2, 2010 by Helpful Elephant

I tried reverse-engineering the broadcasts that the Samsung music apps use with little success (see http://code.google.com/p/a-simple-lastfm-scrobbler/issues/detail?id=37). Hopefully we can do better here.

I've also asked Sony Ericsson on their forum here: http://developer.sonyericsson.com/community/message/131166#50716 (with frames: http://developer.sonyericsson.com/wportal/devworld/forum?cc=gb&lc=en)

PLAYER_EVENT_PLAY and the others seem more like intent actions used to alter the media playback than to broadcast status info.

Perhaps you could run and export a LogCat of when you start/pause etc. some music?

Comment #6

Posted on Dec 22, 2010 by Quick Dog

Here's my logcat: I/ActivityManager( 1195): Start proc com.sonyericsson.fmradio for broadcast com.sonyericsson.fmradio/.FMBroadcastReceiver: pid=32375 uid=10016 gids={} I/ActivityManager( 1195): Process com.google.android.apps.maps:LocationFriendService (pid 32365) has died. I/dalvikvm(32375): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38) I/dalvikvm(32375): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=52) I/SemcMusicPlayer(30549): Play song: /sdcard/Music/Digital_Only_Albums/Severed Fifth/Denied By Reign/severedfifth-deniedbyreign-edgeofdesign.ogg I/SemcMusicPlayer(30549): Play song: /sdcard/Music/Digital_Only_Albums/Severed Fifth/Denied By Reign/severedfifth-deniedbyreign-edgeofdesign.ogg E/BluetoothEventLoop.cpp( 1195): event_filter: Received signal org.bluez.AudioSink:Playing from /org/bluez/1282/hci0/dev_40_2B_A1_60_E9_D3 E/BluetoothEventLoop.cpp( 1195): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1282/hci0/dev_40_2B_A1_60_E9_D3 E/BluetoothEventLoop.cpp( 1195): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1282/hci0/dev_40_2B_A1_60_E9_D3 D/BluetoothA2dpService( 1195): A2DP state : device: 40:2B:A1:60:E9:D3 State:2->4 W/AudioFlinger( 1100): write blocked for 421 msecs, 26 delayed writes, thread 0x91908 I/ActivityManager( 1195): Process com.sonyericsson.fmradio (pid 32375) has died.

Comment #7

Posted on Dec 22, 2010 by Quick Dog

Then, when changing tracks: I/SemcMusicPlayer(30549): Play song: /sdcard/Music/Digital_Only_Albums/Nine Inch Nails/Ghosts I-IV/09 Ghosts I.mp3

However, pausing/stopping the track does nothing. I think patching into the intents from the SemcMusicPlayer is doomed :(

Status: Accepted

Labels:
Type-MusicApp Priority-High