Logging Variables

From mAirListWiki

Jump to: navigation, search

This page lists all variables which can be used for log entries (and log file names) and variable substitution in file-related actions.

All variables start with a percentage sign (%) and a single character. Some variables expect a parameter, enclosed in curly brackets.

Variable Listing

(as of mAirList 2.1.43)

Variable Value
%a Artist of the playlist item.
%b Title of the playlist item.
%c{name} Value of a cue marker. Valid names are: CueIn, Ramp, Ramp2, Ramp3, HookIn, HookFade, HookOut, Outro, StartNext, FadeOut, CueOut
%d Actually broadcasted duration (only for stop logging, in mAirList Time Units.
%D Day of the current month (two digits).
%e Actually broadcasted duration (only for stop logging, in seconds).
%E Ending of the playlist item, as set in the properties dialog.
%h Current hour (two digits).
%i{name} Value of the file tag (e.g., ID3 tag) with the specified name. For ID3v2, use the four-character internal ID3 names. Only for file playlist items.
%m Current minute (two digits)
%M Current month (two digits)
%s Current second (two digits)
%t Tab character.
%T{format} Current date and time, formatted with Delphi's FormatDateTime function.
%u{name} Value of an attribute of the playlist item.
%Y Current year (four digits)
%1 Filename (with full path, only for file playlist items)
%2 Filename (without path, only for file playlist items)
%3 Filename (without path or extension, only for file playlist items)
Personal tools