Last active
July 4, 2017 10:20
-
-
Save gravelld/184e1e78d27ec86ad98040ece8e44d8b to your computer and use it in GitHub Desktop.
A custom regex rule for bliss which moves "The" to the end of an artist name. As documented at https://www.blisshq.com/music-library-management-blog/2017/07/04/reordering-the-artist-name/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Looks for artist names starting with "The" and moves it to the end of the artist name string | |
rule sortorderthe with label "Move 'The' to end of artist names" has alternatives | |
SUFFIX { | |
find /^(?i)(The)\s(.*)$/ replace with "$2, $1" | |
} | |
applies to artist, album_artist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment