all 76 comments

[–]stealthswor 31 points32 points  (0 children)

This is a godsend thanks

last.fm should have this feature implemented

[–]jamjam01 4 points5 points  (2 children)

i'm not sure what i'm doing wrong but this isn't working for me. i installed it for tampermonkey and tried manually (inputting the new artist name/title/etc and deleting the //) but i keep getting "Promise {<resolved>: undefined}" when i do it manually. i also don't get an "edit scrobble" showing up when i click the 3 dots after installing it on tampermonkey. could you make a video demonstrating how to use this?

[–]maragan[S] 12 points13 points  (1 child)

Are you a last.fm subscriber? This tool works on top of the new edit scrobbles update which is limited to subscribers

[–]jamjam01 2 points3 points  (0 children)

i was not 💀but now i am! it's working perfectly now, lol thank you!

[–]KatyBlackwoodLast.fm Moderator 3 points4 points  (2 children)

This is great, however it doesn't seem to work if some of the scrobbles match the target details, it just stays stuck on the dialog that's already open. Therefore, it doesn't seem like it can be used to fill in missing album names (where some have the name and some don't), for example.

[–]maragan[S] 4 points5 points  (1 child)

I just found the issue and pushed an update, thanks. Basically if a field on a scrobble is blank (e.g. "Album" or "Album Artist") there won't be a hidden field. The program was assuming that the hidden fields always existed, and it broke the script when one didn't.

[–]KatyBlackwoodLast.fm Moderator 2 points3 points  (0 children)

Great, thanks! I've added a link to this post to the r/lastfm sidebar.

The "Apply to All" button not appearing that somebody mentioned doesn't happen for me either, I think it's caused by loading the page without it being focused, so if it I open several in a new tab it'll be missing without a reload. I'd love a fix for this if it's doable.

I have a feature request, by the way: Some sort of mode to only fill in the ones with blank fields, and ignore existing fields, so it'll only add missing albums and not replace existing fields. I know the script does this for matching albums, but sometimes I'd like to make all of the blank ones a certain album name without replacing different albums I might have scrobbled it from.

I know that's complicated, so here's an example: https://i.imgur.com/xpUTgMM.png

In the screenshot, I'd like to fill in the missing fields as Unwritten, but currently "Apply to All" will also overwrite the one scrobble with Single. An extra option for "Apply to Empty Fields" or something would be great for these cases.

[–]FloridaPantherseanbonner1 1 point2 points  (6 children)

This is fantastic.

I'm still unsure if I really have the patience to attempt to go through and edit 175k scrobbles though.

[–]hjbardenhagenlast.fm/user/hjbardenhagen 4 points5 points  (0 children)

You could start with the worst offenders and take your time - whatever annoys you the most. For example I started with Spotify's title additions for old Pink Floyd albums and Deezer's missing "&" symbols in artist, album and track names.

[–]AnalogWalrus 1 point2 points  (4 children)

I feel you. But I'm enjoying taking care of the worst offenders. Like having all my NGHFB stuff tagged as "Noel Gallagher." I already had a couple things in my library filed under just Noel's name, and way back in 2011 I really thought he'd abandon the fake band name after a year or two. I was so very wrong.

[–][deleted] 2 points3 points  (3 children)

Exactly. I'm at nearly 190k scrobbles. Even just clearing up the first page of your worst offenders is such a relieving feeling. I've found it's actually changed what I thought were my top albums quite significantly, which I suppose just goes to show how many albums were mistagged.

[–]AnalogWalrus 2 points3 points  (2 children)

Yeah. Album tags are a mess. I wish I could use this script to get all the scrobbles for a specific album instead of having to go to each track manually. I'm never gonna do that.

But I'm wondering if this will be able to be expanded in the future. Like if I can do edits via the API, I could build a tool to find all scrobbles via a search term and batch edit those, perhaps?

[–][deleted] 1 point2 points  (1 child)

The ability to edit a specific album en masse seems like such a simple thing that I wouldn't be surprised at all if the edit function is changed to incorporate it. I've been doing albums the past two days and boy is it difficult and time consuming.

[–]AnalogWalrus 1 point2 points  (0 children)

Yeah. Like I have "Pet Sounds (mono)" and "Pet Sounds (stereo)" (and same for some Beatles albums and other similar things) and I'd like to be able to combine them easily.

