Closed kenziewebm closed 3 months ago
Hi! It looks like this isn't an issue with MacOS 12, which I use myself - it's something to do with the way mpd-now-playable is handling your music's tags. My guess is that your current song is tagged with multiple artists, so the artist field ended up being a list of artists instead of a single artist's name.
If possible, would you mind sharing the tags from the current song that caused this? I'll still be able to patch the code to support multiple artists regardless, it'll just be easier to verify that I diagnosed the problem correctly. 🐱
Aha, my guess was correct! I believe the reason ffprobe
displays with semicolons and ncmpcpp
displays with pipes is that the actual file contains neither - instead, it's got two entirely separate tags ARTIST=Future
and ARTIST=Metro Boomin
, and the individual programs processing the tags are making different decisions about how to show that information. mpc status
most likely only uses the first artist tag, ignoring any extras.
Multivalued tags like this are completely allowed and in fact encouraged in Vorbis comment metadata, which is what FLAC files use. So, yeah, I need to patch mpd-now-playable to expect the possibility of multiple tag values. Shouldn't be too complicated. 👍
(sorry for deleting my comment, github made it look like i posted it 7 times and i got scared, but it in fact didnt)
Yeah you appear to be correct - I ran strings
on the file and sure enough:
kenzie@tangela ~ % strings Music/kendrick-and-friends/we\ dont\ trust\ you/01\ -\ We\ Don\'t\ Trust\ You.flac | grep ARTIST
ARTIST=Future
ALBUMARTIST=Future
ARTIST=Metro Boomin
ALBUMARTIST=Metro Boomin
DISPLAY ARTIST=Future; Metro Boomin
kenzie@tangela ~ %
I just published mpd-now-playable v1.3.0, which adds proper handling for potentially multivalued music tags! Artist, album, album artist, composer, and genre are now all treated as multivalued and will work just fine. The MacOS API I'm talking to doesn't support multivalued music tags either, so I currently join up multiple tag values with commas while passing them through to MacOS. Commas looked a bit nicer in the UI than pipes or semicolons to me. 🤷♀️
This new version also adds configuration file support, which is why I bumped the minor version number, but don't worry about that. The new config file will only be needed to access upcoming features I'm still planning. 😉
Thank you so much, I always knew trans furries (bronies?) make the best software
Python version 3.12.4 plsfix?