Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 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
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