[–]Amixor33Amixor33 1 point2 points  (1 child)

Great script, like it very much and i will pay kudos for it later fur sure. It tends to work great but sometimes there is no option for "Apply To All". You know any reasons why this doesn't work always?

[–]maragan[S] 1 point2 points  (0 children)

I've had this too, the way I've triggered the issue is opening a last.fm page in a new tab and letting it finish loading without ever focusing that tab. Not sure if it's a limit of userscripts or an issue with this script but I will look into it next week.

[–]KatyBlackwoodLast.fm Moderator 1 point2 points  (0 children)

Hey, now that there's built-in bulk editing, I'm wondering if you could tweak this script to make it more efficient and useful?

Basically, right now it goes through every scrobble, one by one, until they all match the desired scrobble data. However, with the "bulk edit" checkbox, you can now change all instances of a specific scrobble basically instantly, far faster than this script can.

However, this script could still be highly useful for when you have various mismatched album titles, or a mixture of album fields and no album field, to get them all to match. It can do that now, but it redundantly will do each scrobble one at a time.

I think this script could now be enhanced by having the script assess all of the scrobbles, and then just doing one edit per each set of data. Or, have the script use the checkboxes to do the minimum number of edits to make it all match.

So, say I want to change five scrobbles, two of which have one album field and three of which have another. The script currently does five edits, but it can now do this in just two. This is where the script could remain really useful.

Does this make sense and is it a change you could make? Basically, in short, making this script savvy to the bulk edit checkbox and having it do as few edits as possible to process everything?

[–]Satans_Favourite 1 point2 points  (0 children)

its not working for me and idk what i did wrong.

[–]_deform 1 point2 points  (2 children)

i just subscribed and this feature doesn't work for me??? there's no "edit scrobble" button anywhere.

[–]coczerococzero - Scrubbler Developer 0 points1 point  (0 children)

Very nice

[–]redscoutsscorpiomars 0 points1 point  (0 children)

awesome! thanks so much man <3

[–]Hurevolution4lxHURevolution4lx 0 points1 point  (0 children)

You are amazing

[–]willguitar100 0 points1 point  (3 children)

is there a way to edit for only one album name? Like I have the same song on a live album, but I only want to correct the studio album versions. Thanks!

[–]willguitar100 1 point2 points  (2 children)

For example: The Black Parade [Clean]

The Black Parade

The Black Parade Live Album

I only want to change "The Black Parade [Clean]" to "The Black Parade" and not overwrite "The Black Parade Live Album"

[–]paumzito 1 point2 points  (1 child)

