Now Playing Placeholders
The following placeholders can be used in track templates and fallback templates in the Now Playing and Edit Now Playing Target windows.
| Placeholder | Description |
|---|---|
{{text}} | Uses the Track Template if a track is playing, or the Fallback Template if no track or an ignored track is playing. |
{{artist}} | The artist of the track. |
{{title}} | The title of the track. |
{{type}} | The type of the track, e.g. Song. |
{{path}} | The full path to the audio file. |
{{filepath}} | Same as {{path}}. |
{{intro}} | The intro point in seconds. |
{{duration}} | The full duration in seconds. |
{{outcue}} | The out cue of the track. |
{{segue}} | The segue in seconds (the number of seconds from the end where the cue out point is set). |
{{cuein}} | The cue in point in seconds. |
{{cueout}} | The cue out point in seconds. |
{{genre}} | The genre of the track. |
{{year}} | The year of the track. |
{{activeduration}} | The active duration in seconds (cue out minus cue in). |
{{added}} | The date the track was added to the database. |
{{tags}} | The tags of the track, comma-separated. |
{{comments}} | The comments of the track. |
{{isrc}} | The ISRC of the track. |
{{sweeper}} | Whether the track is marked as a sweeper (True/False). |
{{nofade}} | Whether the track is marked as "no fade" (True/False). |
{{disabled}} | Whether the track is marked as disabled (True/False). |
{{validfrom}} | The Valid From date of the track (format: YYYY-MM-DD). |
{{expires}} | The Expires date of the track (format: YYYY-MM-DD). |
{{trackid}} | The Track ID of the track. |
{{guid}} | The internal GUID of the track. |
{{trackgroups}} | The track groups the track belongs to, comma-separated. |
{{startedUtc}} | The start time of the track in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
{{startedLocal}} | The start time of the track in local time (format: YYYY-MM-DDTHH:mm:ss). |
HTML-encoded placeholders
HTML-encoded versions of these placeholders can be used by prefixing the placeholder name with html-, such as {{html-artist}} or {{html-title}}. This is useful when sending data to targets that expect HTML content.
JSON-encoded placeholders
JSON-encoded versions of these placeholders can be used by prefixing the placeholder name with json-, such as {{json-artist}} or {{json-title}}. The value is escaped so it can be placed safely inside a JSON string, for example an HTTP Web Request POST body:
{"artist":"{{json-artist}}","title":"{{json-title}}"}