This forum has been archived. All content is frozen. Please use KDE Discuss instead.

iPod Audioscrobbler Support

Tags: None
(comma "," separated)
bluey
Karma
0

iPod Audioscrobbler Support

Sat Jan 28, 2006 7:43 pm
It is possible to submit every Track you have played with you iPod to Last.fm.

There is already a Java Application that does the Job, but i think, a integration in amaroK would be great.

http://homepage.sunrise.ch/mysunrise/ph ... /audiopod/
Martin Aumueller
KDE Developer
Posts
219
Karma
0

Re:iPod Audioscrobbler Support

Sun Jan 29, 2006 9:59 am
already works with 1.4-svn (development version)
Nils Winkler
Registered Member
Posts
7
Karma
0

Re:iPod Audioscrobbler Support

Thu Feb 16, 2006 7:14 am
aumuell wrote:
already works with 1.4-svn (development version)

Does this really work? I tried this last night:
[ul]
[*]During the day, I listened to about 15 tracks on my iPod
[*]When I got home, I plugged my iPod into my laptop
[*]I started Amarok
[*]Transfered a song to the iPod
[*]When checking last.fm, I didn\'t see any submissions
[/ul]

When playing a song, it is submitted to last.fm after about 80% of the song, but it didn\'t work for my iPod.

How can I check what is going wrong? Is last.fm\'s reply logged to somewhere?

Thanks,

Nils
Martin Aumueller
KDE Developer
Posts
219
Karma
0

Re:iPod Audioscrobbler Support

Thu Feb 16, 2006 7:27 am
As long as you are playing music with amaroK and this is submitted to last.fm, amaroK won\'t find any time to submit the titles played on your iPod. Only if you pause playing music for some time and restart again, amaroK will know about a time window, for which it is likely that last.fm won\'t reject the submissions due to being spam.

So you hopefully will see your submissions the next time you use amaroK.
Nils Winkler
Registered Member
Posts
7
Karma
0

Re:iPod Audioscrobbler Support

Thu Feb 16, 2006 7:37 am
aumuell wrote:
As long as you are playing music with amaroK and this is submitted to last.fm, amaroK won\'t find any time to submit the titles played on your iPod. Only if you pause playing music for some time and restart again, amaroK will know about a time window, for which it is likely that last.fm won\'t reject the submissions due to being spam.

So you hopefully will see your submissions the next time you use amaroK.

Ah, cool, I\'ll try this tonight.

Thanks for the quick reply, you people ro(c)k!

Nils
Nils Winkler
Registered Member
Posts
7
Karma
0

Re:iPod Audioscrobbler Support

Tue Feb 21, 2006 7:05 am
Mh, I tried this last night and it still doesn\'t seem to work. When I debugged it with KDevelop, I noticed the following:

Submitting works for normal playback, the Scrobbler::m_submitter has all the details like username, password etc.

When syncing my iPod, the MediaDevice class calls Scrobbler::instance()->m_submitter->submitItem(sit). I stepped into this and noticed that all the attributes of the submitter instance are empty. Because of this, the call to ScrobblerSubmitter::canSubmit() always returned false.

How can that be?

Scrobbler supposedly is a Singleton, the data is set through the applySettings() method from app.cpp, so why am I seeing two instances, one with the correct data and one without?

Is this a problem with my configuration or is it a race condition during app initialization?

Weird...

Nils


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]