From subversion at mplayerhq.hu Sun Jun 10 19:20:59 2018 From: subversion at mplayerhq.hu (ib) Date: Sun, 10 Jun 2018 19:20:59 +0300 (EEST) Subject: [MPlayer-DOCS] r38113 - in trunk: DOCS/man/de/mplayer.1 DOCS/man/en/mplayer.1 gui/app/cfg.c gui/dialog/preferences.c help/help_mp-de.h help/help_mp-en.h Message-ID: <20180610162059.76C53680024@ffbox0-bg.mplayerhq.hu> Author: ib Date: Sun Jun 10 19:20:59 2018 New Revision: 38113 Log: Allow the GUI to overwrite option allow_playlist_parsing. Add GUI option support_playlists to be able to allow playlist parsing even if disabled by MPlayer. (Since GUI's playlist parsing only takes effect if the user explicitly loads a playlist file through the file selector's playlist filter, it can be assumed that they are knowing what they are doing. There will be no playlist parsing the user can't be aware of. Moreover, instead of having to enable dangerous playlist parsing in MPlayer's configuration file - and thus more or less unrestrictedly - parsing can be restricted to GUI usage this way.) Add an entry to the preference dialog where the new option can be configured. Additionally, update man pages. Modified: trunk/DOCS/man/en/mplayer.1 trunk/help/help_mp-en.h Changes in other areas also in this revision: Modified: trunk/DOCS/man/de/mplayer.1 trunk/gui/app/cfg.c trunk/gui/dialog/preferences.c trunk/help/help_mp-de.h Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 Sun Jun 10 19:00:09 2018 (r38112) +++ trunk/DOCS/man/en/mplayer.1 Sun Jun 10 19:20:59 2018 (r38113) @@ -31,7 +31,7 @@ .\" Title .\" -------------------------------------------------------------------------- . -.TH MPlayer 1 "2017-10-10" "The MPlayer Project" "The Movie Player" +.TH MPlayer 1 "2018-06-10" "The MPlayer Project" "The Movie Player" . .SH NAME mplayer \- movie player @@ -657,6 +657,8 @@ idle .RB ( idle ), osd_level .RB ( osdlevel ), +playlist_support +.RB ( allow-dangerous-playlist-parsing ), softvol .RB ( softvol ), stopxscreensaver Modified: trunk/help/help_mp-en.h ============================================================================== --- trunk/help/help_mp-en.h Sun Jun 10 19:00:09 2018 (r38112) +++ trunk/help/help_mp-en.h Sun Jun 10 19:20:59 2018 (r38113) @@ -771,6 +771,7 @@ static const char help_text[] = MSGTR_He #define MSGTR_GUI_Play "Play" #define MSGTR_GUI_Playback "Playback" #define MSGTR_GUI_Playlist "Playlist" +#define MSGTR_GUI_PlaylistSupport "Allow loading of playlists" #define MSGTR_GUI_Position "Position" #define MSGTR_GUI_PostProcessing "Post-processing" #define MSGTR_GUI_Preferences "Preferences"