Music library tune-up
When I last wrote about smart playlists, I was proud of my intelligent random song playlist. The rules were simple: only contain songs I haven't heard in the last year, that I haven't skipped more than twice, and haven't been added in the last two weeks.
My thought process for setting rules 2 and 3:
- If I skipped the song more than twice, I probably don't want to hear it (and should consider removing it from my library).
- Sometimes I add music to my library and don't listen right away — the point of the random song playlist is to surface things I haven't listened to recently, and picking something from the last two weeks seems antithetical to the notion.
All well and good, except that the playlist stopped working. When I synced my iPod, play counts weren't being reflected. Even my star ratings weren't saved to my library! This was more than annoying, it's a catastrophe for my smart playlist that is based on when the song was last played.
I consulted with Gemini to troubleshoot1; apparently the latest versions of MacOS don't like it when you manually select music (i.e. drag & drop), so things like star ratings and play counts don't sync to your music library. To get that information synced between libraries, you need to sync your iPod through Finder, de-selecting "manually choose music etc.". It's a nuisance, but I can put up with it if it means my playlists work properly.
Using Finder to sync music worked to fix the problem with ratings, but play count data was lost. None of the music I listened to since switching to manual music management (roughly two weeks) carried over. I tested this by creating a playlist that pulled songs played in the last two weeks; nothing showed until I played a song from the library as a test. This was a problem. Gemini gave me an Apple Script to run that would set the play count to that day's date, which was enough for me — exact 'last played' date was not an important consideration, just that it had been played.
Everything appears to be working now. The random playlist is changing as songs are played, as it's set to live updating. There's a quirk with Apple Music in that the songs it's selecting end up on the playlist in alphabetical order, but that's easily worked around by playing the playlist on shuffle (or just not caring that it's in alphabetical order).2
Now that it's working properly, I can move back to another part of the library tune-up that has my on-going attention: rating my songs.
This project is going to take a long time. I have thousands of songs, and my goal is to rate all of them to be able to make interesting rule-based smart playlists. I can probably go through the library and bulk-rate things but I want to listen to the songs and give them an honest rating, especially since I've come up with a rating system that works quite well so far.
It's possible my system could change, but I believe I've created a simple structure that doesn't leave room for ambiguity.
| ⭐ | I don't like it and should remove from my library |
| ⭐⭐ | I like it, but probably don't want it to appear in playlists or on shuffle |
| ⭐⭐⭐ | Baseline "good" song. I can listen to it multiple times and not get tired of it |
| ⭐⭐⭐⭐ | An excellent track. Among my favourites |
| ⭐⭐⭐⭐⭐ | Top tier favourite song. I could have just these songs in my library to listen to forever on a desert island. |
It's my intention to delete the 1-star entries from the library, even if those songs are part of an album. If I dislike it enough to give it 1 star, then I should remove it from my library.
Reply by email Share this post Mastodon Bluesky
Normally I would skip mentioning use of AI if it's not germane to the blog post. However, in this case I believe it is because I don't believe I would have easily found the solution by normal searching. Between reddit and Apple forums (which are being shut down soon!), information is scattered around and sometimes hard to piece together. I certainly wouldn't have thought to use Apple Scripts (or known how to do so) to fudge play counts of recently-played music that lost play counts.↩
There likely is a way to get the playlist to be truly random and not picking songs in alphabetical order, but so far this is avoiding the problem I ran into before when the playlist was populated with an entire album at one point.↩