GSoC 2025: Importing listening history files

Hi,

Thanks for the feedback! I’m glad that this is very useful to you :slight_smile:

Regarding the queries,

  1. Yes, it should not include the podcasts and audiobooks as we take the spotify_track_uri from the extended streaming history, whereas the podcasts have other fields like spotify_episode_uri

  2. If the songs have no artist name and track name then we would be submitting a blank listen to Listenbrainz and I think it takes care of it. It should not be imported.

  3. Yes, you’re right. It doesn’t do this as of now as Spotify doesn’t give the total duration of the track to determine a valid listen.

  4. Yes. We only consider the audio listen files.

  5. We also get additional data regarding the track from the Listenbrainz cache and Spotify API also as a fallback if the cache doesn’t contain the information about the track.

2 Likes