User Tools

Site Tools


reference:logging_variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
reference:logging_variables [2016/09/21 10:51] – [Information about the item being played] twreference:logging_variables [2020/08/05 07:51] – [General variables] moved new variables to another part ulinobbe
Line 10: Line 10:
 | %m | Current minute as MM | | %m | Current minute as MM |
 | %s | Current second as SS | | %s | Current second as SS |
-| %w | IOS8601 week of the year |+| %w | ISO 8601 week of the year |
 | %T{Format} | Current date/time, using ''FormatDateTime'' formatting (see below) | | %T{Format} | Current date/time, using ''FormatDateTime'' formatting (see below) |
 | %S{Format} | Start time in ''FormatDateTime'' formatting (used for stop logging) | | %S{Format} | Start time in ''FormatDateTime'' formatting (used for stop logging) |
Line 19: Line 19:
 | %R{Key} | Runtime data | | %R{Key} | Runtime data |
 | %# | Total number of current listeners on all encoder connections | | %# | Total number of current listeners on all encoder connections |
 +| %${Digits} | Index of file (used for file export with custom filename pattern) |
 +| %x | Computer name |
 +| %X | Instance name |
  
 ===== Information about the item being played ===== ===== Information about the item being played =====
Line 24: Line 27:
 | %a | Artist | | %a | Artist |
 | %b | Title | | %b | Title |
-| %l | Total duration, in sections with fractions |+| %l | Total duration, in seconds with fractions |
 | %l{Format} | Total duration, in ''FormatDateTime'' format | | %l{Format} | Total duration, in ''FormatDateTime'' format |
 | %L | Total duration, as HH:MM:SS | | %L | Total duration, as HH:MM:SS |
Line 30: Line 33:
 | %e | Actual playback duration, in seconds with fractions (for stop logging) | | %e | Actual playback duration, in seconds with fractions (for stop logging) |
 | %e{Format} | Actual playback duration, in ''FormatDateTime'' format (for stop logging) | | %e{Format} | Actual playback duration, in ''FormatDateTime'' format (for stop logging) |
 +| %p | Effective playback duration, in seconds with fractions |
 +| %p{Format} | Effective playback duration, in ''FormatDateTime'' format (from v6.3 on) |
 +| %P | Effective playback duration, as HH:MM:SS |
 +| %F | Projected finish time (start time + duration), in ''FormatDateTime'' format |
 | %c{Type} | Cue marker, in sections with fractions | | %c{Type} | Cue marker, in sections with fractions |
 | %E | End type | | %E | End type |
-| %f | Effective playback duration, in seconds | 
-| %F | Effective playback duration, as HH:MM:SS | 
 | %I | Item type (internal identifier) | | %I | Item type (internal identifier) |
 | %J | Item type (human readable) | | %J | Item type (human readable) |
Line 47: Line 52:
 | %4 | Filename without path, first character only | | %4 | Filename without path, first character only |
 | %i{Key} | Raw file tag data | | %i{Key} | Raw file tag data |
 +===== Additional variables for HTTP POST multipart/form-data logging =====
 +
 +The following variables are only supported in HTTP POST multipart/form-data logging.
 +
 +They must be typed into the "value" field as is, with no other strings/variables around them.
 +
 +| %ALBUMART | Album art (if available), as binary form data (from v6.3.3) |
 +
  
 ===== Additional variables for playlist/advertising import (filename pattern) ===== ===== Additional variables for playlist/advertising import (filename pattern) =====
Line 55: Line 68:
 | %N | Region number | | %N | Region number |
 | %2N | Region number, two digits, leading 0 | | %2N | Region number, two digits, leading 0 |
-| %2N | Region number, three digits, leading 0 |+| %3N | Region number, three digits, leading 0 |
  
  
Line 67: Line 80:
  
 For example ''%+a'' retrieves the artist of the next item, not the current one, ''%++a'' the artist of the item after the next item, and so on. For example ''%+a'' retrieves the artist of the next item, not the current one, ''%++a'' the artist of the item after the next item, and so on.
 +
 +For performance reasons, the number of items considered/available is limited to 3 by default. You can adjust this value through a manual setting in mAirList.ini:
 +
 +  [Options]
 +  NextLoggingLimit=10
reference/logging_variables.txt · Last modified: 2021/08/20 06:44 by ulinobbe

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki