|
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/ |
KDE Developer
|
already works with 1.4-svn (development version)
|
Registered Member
|
aumuell wrote:
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 |
KDE Developer
|
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. |
Registered Member
|
aumuell wrote:
Ah, cool, I\'ll try this tonight. Thanks for the quick reply, you people ro(c)k! Nils |
Registered Member
|
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 |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]