From 6b5dc1e6123046245b1f76962170c94df4ea9dbe Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 5 Feb 2003 23:02:35 +0000 Subject: - It adds an option enqueue/noenqueue, so users can choose if they want to have playlist overwritten by files on commandline or just enqueue them at the end ... - Playtree is finally cleared, as such gui has total control! - Autoplay if files are available on commandline and -enqueue is not set! - Fallback on Playlists finally does work with Gui and even with streaming Playlists! [ Before gui was broken as mplayer.c:playtree tried to have control] patch by Fabian Franz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9292 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 45a6ccb522..d70bcc40a0 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -106,6 +106,7 @@ extern int rtspStreamOverTCP; #ifdef HAVE_NEW_GUI extern char * skinName; +extern int enqueue; #endif #ifdef HAVE_ODIVX_POSTPROCESS @@ -395,6 +396,8 @@ static config_t mplayer_opts[]={ #ifdef HAVE_NEW_GUI {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL}, + {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 0, NULL}, #endif {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL}, -- cgit v1.2.3