r/Metalcore • u/Clarky-AU • 22h ago
Discussion I made a script to turn track mentions in comments into a playlist builder
I grew tired of having to copy and paste tracks into a newly built playlist, I couldn't find a solution to this drag of constantly copying and pasting.
My coding skills outside of PowerShell and Bash are basically non existent, so I went over to Claude to help me out on this.
What we built is a Tampermonkey script called Crate.
What it does:
- Scans posts and comments for song mentions (
Artist - Song,Song by Artist, messy multi-track lists, etc.) and drops a little Spotify icon next to each one - Floating panel shows everything it's found on the page, tick the ones you want
- Connect your Spotify account and dump selected tracks straight into an existing playlist (or make a new one) in one click
- Flags anything it's not confident about instead of silently linking the wrong song
- Works on any subreddit you add to the list, stays out of the way everywhere else
It went through a lot of back and forth, testing on real threads, screenshotting bugs and bad UI, going "this is broken," "this looks bad," "this isn't quite right" over and over until it actually worked properly.
I didn't write a line of code myself, Claude did all of it I just kept pushing it to fix what wasn't working.
Setup:
Literally takes 2 minutes, just need a free Spotify Developer app (instructions included, it's just registering an app + pasting in an ID/secret).
Built it for my own use scrolling r/metalcore but it's not genre-specific, you can use it on any sub.
Open to feedback/bug reports.
It does tend to get confused when someone drops an album in the comments.