Menu

Template variable substitution tokens

The following template variables are used in Metadata Push and in Twitter link text.

Variable Description
%now% Current time in W3C format, e.g. 2010-04-15T13:42:32-05:00
%now[format]% Current time formatted using the php date() function, e.g. %now[g:ia]% is 1:42pm
%an% Artist
%sn% Song name
%sc% Song composer
%sp% Spin timestamp in W3C format, e.g. 2010-04-15T13:42:32-05:00
%sp\[format]% Spin timestamp formatted using the php date() function, e.g. %sp[g:ia]% is 1:42pm
%se% Spin note
%sd% Duration in seconds
%dur% Duration in M:SS format
%dn% Release (album) title
%df% Release medium (format) e.g. LP, CD
%dr% Release year
%da% Add date
%dl% Genre
%ne% New
%rq% Request
%lo% Local
%ua% Cover art URL
%ln% Label name (publiher)
%wn% Playlist title
%pi% Playlist ID
%si% Spin ID
%wc% Playlist category
%ww% Show weekdays, e.g. "Mon, Wed, Fri"
%wo% Playlist start time in HH:MM:SS format
%wf% Playlist end time in HH:MM:SS format
%ws% Playlist since (year)
%wd% Playlist description
%dj% DJ name
%st% Station title
%tpl% Playlist URL
%tdj% DJ page URL
%tsh% Show page URL (if any)
%tst% Station URL
%tsp% Spin URL