Picard Tagger Script Language Definition for Notepad++
First pass at a definition. Still learning how to do this. Save the code as an XML file, then import it to Notepad++.
<NotepadPlus>
<Documentation>
<Author name="Michael Piz, @Piz at musicbrainz.org" />
<Version number="0.0.0 (edit history at end of file)" />
<Copyright info="Copyright 2016 by Michael Pizolato. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Your use of this work constitutes agreement to these terms. License details are available at http://creativecommons.org/licenses/by-nc-sa/4.0/" />
</Documentation>
<UserLang name="Picard Tagger Script" ext="pts" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="yes" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03$noop( 04)</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">% , \</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">(</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">)</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open">$noop(</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close">)</Keywords>
<Keywords name="Keywords1">$add
$and
$copy
$copymerge
$delprefix
$div
$eq
$firstalphachar
$firstwords
$get
$gt
$gte
$if
$if2
$in
$initials
$inmulti
$left
$len
$lower
$lt
$lte
$matchedtracks
$mod
$mul
$ne
$noop
$not
$num
$or
$performer
$replace
$right
$rreplace
$rsearch
$set
$setmulti
$setmulti
$sub
$swapprefix
$trim
$truncate
$unset
$upper</Keywords>
<Keywords name="Keywords2">_absolutetracknumber
_bitrate
_bits_per_sample
_channels
_dirname
_extension
_filename
_format
_length
_multiartist
_primaryreleasetype
_rating
_recordingcomment
_recordingtitle
_releasecomment
_releasegroup
_releasegroupcomment
_releaselanguage
_sample_rate
_secondaryreleasetype
_totalalbumtracks
album
albumartist
albumartistsort
artist
artists
artistsort
asin
barcode
catalognumber
compilation
composer
conductor
date
discnumber
discsubtitle
djmixer
engineer
genre
instrumentator
isrc
label
language
license
lyricist
media
mixer
musicbrainz_albumartistid
musicbrainz_albumid
musicbrainz_artistid
musicbrainz_discid
musicbrainz_releasetrackid
musicbrainz_trackid
orchestra
originaldate
performer
producer
releasecountry
releasestatus
releasetype
remixer
script
title
totaldiscs
totaltracks
tracknumber
work
writer</Keywords>
<Keywords name="Keywords3">audiobook
broadcast
compilation
dj-mix
ep
interview
live
mixtape/street
other
remix
single
soundtrack
spokenword</Keywords>
<Keywords name="Keywords4">_album
_albumArtist
_albumArtistFolder
_albumArtistTrack
_albumFolder
_albumNotes
_albumTrack
_artist
_artistFolder
_artistTrack
_differentAlbumArtist
_discNum
_isSingle
_isUnknownAlbum
_isUnknownArtist
_isVariousArtists
_pattern
_relType
_title
_totaldiscs
_trackFile
_trackNotes
_trackNum</Keywords>
<Keywords name="Keywords5">_kA
_kAlbum
_kAmpersand
_kAn
_kAudiobook
_kBroadcast
_kComma
_kCompilation
_kDJMix
_kDefaultMedia
_kEP
_kEllipsis
_kFolderSep
_kInterview
_kLive
_kMixtape
_kMultiSpace
_kNoTitle
_kNonAlbumTracks
_kNoteBracketLeft
_kNoteBracketRight
_kNull
_kOther
_kPeriod
_kRe3Dots
_kReAnd
_kReArticles
_kReCaseInsensitive
_kReCloseBrackets
_kReEndPeriod
_kReFeat
_kReIllegalFileChars
_kReOpenBrackets
_kReQuestionMarks
_kReQuoteMarks
_kRemix
_kSingle
_kSingleQuote
_kSoundtrack
_kSpace
_kSpokenword
_kThe
_kTrackSep1
_kTrackSep2
_kTrackSep3
_kTrackTxt
_kUnknownAlbum
_kUnknownArtist
_kVariousArtists
</Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00$noop( 01 02) 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="8" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="1" />
<WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="3" nesting="1" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="006000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="006000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="C04000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="E06000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="8080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="256" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="1026" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
<EditHistory>
<Version
date="2016-11-02"
number="0.0.0"
notes="1. Initial version."
/>
</EditHistory>
</NotepadPlus>