Manually importing logged plays

I used to log my plays at last.fm, but at some point this year my scrobbler broke. It stopped sending the scrobbles, but kept logging them into a txt. Right now I have Unix timestamp, artist, album, tracknumber and playtime of ~7K plays. Is there a way for me to upload that data manually via CSV or something like that?

There’s no direct way to do it, but this looks scriptable. You could convert the text file to the listen json format then use Elbisaur to convert it.

I got no idea what format your scrobler outputs so can’t help you further

1 Like

Thank you for the pointers, RustyNova.

I managed to convert my data to the rockbox TSV format.

Unfortunately I was not able to run the Elbisaur or other scripts I found (like GitHub - Coloradohusky/ListenBrainz_File_Parser: Parses database files from different music listen tracker applications, and imports them into ListenBrainz) because the run instructions are a bit too complex for me.

I tried GitHub - AnotherStranger/rockbox-scrobbler: A utility to send a rockbox .scrobble.log to ListenBrainz because it seemed straightforward even for me. It validated my data, but generated errors while submitting to LB.

Nonetheless now that I have the data in a standard format I think it will be easier to find an answer.

Pinging @kellnerd, the creator of elbisaur, who might be interested in clarifying any instructions you didn’t understand?

He was very helpful when I had trouble deleting listens with elbisaur, the instructions for which I put in the wiki: listenbrainz/elbisaur - MusicBrainz Wiki

1 Like

Let me know where you got stuck, I think I should be able to help you. Are you familiar with using a command line terminal?

Thank you for the support.

To be perfectly transparent I did not spend a lot of time trying to troubleshoot Elbisaur because after RustyNova’s comment I manage to find out a more traditional program (just download it and run). It did not work the first time, but I am talking to the dev (who seem to be another kind person like you) to troubleshoot it.

For Elbisaur, if I understood it correctly, I have to install deno first. But I found no installer and the instructions just listed a command that my system did not recognize.

I can run commands in terminal, but most of the time I have no idea what they are doing so I am a bit weary.

1 Like

This is kinda my only grip with Elbisaur. Having to download the whole Deno runtime just to run a CLI app aint the best user experience.
I don’t have an alternative for batch listen inserts right now but if anyone really wants something done I can do it.

It is just a single executable file, for what it’s worth. You don’t really need the Bash or PowerShell install command which they suggest on their homepage, you can just download the binary and put it into a directory which is in your PATH environment variable.

I could also compile elbisaur into a standalone binary with deno compile if there is a demand for that. The resulting binary embeds the script runtime, so that is probably ok if that’s your only contact with Deno. But as soon as you are using multiple Deno scripts, it starts to get pointless having multiple fat binaries instead of one Deno binary which is used by all of them.

True. But for new user it’s kinda complicated for those that aren’t used to. Although Aerozol’s guide should be enough

Thank you all for making the transition smoother for us noobs.
FWIW I solved my specific problem with Rockbox-scrobbler.
Even after kellnerd comment and rereading Aerozol’s guide I still do not know how to install deno. I did not find the deno runtime in the official page.

1 Like

Certified xkcd moment

Couldn’t help you on that. Never installed deno, and I’m on Linux -_-’

1 Like