From c185b0ba4a09eab1bf969e40acc660454921f460 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 15 May 2013 02:17:47 +0200 Subject: command: replace some show_ commands with properties show_chapters, show_tracks, and show_playlist are killed and replaced with the properties chapter-list, track-list, and playlist. The code and the output of these stays the same, this is just moving a lot of code around and reducing the number of properties. The "old" commands will still be supported for a while (to avoid making everyone angry), so handle them with the legacy layer. Add something to suppress printing the legacy warnings for these commands. --- DOCS/man/en/changes.rst | 7 ++++++- DOCS/man/en/input.rst | 11 +++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/changes.rst b/DOCS/man/en/changes.rst index 4c80af6b25..c1d924e224 100644 --- a/DOCS/man/en/changes.rst +++ b/DOCS/man/en/changes.rst @@ -168,7 +168,12 @@ input.conf and slave commands | | syntax slightly changed. | +--------------------------------+----------------------------------------+ | osd_show_text | Now does the same as | - | | osd_show_property_text. | + | | osd_show_property_text. Use the raw | + | | prefix to disable property expansion. | + +--------------------------------+----------------------------------------+ + | show_tracks | show_text ${track-list} | + +--------------------------------+----------------------------------------+ + | show_chapters | show_text ${chapter-list} | +--------------------------------+----------------------------------------+ Other diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 59d48f5a28..72d8cb7c92 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -213,13 +213,6 @@ show_progress Show the progress bar, the elapsed time and the total duration of the file on the OSD. -show_chapters - Show a list of chapters on the OSD. - -show_tracks - Show a list of video/audio/subtitle tracks on the OSD. - - Input commands that are possibly subject to change -------------------------------------------------- @@ -271,7 +264,6 @@ vf set|add|toggle|del "filter1=params,filter2,..." - ``b vf set ""`` remove all video filters on ``b`` - ``c vf toggle lavfi=gradfun`` toggle debanding on ``c`` - Undocumented commands: tv_start_scan, tv_step_channel, tv_step_norm, tv_step_chanlist, tv_set_channel, tv_last_channel, tv_set_freq, tv_step_freq, tv_set_norm, dvb_set_channel, radio_step_channel, radio_set_channel, @@ -401,4 +393,7 @@ tv-brightness x tv-contrast x tv-saturation x tv-hue x +track-list list of audio/video/sub tracks, cur. entr. marked +chapter-list list of chapters, current entry marked +playlist playlist, current entry marked =========================== = ================================================== -- cgit v1.2.3