ListenBrainz

Room ID: !eCpNNRGiaOtkqENwWi:chatbrainz.org

suvid
Sure, I'll answer it there :)
Blastboom Strice
reacted 🧡 to message
suvid
Answered!
Blastboom Strice
Thanks! :))
Blastboom Strice
I tried inspecting the code but I dont know much haha
Blastboom Strice
Thought it might be better asking on the forum so that others will also know
Blastboom Strice
Very cool
Blastboom Strice
Improrting😁
mahak05379
@_discord_850732910523973653:chatbrainz.org joined the room
nanja.at.web
@_discord_297983369906749440:chatbrainz.org joined the room
monkey

elkiensad, Blastboom Strice : Any feedback on the importer? Everything working as you expect?

I'm taking note of the duplicates issue, I really wish the de-duplication code was a bit more laxe to really catch dupes...

elkiensad
monkey well, spotify's duplicate situation sucks hard
elkiensad
https://listenbrainz.org/user/egecelikci/?min_ts=1403260641
elkiensad
you can skim through
elkiensad
also
elkiensad
I had this issue
elkiensad
I had to trim the zip down manually
elkiensad
my export is 611.2 mb (zip is only 44 mb though) (edited)
elkiensad
Other than that, I can say it's not much different from scotty and elbisaur. It just has a better UX and is a nice option for end users.
elkiensad
elkiensad
works well, I can send both my LB and Spotify export if anybody is interested
elkiensad
It's also nice that we can choose a specific day for the importer's end and start date, but I'd like to be able to choose a specific time as well (like the hour selection in manual addition).
Blastboom Strice
reacted 👀 to message
Blastboom Strice
reacted 👍 to message
elkiensad
I believe that many of them can be solved with a few logics, even though 100% accuracy seems impossible.
elkiensad
Blastboom Strice

It works well I'd say

About deduplication, the period I imported had only one day of overlap with my history and I noticed it detected and didnt import any duplicates

Blastboom Strice
Didnt have to change anything
elkiensad
I had to delete ~130 listens for overlapping
Blastboom Strice
Oof
Blastboom Strice
I dont listen much music, mayhe thats why
elkiensad
its easy to solve thanks to elbisaur though
Blastboom Strice
That day had like 30songs
elkiensad
Spotify's old data is definitely less accurate.
Blastboom Strice
Btw my new extended history got in my email today
elkiensad
there's not much ListenBrainz can do
Blastboom Strice
I noticed there are some small differences, somehow for example some tracks on the new history dont have an offline timestamp
Blastboom Strice
And other weird stuff
Blastboom Strice
I suppose it'd work the same though
kellnerd
Hmm, I haven't actually tested it, but having looked at the code I see two potential improvements.
elkiensad
of course, we can import general listening patterns quite well now. I can say that many artists came to my top artists tab.
Blastboom Strice
A funny ui thing was that I expected the page to tell me everything was imported and was afraid to press the 🔄 button so I left the page on for like half an hour (the import probably took a minute)
elkiensad
reacted 😭 to message
Blastboom Strice
(Didnt read the "its safe to close this page now while listenbrainz imports")
monkey
reacted 👀 to message
kellnerd
  1. There is no filtering of listens at all. As already mentioned, it is probably impossible to get this right for everyone, but the elbisaur docs have a few ideas.
elkiensad
reacted ❤️ to message
monkey
reacted 😔 to message
Blastboom Strice

Btw here the developer told me what the importer filters (essentially anything that isnt a track and anything invalid)

https://community.metabrainz.org/t/gsoc-2025-importing-listening-history-files/750069/11

(edited)
Blastboom Strice
Blastboom Strice
reacted ❤️ to message
kellnerd
Yeah, but no filtering for incomplete listens, that's what I meant.
Blastboom Strice
reacted 🧡 to message
elkiensad
Spotify data needs many filters
kellnerd
  1. Spotify timestamps are taken as truth. Spotify logs the time when a listen ended, but LB wants to collect start time according to the docs. But I think this is also what the Spotify-LB sync does, so it might work better (i.e. with less duplicates) for users which also use that (not me).
Blastboom Strice
Message was redacted.
Blastboom Strice
image.png
Blastboom Strice
Left is from 2025-09-01
Blastboom Strice
Right is from 2024-03-09
kellnerd
And then there are the occasional cases when the timestamp is completely off (by hours/days), which can be corrected using the offline timestamp, if present.
Blastboom Strice
Blastboom Strice
image.png
Blastboom Strice
lol had some private data leak
Blastboom Strice
fixed
Blastboom Strice
reacted 😮 to message
Blastboom Strice
reacted 👍 to message
Blastboom Strice
Btw I also tried the listenbrainz importer on my alt account
Blastboom Strice
Very quick as well
Blastboom Strice
Which too doesnt have any advanced filters
monkey
Thank you for the feedback!
Blastboom Strice
reacted 🧡 to message
szepix
@_discord_139826827395858432:chatbrainz.org joined the room
szepix
Is the beta for the iOS app closed? I wanted to join it :/
thekiefs
@_discord_341737348050059264:chatbrainz.org joined the room
monkey
Pinging jasje for LB iOS questions ^
jasje
Hi, we’ll renew beta for LB iOS soon, we are facing some developer account issues that need to resolved.
monkey
I've compiled the importer feedback into https://tickets.metabrainz.org/browse/LB-1825 , but please feel free to write your comments on the ticket if you run into more issues or inconsistencies
BrainzBot (IRC)
LB-1825: Feedback for history file importer
Blastboom Strice
reacted 🧡 to message
kellnerd
reacted 🧡 to message
Blastboom Strice

We use recording-level genres. For Genre-Based Listening Patterns, each listen is joined on its recording_mbid to a precomputed recording → genre table. So the stat effectively pulls genres at the recording granularity (not artist-only like PanoScrobbler’s tag cloud). Any cross-entity propagation (e.g., from artist/release/release-group) would happen upstream when that recording→genre table is built, but this feature itself queries recording genres and aggregates the results.

Blastboom Strice

If you can help me here, I suppose that when you add a genre to an artist or a release group, they get propagated to the recordings, right?

So essentially this brings genres from all of the entities that are at the recording level and above(?)

nintendoeats
@_discord_399569277079781377:chatbrainz.org joined the room
Noé Lopez
@noe.lopez:matrix.org joined the room
aerozol
reacted 🧡 to message
earthbasetwo
@_discord_259812744893562883:chatbrainz.org joined the room
earthbasetwo
i just connected my last.fm account and the "import status" is "N/A". gray background and 0 listens imported. pressing refresh doesnt change it. how can i kick off the import process?
elkiensad
disable and re-enable it
earthbasetwo
got a little toast saying it was importing stuff. waited a min or two, no change in status
elkiensad
could take a while to start
elkiensad
but it should
earthbasetwo
okay i'll wait. thanks
earthbasetwo
nice, it worked