Skip to content

Instantly share code, notes, and snippets.

@mishaxz
Last active May 20, 2022 10:13
Show Gist options
  • Save mishaxz/102ad48cfaaa955d3e6d182041ba7dcd to your computer and use it in GitHub Desktop.
Save mishaxz/102ad48cfaaa955d3e6d182041ba7dcd to your computer and use it in GitHub Desktop.
Show Tagger INI file (Configuration)
;------------------------------------------------------------------------------
; .▄▄ · ▄ .▄ ▄▄▌ ▐ ▄▌ ▄▄▄▄▄▄ ▄▄▄· ▄▄ • ▄▄ • ▄▄▄ .▄▄▄
; ▐█ ▀. ██▪▐█ ▄█▀▄ ██· █▌▐█ ▀•██ ▀▐█ ▀█ ▐█ ▀ ▪▐█ ▀ ▪▀▄.▀·▀▄ █·
; ▄▀▀▀█▄██▀▀█▐█▌.▐▌██▪▐█▐▐▌ ▐█.▪▄█▀▀█ ▄█ ▀█▄▄█ ▀█▄▐▀▀▪▄▐▀▀▄
; ▐█▄▪▐███▌▐▀▐█▌.▐▌▐█▌██▐█▌ ▐█▌·▐█▪ ▐▌▐█▄▪▐█▐█▄▪▐█▐█▄▄▌▐█•█▌
; ▀▀▀▀ ▀▀▀ · ▀█▄▀▪ ▀▀▀▀ ▀▪ ▀▀▀ ▀ ▀ ·▀▀▀▀ ·▀▀▀▀ ▀▀▀ .▀ ▀
;------------------------------------------------------------------------------
; 2022.05.18 - v1.10 + [misc]
; 2022.05.18 - v1.20 + [launch]
; 2022.05.19 - v1.25 + [launch]:launchMp3TagIfM4A
;------------------------------------------------------------------------------
; Show Tagger.ini INSTRUCTIONS
;------------------------------------------------------------------------------
; - this is an INI file, if you don't know what one is google it.
; - KEEP A COPY of this file before modifying, in case you screw up
; - if you're smart just use this explanation instead;
; - ; signifies a comment, can only be used on a separate line!!!
; - generally you should only change values (the right side of the equals)
; - in the [acronyms] section you can add keys and values (i.e entire lines)
;------------------------------------------------------------------------------
; NOMENCLATURE
;------------------------------------------------------------------------------
; [section]
; key=value
;------------------------------------------------------------------------------
; - straightforward stuff key/value pairs are in sections
; - keys must be unique
; - you can only create your own keys in the sections where you are invited to
; add your own (it will be mentioned in the comments for the section)
;------------------------------------------------------------------------------
; miscellaneous
[misc]
; you should leave this False
debug=False
[launch]
; this will launchMp3Tag after tagging. You can also use the Show Tagger "mp3tag"
; command-line option
launchMp3Tag=No
launchMp3TagIfM4A=No
; defaults for these tags
; any switches in the show.txt take precedence over the defaults (e.g. KEYWORDS, GENRE, COMMENT switches)
[defaults]
keywords=new
genre=Rock
comment=Tagged by Show Tagger
; Delete Extraneous Files (to Recycle Bin)
[delete]
; Delete downloaded*.txt|.nfo files - these are usually for torrents - e.g. Downloaded from SuperCoolTorrents.txt
deleteDownloadedTxts=Yes
; Delete extra files related to FLAC and SHN (like ffp, md5, st5, shntool.txt)
deleteFingerprints=No
; Delete FLAC files if the # of mp3s = # the of FLACs (useful when converting FLACs to MP3)
; NOTE: This doesn't support deleting FLAC based on # of oggs,m4a,etc. currently only mp3
deleteFLACs=No
; Delete SHN files if the # of mp3s = # the of SHNs (useful when converting SHNs to MP3)
; NOTE: This doesn't support deleting SHN based on # of oggs,m4a,etc. currently only mp3
deleteSHNs=No
; Move Folders to the folder specified by the value (after =)
; BATCH Tagging ONLY (i.e. Show Taggers)
; - Leave Value Blank to NOT Move
[move]
; move the folder containing the show.txt into a sibling folder called (see below) upon successful tagging.
; values you can use:
; album : destination folder will be the name of the Album
; artist : destination folder will be the name of the Artist
; aa : destination folder will be the name of the Arist + Album
; date : destination folder will be the date at the start of the Album
; in the format YY(YY)-(M)M-(D)D or else the whole Album name
; e.g. 1982-07-25 Compton Terrace - Tempe, AZ [AUD-II:Rip Tompkins]
; will extract 1982-07-25
; e.g. It's Too Late To Stop Now = It's Too Late To Stop Now
; anything else: defination folder will be what you specify (e.g. tagged)
moveOnSuccessFolder = tagged
; move the folder containing the show.txt into a sibling folder called (value) upon failed tagging.
movedOnFailedFolder = failed-tagging
; can be the filename (if in the same folder as this .ini) or the full path
[sounds]
; After Success of a Show Taggers Operation
batchSuccess=BatchSuccess.wav
; After Failure of a Show Taggers Operation
batchFailure=BatchFailure.wav
; regexes that perform useful functions. IF you don't know how to construct a regex, google it
[regex]
; Stop Processing this matching line, everything after in show.txt won't be used.
; (any queued song tagging will still take place)
stopLine=(?i)^(SHNTOOL OUTPUT|flac fingerprints|No errors occured|.*cdr\s*WAVE\s*problems|^[[:xdigit:]]{32}|DAT transfer error logs\:|^.*\:[[:xdigit:]]{32})
; Do not Process this matching line as a switch
; example match 13 Pigpen comes on stage/setting up
notSwitch=\bsetting\b
; these are useless lines, if any regex matches then the line will be ignored from processing
; you CAN add your own.. the left side name is not important, it should just be unique and
; should not contain = or ;
[useless]
missing=(?i)\bmissing\b
runtime=(?i)(run|total).*time
; match a line of the same character repeated. https://stackoverflow.com/a/1660739/270143
repeated=^(.)\1{3,}$
; Song Acronym Expander (note: these must be uppercase)
; feel free to add your own! afer you've accumulated a bunch you can even send them to me
[acronyms]
; Gratefulnyms
IMHBTR=It Must Have Been the Roses
GDTRFB=Goin' Down the Road Feeling Bad
; Jerrynyms
TWLWMYD=That's What Love Will Make Yo Do
TWYDTTYD=The Way You Do The Things You Do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment