Last active
March 29, 2016 13:38
-
-
Save gravelld/53d0adfad6c1d611731f to your computer and use it in GitHub Desktop.
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
# Rule to limit track name fields to 100 characters, as per https://sonos.custhelp.com/app/answers/detail/a_id/1552/kw/tag%20character%20limit | |
# Offers a one-click fix to truncate the track name to exactly 100 characters. | |
rule sonosTrackCharLimit with label "Sonos track name character limit" has alternatives | |
100_CHARS { | |
find /^(.{0,100}+).+$/ replace with "$1" | |
} | |
applies to track_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A regular expression rule to identify and fix track names longer than the Sonos character length limit - http://www.blisshq.com/music-library-management-blog/2016/03/29/sonos-character-limits/