Note: The interface for entering custom columns and grouping schemes for the Default UI playlist does not support line breaks scripts must be written all on one line, without comments. Each function becomes a string or number, and/or a truth value (not output) which can be used by another function. Each field reference becomes the field's value, as a string. Comments and line break characters (CR and LF/newline) are ignored to output a line break, use $crlf(). When the script is evaluated, the output string is assembled by evaluating the function parameters, function calls, and field references. In the playlist, are also special see Dimmed and highlighted text. As a special case, '' (two single quotes in a row) results in one single quote. For example, '[' (a left bracket in single quotes) results in a literal [ (left bracket). In literal text, the character %, $,, or ' (apostrophe/single quote) must be escaped by enclosing it in ' (apostrophe/single quote) characters. Note that there must be no whitespace between the dollar sign and the function name, or the function name and the opening parenthesis of the parameter list.Īny other text is literal text. A parameter can be literal text, a field reference, or another function call. A parameter list can either be empty – denoted as () – or contain one or more parameters separated by commas, for example $abbr(%artist%). this is a comment.Ī field reference is a field name enclosed in percent signs, for example %artist%.Ī function call starts with a dollar sign, followed by the function name and the parameter list. The script always outputs a text string (which can be empty).Ī comment is a line starting with two slashes, e.g. 9.3.2.8 $transition(string,color1,color2)Ī title formatting script consists of any combination of literal text, field references, function calls, comments, and line break characters.9.3.2 Historical and Columns UI color functions.9.1.4 %playback_time_remaining_seconds%.9 Component-specific fields and functions.5.52 $swapprefix(str,prefix1,prefix2.).5.49 $stripprefix(str,prefix1,prefix2.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |