M3U Playlist Builder: what's handy, and a bug I found

90% of the trouble with Japanese on the Mac comes from file names that aren’t NFC normalized.

I make playlists with my app M3U Playlist Builder, put them on my Walkman, and listen on the go.

The part I’m glad I built is filtering with SQL.

(
  album_artist in ('AiNA THE END', 'アイナ・ジ・エンド')
  or artist like '%AiNA THE END%'
  or artist like '%アイナ・ジ・エンド%'
)
and album not like '%Radio: %'
and title not like '(%)'
and title not like '%Instrumental%'
and title not like '%KARAOKE%'

(In my library, the artist’s name appears in both English letters and katakana, so I list both.)

The SQL condition in M3U Playlist Builder, with the matching songs listed below

Here’s why I like it.

Until now, I found songs by going through album artists, so when a song was on another artist’s album, it was a pain to find. Especially when it was credited together with another artist’s name, like Feat. ....

Listening on shuffle, I go, “Oh, that song that never comes up is playing…”

That alone makes it an app I’m glad I made.

But while listening, I noticed something.

My favorite song, サボテンガール (Saboten Girl), wasn’t playing.

I looked at the list on the Walkman again. It wasn’t there.

When I got home and looked closer (actually, I already had an idea), the m3u file had about 270 songs, but the Walkman showed about 160.

Every song with dakuten in its title was gone. Dakuten are the small marks that turn カ into ガ, something like an umlaut or an accent in other languages. I knew this was a trap, and I still fell into it.

The fix is simple: NFC-normalize the file names written to the m3u. The actual files managed by the Music app seem to be NFD, so I leave them alone.

I fixed it right away and submitted the update.