Does the tag of the XML result of 'user.getRecentTracks' stand for the moment of the 'scrobble' time ,or the 'play' time of a song?

  • 1
  • 2
  • Question
  • Updated 3 years ago
  • Answered
According to the Last.fm API, the result of 'user.getRecentTracks' is like the following:

<recenttracks user="RJ" page="1" perPage="10" totalPages="3019">
  <track nowplaying="true">
    <artist mbid="2f9ecbed-27be-40e6-abca-6de49d50299e">Aretha Franklin</artist>
    <name>Sisters Are Doing It For Themselves</name>
    <mbid/>
    <album mbid=""/>
    <url>www.last.fm/music/Aretha+Franklin/_/Sisters+Are+Doing+It+For+Themselves</url>
    <date uts="1213031819">9 Jun 2008, 17:16</date>
    <streamable>1</streamable>
  </track>
  ...
</recenttracks>


I would like to know whether <date uts="1213031819"> represents for the actual time
a user started to listen to (or play) this song, or the time that it was scrobbled,
since a 'scrobble' happens in Last.fm only when a song is listened to more than
50% its duration (in default). 

Also, how long has it been since a song is scrobbled only when it is played for
more than 50% its duration?

I came up with these questions while trying to use the 'LFM-1b' dataset. 
It features listening event data of users, in which 'timestamp' of each event is recorded.
The author of the dataset said he used the 'user.getRecentTracks' method,
and these listening events were fetched from January 2013 to August 2014.

To admit, I need data for when a user actually started playing a song, 
not when a scrobble (over 50% of duration) happened.

Does anybody know?
Photo of fooooooo

fooooooo

  • 19 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
  • 2
Photo of Jon

Jon, Community & Customer Services

  • 5170 Posts
  • 3782 Reply Likes
It's the time the track started playing, according to the timestamp provided by the user's scrobbling client.  

Specifically, it's the timestamp parameter provided by the track.scrobble method.

For more information, please refer to the following:
(Edited)