Template fields
When using templates (for example in :move t=), TagSelecta exposes a TagDataForTemplate object.
All fields are strings unless stated otherwise. List fields are provided both as a joined string and as a list.
Notes:
Yearis parsed fromDateonly ifDatematches one of:yyyy,yyyy-MM-dd,yyyy/MM/dd.Extrafields are accessed via dot notation (example:extra.url).pad(...)function zero-pads a field (commonly thetrackfield), e.g.pad(track).
album: Album name. Example:Selected Ambient Works 85-92albumartist: Album artists as a single string. Example:Aphex Twinalbumartists: List of album artists. Example:["Aphex Twin"]artist: Track artists as a single string. Example:Artist A; Artist Bartists(list): List of track artists. Example:[ "Artist A", "Artist B" ]bpm: string. Beats per minute. Example:128catalognumber: string. Catalog number. Example:WARPCD01comment: string. User comment. Example:Ripped from CDcomposer: string. Composers as a single string. Example:Composer Acomposers: list. List of composers. Example:[ "Composer A", "Composer B" ]conductor: string. Conductor name. Example:John Doecopyright: string. Copyright text. Example:© 1993 Labeldate: Original date value as stored in tags. Example:1993-03-01disc: Disc number (raw value from tags). Example:1disctotal: Total number of discs. Example:2ext: File extension (without the dot). Example:flacfilename: File name without extension. Example:01 - Titlegenre: string. Genres as a single string. Example:Ambient; Electronicgenres: list. List of genres. Example:[ "Ambient", "Electronic" ]isrc: string. ISRC code. Example:GBXYZ1200001label: string. Record label. Example:Warppath: Full file path. Example:/music/Artist/Album/01 - Title.flacpublisher: string. Publisher/organization. Example:Warp Recordstitle: Track title. Example:Xtaltrack: Track number (raw value from tags). Example:1tracktotal: Total number of tracks. Example:12year: Year extracted fromdate(if parseable). Example:1993extra: Extra fields as a map. Usage:{{ extra.url }}