mymikemiller / a-simple-lastfm-scrobbler

Automatically exported from code.google.com/p/a-simple-lastfm-scrobbler
GNU General Public License v3.0
0 stars 0 forks source link

SLS doesn't recognize Android 2.1 music player (on Samsung Galaxy Spica, i5700) #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have Samsung i5700 with firmware I570EXXJC3 (Android 2.1)

scrobbler says "no music apps detected"...

does it works on any 2.1 phone?

Original issue reported on code.google.com by hubert.w...@gmail.com on 8 Mar 2010 at 7:16

GoogleCodeExporter commented 9 years ago
Have you checked the FAQ?: 
http://code.google.com/p/a-simple-lastfm-scrobbler/wiki/FAQ

Make sure that you've entered your Last.fm credentials properly, and then start
playing music.

Original comment by tgwizard on 8 Mar 2010 at 7:39

GoogleCodeExporter commented 9 years ago
And yes, it seems to work on most 2.1 phones. I know it works on Nexus One, for 
example.

Original comment by tgwizard on 8 Mar 2010 at 7:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
yes, i've checked the FAQ.

my Last.fm credentials are entered properly - scrobbler says: "Logged in as: 
******"

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 8:06

GoogleCodeExporter commented 9 years ago
Ah, then it's weird. What music player are you using?

Original comment by tgwizard on 8 Mar 2010 at 8:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i'am using standard android music player ("Music Player" in menu)

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 8:42

GoogleCodeExporter commented 9 years ago
And nothing happens? What are your settings in the Options screen? Do you see
anything in the Status screen?

Original comment by tgwizard on 8 Mar 2010 at 9:03

GoogleCodeExporter commented 9 years ago
yes, when i start playing music and go back to scrobbler, nothing happens...

My settings in options:

Standard
On battery:

Scrooble: checked
Notify now playing: checked
When to scrobble: After every track
Also on playlist finish: checked
Network: Any network
Roaming: unchecked

On status screen:

Logged in as: ****
Profile page: http://www.lat.fm/user/*****
Last scrobble submited at: Never
Last now playing submitted at: Never
Scrobblers in local cache: 0
Total tracks scrobbled: 0
Total now playing notifications: 0

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 9:11

GoogleCodeExporter commented 9 years ago
And you have the same settings for "Plugged in"?

I'm sorry this is happening, and I really want to help you. Could you try 
another
music player, like MixZing? (Meridian and RockOn should work as well). 

And you don't happen to have access to a development setup so that you could 
send me
the log file :)?

Original comment by tgwizard on 8 Mar 2010 at 9:19

GoogleCodeExporter commented 9 years ago
Oh, could you tell me what songs you are playing? And do you have a network 
connection?

Original comment by tgwizard on 8 Mar 2010 at 9:27

GoogleCodeExporter commented 9 years ago
yes, i have the same settings for "plugged in"

I tried other players - scrobbler works fine with MixZing and Meridian :)

I've played the same songs (mp3, yes, i have network connection, i've tested it 
with 
3G and WiFi) in each player but only android music player have problems with 
scrobbler...

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 10:49

GoogleCodeExporter commented 9 years ago
Good that it works for those players at least.

I have one idea of why it might not work on the default player. HTC renamed the
broadcasts they are using in their Music Player, on Hero at least. For most 
phones,
it is com.android.music, HTC hero has com.htc.music. Could you somehow check the
package name of the music player on Samsung i5700? 

(I couldn't find any easy way to do it, but I used a program called ASTRO. If 
open
it, press Menu -> Tools -> Process Manager. In the apps tab, click on the Music 
app
and then application details. (You probably need to start the music app 
before...))

If this is the case, I can (probably) easily and quickly implement support for 
the
Samsung phones as well.

Original comment by tgwizard on 8 Mar 2010 at 11:20

GoogleCodeExporter commented 9 years ago
I think that's the point!

I've launched Process Manger as You wish but I can't find process named 
"com.android.music". However there is a proces named "oid.MusicPlayer" with 
same PID 
as "Music Player" in Apps list so I think this is it!

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 11:29

GoogleCodeExporter commented 9 years ago
Is that the full package name? I couldn't find any package names when I looked 
at the
processes, just when I view app details.

And if I uploaded an apk file here, would you be willing to install it to test 
if it
works?

Original comment by tgwizard on 8 Mar 2010 at 11:36

GoogleCodeExporter commented 9 years ago
I'll have a look at what looks like the source code for the i5700, which i found
here: http://opensource.samsungmobile.com/index.jsp?page=2

Perhaps it includes the source for the music-player, and then this would be 
solved.

Original comment by tgwizard on 8 Mar 2010 at 11:44

GoogleCodeExporter commented 9 years ago
I've checked Details and You're right - full package name is: 
"com.samsung.sec.android.MusicPlayer"

Yes, I will install and test the application with pleasure :)

Original comment by hubert.w...@gmail.com on 8 Mar 2010 at 11:48

GoogleCodeExporter commented 9 years ago
Here's a version that might work:
http://a-simple-lastfm-scrobbler.googlecode.com/files/a_simple_lastfm_scrobbler_
1.3.1_test.apk

Original comment by tgwizard on 9 Mar 2010 at 12:05

GoogleCodeExporter commented 9 years ago
To install it, just click on the link using your phone, and then click on the
downloaded file. You'll have to allow applications from unknown sources, when 
that
dialog comes up.

Original comment by tgwizard on 9 Mar 2010 at 12:07

GoogleCodeExporter commented 9 years ago
The source code on Samsung's webpage was only for the android core, not the 
apps, so
no luck there. If it works with I implemented, then awesome! Otherwise we'll try
something else.

Good night, see you tomorrow.

Original comment by tgwizard on 9 Mar 2010 at 12:10

GoogleCodeExporter commented 9 years ago
unfortunately this test version also can't recognize Music Player from i5700 :(

Original comment by hubert.w...@gmail.com on 9 Mar 2010 at 12:35

GoogleCodeExporter commented 9 years ago
Here's a new one:
http://a-simple-lastfm-scrobbler.googlecode.com/files/a_simple_lastfm_scrobbler_
1.3.1_test2.apk

I added a few more guesses of what messages the samsung music player might 
broadcast,
but we'd have to be quite lucky for it to work.

Please tell me what happens, you should besides the tracks scrobbling also get a
small popup window telling you what message was broadcast, if any ever was. 

Original comment by tgwizard on 9 Mar 2010 at 4:28

GoogleCodeExporter commented 9 years ago
:(

scrobbling still doesn't work and there is no popups...

Original comment by hubert.w...@gmail.com on 9 Mar 2010 at 6:48

GoogleCodeExporter commented 9 years ago
Crap. I'll keep thinking on it, but I don't have any good ideas at the moment, 
and
the internet is of little help.

Thank you for your testing, I hope we'll crack this eventually.

Original comment by tgwizard on 9 Mar 2010 at 8:06

GoogleCodeExporter commented 9 years ago
ok

so I'm waiting for any news about fix for this issue

Original comment by hubert.w...@gmail.com on 9 Mar 2010 at 8:18

GoogleCodeExporter commented 9 years ago
I've sent an email to the developers at Samsung explaining our predicament. 
Hopefully
they will answer promptly.

Original comment by tgwizard on 9 Mar 2010 at 10:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've ugraded my firmware to newest version I570EXXJC5 but problem with 
scrobbler still 
exists :(

Original comment by hubert.w...@gmail.com on 9 Mar 2010 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by tgwizard on 27 Apr 2010 at 7:38

GoogleCodeExporter commented 9 years ago
This doesn't work with cyanogen mod either. After I started using 2.1 on 
mytouch3g it
wouldn't recognized the default android player.

Original comment by brogalski@gmail.com on 25 May 2010 at 7:53

GoogleCodeExporter commented 9 years ago
brogalski, does the cyanogen mod use a different player than the built in one?
Samsung use their own, but on my Nexus One with Android 2.1 the default music 
player
works. 

Original comment by tgwizard on 26 May 2010 at 10:39

GoogleCodeExporter commented 9 years ago
the process name is "com.samsung.sec.android.MusicPlayer"

please do something about scrobbling :( I love this player(It has equalizer. 
Easily the 
best sound quality for a android player ) But miss scrobbling :(

Original comment by riast.ul...@gmail.com on 6 Jun 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Hi, I've already tried the "expected" guesses for broadcasts from
com.samsung.sec.android.MusicPlayer:

com.samsung.sec.android.MusicPlayer.metachanged
com.samsung.sec.android.MusicPlayer.playbackcomplete
com.samsung.sec.android.MusicPlayer.playstatechanged

You can test the 1.3.1_test2.asp version in comment 22 to see if it works for 
you.

Original comment by tgwizard on 6 Jun 2010 at 3:29

GoogleCodeExporter commented 9 years ago
Same here. It doesn't detect the music player on my Samsung Spica i5700 
(Android 2.1)

Original comment by manjeetdahiya on 23 Jun 2010 at 3:06

GoogleCodeExporter commented 9 years ago
Any news on this yet? I have the same problem with my Samsung Galaxy S i9000, 
using android 2.1 and the standard music player...

Thanks for the support anyway!

Original comment by anders.n...@gmail.com on 23 Jun 2010 at 9:08

GoogleCodeExporter commented 9 years ago
Same here.
Any news?

Original comment by flapane on 26 Jun 2010 at 11:23

GoogleCodeExporter commented 9 years ago
I was thinking of building the default Music Player from android source code. 
And replace it with the one providing by Samsung. What say?

Original comment by manjeetdahiya on 27 Jun 2010 at 5:43

GoogleCodeExporter commented 9 years ago
Unfortunately, I haven't made any progress on this. I've tried to contact 
Samsung, but they haven't answered, and it isn't clear where feedback like this 
should be sent. Perhaps if you sent them an email they'd notice?

@manjeetdahiya - that should probably work, replacing the samsung player with 
the default one that is open source. Please share how it goes :)

Original comment by tgwizard on 27 Jun 2010 at 11:02

GoogleCodeExporter commented 9 years ago
I just checked what the process is called on my Samsung Galaxy S (android 2.1), 
and it's listed as "com.sec.android.app.music".. (Menu -> Settings -> 
Applications -> Running Services) Would be great to get this working.
Let me know if there's anything I can try out for you.

Original comment by morten.strandbo@gmail.com on 27 Jun 2010 at 6:15

GoogleCodeExporter commented 9 years ago
I also hope this problem gets solved soon. I really love the Galaxy S MP3 
Player, but everytime I buy a Phone scrobbling doesn't work for whatever reason.
Nokia N81... too old...
HTC HD2... no more Windows Mobile support and third party apps sucked 
unfortunately...
Samsung Galaxy S... Player not compatible...

Original comment by Robert.P...@googlemail.com on 30 Jun 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Is the Galaxy Spica music player the same as the default music player on the 
Vibrant/Captivate/Galaxy S? The Galaxy S player has pull-down lock-screen 
controls and cover flow that projects the album image onto a CD shape, if that 
helps with identification. The only description I can get about the name-name 
of the app is from the services menu, which says "com.sec.android.app.music", 
which is from the Samsung Vibrant, so we can conclude the Vibrant and Galaxy S 
use the same music player (big surprise).

The Galaxy S player isn't terrible, it looks a lot nicer and feels less laggy 
than DoubleTwist, which I have been using for the time to scrobble. I'd love it 
if you could support it. Thanks for your work!

Original comment by rayc...@gmail.com on 25 Jul 2010 at 3:02

GoogleCodeExporter commented 9 years ago
Use the attached music application. Scrobbling works fine with this. This is 
the original one from Google. I don't even like the custom one shipped by 
Samsung.

The command: "adb install Music.apk" 

will install it. Provided you have Android SDK.

Original comment by manjeetdahiya on 26 Jul 2010 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
If anyone wants to know how to contact Samsung, you can do so at 
http://www.samsung.com/us/info/contactus.html#

The model number of the Vibrant is SGH-T959, and the Captivate is SGH-I897. 
Please take the 2 minutes or so to email them. It's a long shot, but if we have 
enough people requesting last.fm scrobbling support...

Original comment by rayc...@gmail.com on 22 Aug 2010 at 3:28

GoogleCodeExporter commented 9 years ago
thanks, manjeetdahiya. with the old music player works fine.

Original comment by bjus...@gmail.com on 4 Nov 2010 at 1:34

GoogleCodeExporter commented 9 years ago
It would be so nice if you could try to fix this issue as many of us are trying 
another players just for scrobbling despite actual love for original player.
                                                                       Thank you.

Original comment by vishal8...@gmail.com on 22 Jan 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Just want to ask have you guys working on it or just gave up?

Original comment by vishal8...@gmail.com on 23 Jan 2011 at 7:01

GoogleCodeExporter commented 9 years ago
it doesn't work with Android 2.2 either, the name of the process is: 

com.android.music

there are still lot of us waiting for any solution

Original comment by nb.piotr...@gmail.com on 10 Feb 2011 at 7:27

GoogleCodeExporter commented 9 years ago
Hello nb.piotr..., Where did you get Android 2.2 for Galaxy Spica?

Original comment by manjeetdahiya on 10 Feb 2011 at 7:43

GoogleCodeExporter commented 9 years ago
oh, the thread is only for spica... I have the Galaxy S i9000, I got it about 
two weeks ago with 2.2 froyo on it, since that time i've been looking for a way 
to scrobble with my default player (which I like best among others available 
for quite a few reasons and i'd love to scrobble with it). Everone with SGS 
seem to have the same problem. Is there any solution?

Original comment by nb.piotr...@gmail.com on 10 Feb 2011 at 9:41

GoogleCodeExporter commented 9 years ago
You might want to check out this code (not mine): 
http://code.google.com/p/galaxy-s-music-widget/source/browse/src/com/demboos/gal
axy/music/widget/GalaxyMediaPlaybackService.java - he's managed to create what 
looks like a working bridge between the Samsung music app and the standard 
scrobblers - the code I linked to has what look like broadcast intents of the 
form: "musicPlayer.service.updateMediaInfo" etc..

For the non-developers with Galaxy devices, the developer (demboos) has a free 
downloadable app on the market to do this.

Disclaimer: I don't own a Samsung device so I'm not able to test it - I'm just 
a developer suffering from the same problem of not being able to detect the 
current playing track on various devices...

Original comment by keith.ma...@gmail.com on 30 Mar 2011 at 10:56