diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 9a24e816..618acc6a 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -1911,6 +1911,31 @@
{rating} --> Rating: {rating}/10 --> Rating: /10 {Rating: <rating>/10} -->+ +
+ Note: notify_text_eval = 1 must be manually enabled in the configuration file to enable expressions. + Enabling this setting could pose a security risk. Enable at your own risk. It is recommended to leave this feature disabled if it is not being used. +
++ Notification parameters can be wrapped with backticks `expr` to be evaluated as Python expressions. + Only the following functions are supported in expressions: +
+Example:
+{`float(rating) * 10`>%} --> 89% +{`"%d hr %d min" % divmod(int(duration), 60)`} --> 1 hr 50 min +{`round(float(stream_bandwidth) / 1000, 1)`> Mbps} --> 6.9 Mbps