summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-12 12:12:27 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:08:20 +0200
commitb24869203489bd89928af241ca26992558fbb5ee (patch)
treeddbf881b982fdbc24cc922aa955a07dd366c2991 /TOOLS
parent416c03417ebd7538882ee586bb049a25e202a7e6 (diff)
downloadmpv-b24869203489bd89928af241ca26992558fbb5ee.tar.bz2
mpv-b24869203489bd89928af241ca26992558fbb5ee.tar.xz
commands: allow printing raw properties
Extend m_properties_expand_string() so that it can print properties as unformatted string. Normally, properties will be pretty-printed (intended for OSD and user interface purposes). Add the '=' modifier to the format string syntax that disables pretty-printing and returns them "raw". For example, "${=switch_audio}" will print the track number, instead of returning an OSD friendly string containing additional information like track title and language.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions