columns_ui:config:global_variables
Differences
This shows you the differences between two versions of the page.
— | columns_ui:config:global_variables [2018/07/25 18:18] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Global variables ====== | ||
+ | ===== About ===== | ||
+ | Global variables were created as a way of speeding up playlist formatting, by separating the parts of formatting that is common to all your columns, and only processing it once per track instead of once per column. It works by defining variables which you can access in your column display strings. | ||
+ | ===== Global variables string ===== | ||
+ | This string, in the [[columns_ui: | ||
+ | |||
+ | ==== Setting variables ==== | ||
+ | |||
+ | You can set variables in your global variables string using the '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Note: You can only define globals in the global string - i.e. you cannot access defined globals. | ||
+ | |||
+ | The truth value of a call to '' | ||
+ | |||
+ | ===== Accessing global variables ===== | ||
+ | |||
+ | You can access global variables in your display and style strings using the '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | where | ||
+ | * //variable name// is the name of the variable as defined in the '' | ||
+ | * the return value is the //variable value// | ||
+ | |||
+ | The truth value of a call to '' |
columns_ui/config/global_variables.txt · Last modified: 2018/07/25 18:18 by musicmusic · Currently locked by: 2404:440e:271d:9100:a9a1:d768:715:9fc9