Sockpuppet Blog.

Bulk-editing Bandcamp per-track pricing

Bandcamp recently rolled out bulk editing for albums, but unfortunately it only lets you bulk-edit album prices, rather than the prices of individual tracks within an album. Fortunately, it isn’t too difficult to do this with a little Javascript.

For each album that you want to change the prices on:

  1. Open up your album’s editor

  2. Open up your browser’s Javascript console (usually using ctrl-alt-I on a PC, or cmd-alt-I on a Mac)

  3. Paste in this bit of code (assuming you want to set the price to 1.50 per track in your local currency; change the '1.50' to whatever value you want it to be otherwise) and press Enter:

    document.querySelectorAll('input.price[name^="track.price"]')
        .forEach(e=>{e.value='1.50';e.dispatchEvent(new Event('change'))})
    
  4. Verify that the prices are the way you want them and then click “update album”

Bandcamp Friday picks for December 6, 2024

Hello my lovelies! December 6 is the last Bandcamp Friday of the year. On this day, Bandcamp waives their share of the sale price, leaving musicians with a bit more money from their hard work.

I of course have my latest album, Transitions, and quite a few other albums available, including with a deep discount if you opt to buy my entire discography all at once.

There are also a lot of other artists that I think you should consider supporting!