Bug 216174

Summary: Amarok lastfm plugin skipping track submission stage for CDs
Product: [Applications] amarok Reporter: Mathew Topper <damm_horse>
Component: Context ViewAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jajaxor, languitar, lfranchi, nhn, simon.esneault
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mathew Topper 2009-11-25 23:29:06 UTC
Version:           2.2.1-2.fc11  (using KDE 4.3.3)
OS:                Linux
Installed from:    Fedora RPMs

Description of problem: All submissions to audioscrobbler via the lastfm plugin are skipping the submission stage. The now playing stage is working i.e.

HTTP POST:  QUrl( "http://post.audioscrobbler.com:80/np_1.2" )  "s=c51bff94faed49f0a2287da4cc7d2458&a=BEIRUT&t=The%20Gulag%20Orkestar&b=GULAG%20ORKESTAR&l=0&n=0&m="
"OK"

However there is no submission stage during the playing of the track. The submission URL is provided by the handshake, i.e.

c51bff94faed49f0a2287da4cc7d2458                                                                                              
http://post.audioscrobbler.com:80/np_1.2                                                                                      
http://post2.audioscrobbler.com:80/protocol_1.2"

How reproducible: Play any track in the playlist from CD.


Steps to Reproduce:
1. Start Amarok with CD
2. Play any track in playlist
3. Wait

Actual results: Last.fm reports now playing but no submission.

Expected results: Last.fm should report now playing then submission.

Additional info: This process works for local files. The track is submitted at the end of the track. Perhaps the behaviour below is affecting this.

In addition, Amarok is also unable to play one track from a CD. If a single track is moved to the playlist, it will finish the track and then start playing the next. I will submit another and link here.
Comment 1 Mathew Topper 2009-11-25 23:43:17 UTC
The other CD bug is listed here:

https://bugs.kde.org/show_bug.cgi?id=216175
Comment 2 jajaX 2009-11-29 01:24:47 UTC
Hi !

same problem on amarok 2.2.1 under jubuntu karmic with KDE 4.3.3.

the button "lasftfm : I love" don't send information too.
Comment 3 Mathew Topper 2010-01-23 15:58:34 UTC
Problem persists in amarok-2.2.2-3.fc11.x86_64
Comment 4 Myriam Schweingruber 2010-01-23 18:22:40 UTC
Thank you for the feedback
Comment 5 Mathew Topper 2010-03-27 22:16:26 UTC
Problem persists in amarok-2.3.0-5.fc11.x86_64
Comment 6 Johannes Wienke 2010-04-03 19:34:25 UTC
I can confirm this with 2.3.0. I don't even see the "now playing" message on lastfm.
Comment 7 Leo Franchi 2010-05-04 05:56:13 UTC
the issue is with the cd support---tracks have a length of 0, which messes up the scrobbler, as it requires tracks to be >30s.
Comment 8 Myriam Schweingruber 2010-08-10 10:10:43 UTC

*** This bug has been marked as a duplicate of bug 207806 ***