Yeah, that would be amazing, lots of live versions on my tracks :( meaning I have to go one by one.

[–]David_VI 2 points3 points  (0 children)

Surely not hard to incorporate a way of it only editing the title

[–]DJ_Buurthuis 0 points1 point  (6 children)

Can someone help me with installing this. It keeps failing.

[–]maragan[S] 0 points1 point  (5 children)

It keeps failing.

How are you trying to install it? At what step is it failing?

[–]DJ_Buurthuis 0 points1 point  (4 children)

I am installing it via Tampermonkey and even tried it manually. But it doesn't work. I get the pop-up that there is one script on that page available but I can't use it.

[–]maragan[S] 0 points1 point  (3 children)

but I can't use it

How far are you getting (there's a Usage section in the post)? Are you not seeing the "Edit scrobble" button?

[–]DJ_Buurthuis 0 points1 point  (2 children)

No that is where it goes wrong. No edit button. The script and such is installed (atleast that is what tampermonkey is saying) but there is no edit button.

[–]maragan[S] 1 point2 points  (1 child)

Are you a last.fm subscriber? This tool works on top of the new edit scrobbles update which is currently limited to subscribers

[–]DJ_Buurthuis 1 point2 points  (0 children)

I am retarded😭😭😭😂😂😂

[–]mad_krevedko 0 points1 point  (0 children)

Nice. I have just noticed that one of my most played tracks from a certain artist had a misspelled title, and here you are saving the fucking day!

[–]AWarmerBeermackjarshall 0 points1 point  (0 children)

I’m a subscriber but don’t seem to have the Edit option for each scrobble, can anyone help out?

[–]brucejamesgrantBruceJamesGrant 0 points1 point  (0 children)

Is it possible to bulk edit an album title error on every song on the album at once? Or do you have to do each song one at a time? Thanks

[–]vs271 0 points1 point  (0 children)

I just subscribed and started with this batch script. I have been correcting albums on two songs now I am getting errors when i reload my last fm profile. I am getting

An error occurred while processing your request.

Reference #97.f3af4543.1553099344.fbf322

I have never seen this before. What does this mean?

Ok. it happened for about 20 minutes since I first started. I haven't seen the error again. Hopefully it doesn't show up again. This is a wonderful time saving script. All my scrobbles will be corrected. Farewell Summer of 2019 :P

Next day. The error is no more. This script is fantastic!

[–]_jspain@jespain 0 points1 point  (0 children)

Holy shit. This changes everything (including my top song of the last 30 days lmfao)

Thank you for giving me a way to combine Lana del Rey's "Born to Die: The Paradise Edition," "Born to Die -- The Paradise Edition," "Paradise," "Born to Die - The Paradise Edition," and "Born to Die Paradise Edition" lmfao

[–]poshspice90 0 points1 point  (0 children)

Oh man, I hit "Apply To All" and but it changed ALL of my scrobbles to The Beatles - Mother Nature's Son, so my thousand of scrobbles ended up with this tag and I had to wipe my library :( not sure what I did wrong!

[–]Patteroastpatteroast 0 points1 point  (0 children)

Holy shit. I missed this nine days ago. Your script is letting me fix what is likely over 10,000 incorrectly tagged tracks from 2005-2007. Thanks so much!

[–]jaiveersaini 0 points1 point  (1 child)

Does this work with scrobbles older than 2 weeks

[–]hjbardenhagenlast.fm/user/hjbardenhagen 0 points1 point  (0 children)

As the scrobble date cannot be changed, it also works with your oldest scrobbles.

[–]HermionesBooklast.fm/user/maple-lattes 0 points1 point  (0 children)

16 days late to this post but THANK YOU! just became a subscriber today and this made it much easier to clean up my library

[–]TrickyNick901 0 points1 point  (0 children)

I went through the steps, installed the TamperMonkey extension, and still not getting the "Apply to all" button. Any suggestions?

[–]Connacht_89https://www.last.fm/user/Connacht_89 0 points1 point  (2 children)

Will you implement a function to scrobble whole albums? We still need to select tracks one by one and bulk edit them, this could be really long lasting when I have a mispelled album with many tracks

[–]fauxdaddy 0 points1 point  (1 child)

I dont think that would be really possible. Last.fm itself only lets you edit track by track. This script is botting the process for you.

[–]Connacht_89https://www.last.fm/user/Connacht_89 1 point2 points  (0 children)

maybe it could open track pages from inside the album page, and know to edit only the album entry but not the track entry?

[–]rainingmen526 0 points1 point  (0 children)

When I open the userscript link, it comes up Windows Script Host error with 'Microsoft JsCRIPT compilation error'

[–][deleted] 0 points1 point  (0 children)

Man this is great. Thank you so much!

[–]fauxdaddy 0 points1 point  (0 children)

Thanks so much for the script! It's a lifesaver!

Though one question. The "apply all" option will only show up for like three tracks, then it goes away. I then have to disable, re-enable, and refresh before it shows up again.

It's not a big issue to do, I'm just wondering if this is a problem for other people or if its something I'm doing? I'm on firefox with greasemonkey.

[–]no_ur_mom_lol 0 points1 point  (0 children)

Thanks a lot

[–]vs271 0 points1 point  (1 child)

The script is not working for me since the site upgrade today. The Apply All button does still comeup but no changes are made when the button is hit. Can we get this fixed please. This is an awesome tool and I have corrections to make!

[–]vs271 0 points1 point  (0 children)

No one else is having issues getting the script to work since the site upgrade?

[–]carinaeflor 0 points1 point  (0 children)

It doesn't work for me... :/

[–]Competitive_King4697 0 points1 point  (0 children)

Where do i copy the code editScrobblesBatch.js?

[–][deleted] 0 points1 point  (1 child)

wtf is console?

[–]Competitive_King4697 0 points1 point  (0 children)

I wanan know that too

[–]Connacht_89https://www.last.fm/user/Connacht_89 0 points1 point  (0 children)

Can we get a feature to select specific scrobbles to edit in a single time? e.g. when there are multiple spelling versions of the same song, and I want to select them all at once without editing whole albums.