Skip to content

Instantly share code, notes, and snippets.

@gravelld
Created March 22, 2016 10:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gravelld/f9f99083099502fca22b to your computer and use it in GitHub Desktop.
# bliss regex rule for assessing and fixing disc and track numbers in music files.
# Checks that the selected numeric tags do no have "part of set" delimiters, e.g. "1/12".
# If they do, offer a one click fix to remove the delimiter and total number, e.g. change to "1"
rule partofset with label "Remove part of set" has alternatives
PART_ONLY {
find /([\d]+)//[\d]+/ replace with "$1"
}
applies to disc_number, track_number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment