/*****************************************************************************
- * libvlc.h: main libvlc header
+ * libvlc.h: Options for the main module
*****************************************************************************
* Copyright (C) 1998-2006 the VideoLAN team
* $Id$
#define Nothing here, this is just to prevent update-po from being stupid
#include "vlc_keys.h"
+#include "vlc_meta.h"
#if defined (WIN32) || defined (__APPLE__)
static char *ppsz_language[] =
{ "auto", "en", "en_GB", "ca", "cs", "da", "de", "es", "fr", "gl", "he", "hu",
- "it", "ja", "ka", "ko", "nl", "oc", "pt_BR", "ro", "ru", "sv", "tr",
+ "it", "ja", "ka", "ko", "nl", "oc", "pt_BR", "ro", "ru", "sk", "sv", "tr",
"zh_CN", "zh_TW" };
static char *ppsz_language_text[] =
N_("French"), N_("Galician"), N_("Hebrew"), N_("Hungarian"),N_("Italian"),
N_("Japanese"),N_("Georgian"), N_("Korean"), N_("Dutch"), N_("Occitan"),
N_("Brazilian Portuguese"), N_("Romanian"), N_("Russian"), N_("Swedish"),
-N_("Turkish"), N_("Simplified Chinese"), N_("Chinese Traditional") };
+N_("Slovak"), N_("Turkish"), N_("Simplified Chinese"),
+N_("Chinese Traditional") };
#endif
static char *ppsz_snap_formats[] =
"Automatically preparse files added to the playlist " \
"(to retrieve some metadata)." )
+#define ALBUM_ART_TEXT N_( "Album art policy" )
+#define ALBUM_ART_LONGTEXT N_( \
+ "Choose when to download and cache album art." )
+
+static int pi_albumart_values[] = { ALBUM_ART_NEVER,
+ ALBUM_ART_WHEN_ASKED,
+ ALBUM_ART_WHEN_PLAYED,
+ ALBUM_ART_ALL };
+static char *ppsz_albumart_descriptions[] =
+ { N_("Never download"), N_("Download when asked"),
+ N_("Download when track starts playing"),
+ N_("Download everything ASAP") };
+
#define SD_TEXT N_( "Services discovery modules")
#define SD_LONGTEXT N_( \
"Specifies the services discovery modules to load, separated by " \
add_module_list_cat( "video-filter", SUBCAT_VIDEO_VFILTER, NULL, NULL,
VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT, VLC_FALSE );
add_deprecated( "filter", VLC_FALSE ); /*deprecated since 0.8.2 */
- add_deprecated( "vout-filter", VLC_FALSE ); /* deprecated since 0.8.6 */
+// add_deprecated( "vout-filter", VLC_FALSE ); /* deprecated since 0.8.6 *// While the "video-filter" chain isn't parsed for both vfilter and vfilter2, keep both options
+ add_module_list_cat( "vout-filter", SUBCAT_VIDEO_VFILTER, NULL, NULL,
+ NULL, NULL, VLC_FALSE );
#if 0
add_string( "pixel-ratio", "1", NULL, PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT );
#endif
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_GENERAL );
- add_bool( "france", VLC_FALSE, NULL, "France", FRANCE_LONGTEXT, VLC_TRUE );
+ add_bool( "france", VLC_FALSE, NULL, N_("France"), FRANCE_LONGTEXT, VLC_TRUE );
set_section( N_( "Track settings" ), NULL );
add_integer( "program", 0, NULL,
add_bool( "auto-preparse", VLC_TRUE, NULL, PREPARSE_TEXT,
PREPARSE_LONGTEXT, VLC_FALSE );
+ add_integer( "album-art", ALBUM_ART_WHEN_PLAYED, NULL, ALBUM_ART_TEXT,
+ ALBUM_ART_LONGTEXT, VLC_FALSE );
+ change_integer_list( pi_albumart_values,
+ ppsz_albumart_descriptions, 0 );
+
set_subcategory( SUBCAT_PLAYLIST_SD );
add_module_list_cat( "services-discovery", SUBCAT_PLAYLIST_SD, NULL,
NULL, SD_TEXT, SD_LONGTEXT, VLC_FALSE );