Recent updates
[Changelog] June 12, 2024
I've spent the last ~2 months chasing down a lot of bugs, optimizing database queries, and tweaking small things here and there. It's not exactly the most glamorous or rewarding type of code to write 🥱
Fortunately, I just had a 32-hour flight from Cape Town to Los Angeles to visit family, and that meant I had plenty of focus time to get my ducks in a row. I even added a few new features! So, let's dive into what's been cooking!
SubmitHub Links
In case you missed it, SubmitHub Links allows curators and artists to create basic HTML pages that can be shared far and wide. It comes with built-in analytics, can be fully customized, and is completely free!
Here are a few of the newest features:
- Audio previews can now be added
- Social media icons can now be added to the bottom of your Links
- You can instantly create a link from any of your songs
- And you can also create one from any of your artist pages
- I did a rewrite of the way analytics are summarized in the database, which should make the dashboard a lot faster, especially for very active links
- Previously the "id" that you chose for your Link was permanent, but this can now be changed
Cross-platform sharing
The idea is as follows: if a curator finds a song they like and they add it to Spotify, it should also be automatically added to their playlists on other DSPs such as Apple, Deezer, and YouTube.
This is a work in progress, but the foundation has been laid!
- Curators can now connect Deezer and copy a Spotify playlist → Deezer
- The same integration has also been put in place for Apple Music
- YouTube playlists are functional, but I need to go through YouTube's review process to get an increase to our daily API requests (copying 1 song = 50 "requests" for their API, which adds up quickly!). Unfortunately this review process is taking a looooooong time.
There are of course a few other DSPs that could be added, but I'm not sure how well their API will support these features. Tidal is out of the question, but Amazon Music might be an option.
With this impending change in mind, I also spent some time cleaning up the approval prompt for curators, as that was getting a little bit messy.
Miscellaneous
- You can now remove collaborators or swap them around (open a song → Song Info → The Basics → Song Title → Edit)
- Fixed a bug with the "monthly earnings" snapshot for curators which was accidentally double-counting earnings at the start and end of the month
- Revamped the underlying logic of the Hot or Not chart
- Previously I was running a script every 10 minutes that said "find all the songs rated in the last 3 days / 7 days / 30 days, calculate the score, and then rank them," which was really cramping up the database
- The new method does the score calculation on a song-by-song basis
- I'm sure it'll need some tweaking, but it should be a lot easier on the database
- Fixed a couple bugs around the way "quick pitches" were saving with submissions
- We've been asking folks whether they used AI on their songs or not. Sometimes they choose the wrong option, so there's now a way to edit that retroactively from the song info section
- When searching curators, you can now include or exclude inactive curators
Okay, that about sums it up! There's tons of other stuff happening on the back-end (admin dashboard, tickets, monitoring scripts, etc.), but those updates are too secret for me to share 😉
For the next few weeks I'll be spending a lot of time with my family in the States, which means there's likely to be a little bit less in terms of new code features. My main focus in the coming months is continuing to flush out the cross-platform sharing!