Variable descriptions
You may enter any of the following variables into macsig fields to have it replaced by corresponding live data. The "live representation" column of the key-value table shows a preview of what macsig will send to ampsig.
You may enter a variable in the key-value table or in the "status" fields.
When entering variables, use brackets {} but no whitespace within them.
variable | description | example value |
---|---|---|
{album} |
album containing the track |
Dark Side Of The Moon |
{artist} |
artist/source |
Tonic |
{bitrate} |
bit rate (in kbps) |
192 |
{bpm} |
tempo in beats per minute |
135 |
{comment} |
freeform notes about the track |
And you gotta take a little dirt... |
{composer} |
composer |
Beethoven |
{dateadded} |
date the track was added to the playlist |
8 May 2005 |
{genre} |
music/audio genre (category) |
Rock |
{grouping} |
grouping (piece or movement) |
90's |
{hrs} |
duration (hours portion) |
0 |
{kind} |
a text description |
MPEG Audio File |
{lastplayed} |
date and time this track was last played |
7 July 2005 |
{mins} |
duration (minutes portion) |
3 |
{mm:ss} |
length in MM:SS format |
6:32 |
{name} |
name or title |
Money |
{playcount} |
number of times this track has been played |
3 |
{rating} |
user rating of this track (0 to 100) |
60 |
{seconds} |
length in seconds |
392 |
{secs} |
duration (seconds portion) |
14 |
{tracknumber} |
index on the source album |
5 |
{year} |
year the track was recorded/released |
2005 |
variable | description | example value |
---|---|---|
{uptime} |
how long the computer has been on, in seconds |
107100 |
{uptimestring} |
how long the computer has been on, human-readable |
1 day, 5:46 |
{whoami} |
short name of current logged-in user |
pcheese |
variable | description | example value |
---|---|---|
{user} |
username used for authentication |
pcheese |