I wasn’t expecting a second part for this, but I’ve had to keep tweaking my project to auto-post content to Bluesky based on my Spotify activity.
I found that some of the updates that ChatGPT was helping me with actually broke existing functionality that we had working. Not sure what was causing that since I expected the AI to keep track of what had been developed, and pull from that when making updates and new functionality. Unfortunately, that simply wasn’t the case.
After troubleshooting database connections, authentication issues with both Spotify and Bluesky, trying to format text, I managed to get most everything working. I’ve rescheduled my cron job to look for new liked songs, or songs added to a playlist to an hourly basis. I had hit limits with Bluesky by logging in every 15 minutes. I’m not changing things that frequently to need to login so often.
Today, I expanded functionality a bit further… I’m now querying the API for what I’m currently playing and posting that. If nothing is playing, nothing is posted. If I play something on repeat, I only post it once. There’s some more testing to be done, along with seeing if I hit Bluesky’s limits again, but I think it’s working pretty good so far.
I think the next step I want to take is to expand my weekly recap to include the top 5 songs I played during the week. Maybe I could include some sort of graphic to go with it. I’ll come back with a part 3 when I work on that.
Leave a Reply