kylekingcdn / music-library-exporter

A lightweight macOS app used to automatically generate (and customize) an Apple Music/iTunes Music Library XML file.
https://music-exporter.app
GNU General Public License v3.0
60 stars 1 forks source link

Retain Music's custom sorting behaviour for article prefixes #76

Closed kylekingcdn closed 1 year ago

kylekingcdn commented 1 year ago

Music/iTunes drops articles (a/an/the) from the beginning of implicit sort for artist, album, album artist, etc.

This behaviour should be replicated (when overriding playlist sorting) to make the difference in MLE/Music exports more transparent.

A SortPrefixLoader protocol should be created to load sort prefixes based upon locale. Implementations of this protocol depend on whether MLE is ran via CLI or an application (since CLI programs cannot contain .strings in a bundle).