#some spotify imports missing?

13 messages · Page 1 of 1 (latest)

dapper locust
#

hello !!! i would like to start by saying other than this one little issue i love this bot and appreciate you guys very much for running it so thank you for your service!!!!

i recently got supporter and imported my spotify history and was looking through my new stats like a nerd when i noticed that one song had alot less scrobbles than i thought it would (10)

so i went to my files app, found the json files where i listened to that song the most, and used the search feature thing to find every time i listened to it. i found AT LEAST 50 instances where i listened to the song in its entirety. this is the only example ive noticed so im not sure if theres any more

the artist name and song name havent ever changed so i dont think thats it. is there anything else that could be causing this? something im missing? i am currently using “imports until full last.fm” setting if thats important.

thank you in advance for your time

gloomy onyx
#

hey, what song is this on?

dapper locust
#

sorry i fell asleep i posted this at 3am

gloomy onyx
#

No worries, we're probably in different timezones anyway

#

Can you also dm me your files?

#

I'll investigate it in a bit

dapper locust
#

okay

gloomy onyx
#

So I figured it out. It's a bit of an edge case with a technical explanation.

So when you import, we check if something is a valid scrobble/play. We only count it when it meets the following conditions:

  • The track must be longer than 30 seconds.
  • And the track has been played for at least half its duration, or for 4 minutes (whichever occurs earlier.)

Fairly straightforward and almost always works.

In the case of Aria - Blue Chanel this is a bit different. For some reason we don't know the track length. Last.fm doesnt know it and the Spotify API weirdly doesn't return the track.

When we don't know the length of a track, we use the average track length of an artist instead. Which means that if your imported play was over half of the average artist track length, we count it. This usually works great.

However, for Aria the average artist track length is almost 5 minutes. This is because an artist with the same name has some very long tracks which messes with the averages.

So that results in:

  • Average track length for artist Aria: 5:01
  • Aria - Blue Chanel length: 2:24
    = wrongly reported as not a real play
#

To fix this I will adjust the import checker so that if the artist track length average is very high we lower it back to a more baseline value.

gloomy onyx
#

This should now be fixed. Try re-running your imports

dapper locust
#

thank you for putting in the time to figure that out i appreciate you