No, the "Now Playing" is submitted at the beginning of playback. That's what you're seeing when it says this:
INFO : Attempting to submit now playing information...
INFO : [AS]: Submitted 'now playing' succesfully
The actual track played information isn't submitted until after track playback stops, and only if the user listened to 240 seconds of the track, or length/2. You can see this in the audioscrobbler plugin, __init__.py:
def on_stop(self, type, player, track):
if not track or not track.is_local() \
or track['playtime'] is None:
return
playtime = (track['playtime'] or 0) - \ (track['__audioscrobbler_playtime'] or 0)
if playtime > 240 or playtime > float(track['__length']) / 2.0:
if self.submit and track['__length'] > 30: self.submit_to_scrobbler(track, track['__audioscrobbler_starttime'], playtime)
No, the "Now Playing" is submitted at the beginning of playback. That's what you're seeing when it says this:
INFO : Attempting to submit now playing information...
INFO : [AS]: Submitted 'now playing' succesfully
The actual track played information isn't submitted until after track playback stops, and only if the user listened to 240 seconds of the track, or length/2. You can see this in the audioscrobbler plugin, __init__.py:
def on_stop(self, type, player, track):
(track[ '__audioscrobbl er_playtime' ] or 0) '__length' ]) / 2.0:
self. submit_ to_scrobbler( track,
track[ '__audioscrobbl er_starttime' ], playtime)
if not track or not track.is_local() \
or track['playtime'] is None:
return
playtime = (track['playtime'] or 0) - \
if playtime > 240 or playtime > float(track[
if self.submit and track['__length'] > 30: