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
reference:logging_variables [2020/02/27 11:04] – [Information about the item being played] added %p{Format} and minor changes ulinobbereference:logging_variables [2021/08/20 06:44] (current) – [General variables] %% inserted ulinobbe
Line 16: Line 16:
 | %r | CR character (ASCII 13) | | %r | CR character (ASCII 13) |
 | %n | Newline Character (ASCII 10) | | %n | Newline Character (ASCII 10) |
 +| %% | Creates a ''%'' sign in the output |
 | %g | Unique identifier of the associated playback operation | | %g | Unique identifier of the associated playback operation |
 | %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) | | %${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 50: Line 53:
 | %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 58: Line 69:
 | %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 75: Line 86:
   [Options]   [Options]
   NextLoggingLimit=10   NextLoggingLimit=10
 +  
 +Please note that this limit applies to the **overall** number of subsequent items available for logging, before any possible item type filtering. So if you want to log e.g. the next 3 "Music" items, but there are times when there are 4 non-music items in between (jingles, news, advertising, etc.), you must set the limit to 7 or higher.
reference/logging_variables.1582801469.txt.gz · Last modified: 2020/02/27 11:04 by ulinobbe

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki