]> git.sesse.net Git - vlc/blob - src/libvlc.h
* Change timeout on all RTSP transport protocols to 10secs. Apparently on VoD streams...
[vlc] / src / libvlc.h
1 /*****************************************************************************
2  * libvlc.h: main libvlc header
3  *****************************************************************************
4  * Copyright (C) 1998-2005 VideoLAN
5  * $Id$
6  *
7  * Authors: Vincent Seguin <seguin@via.ecp.fr>
8  *          Samuel Hocevar <sam@zoy.org>
9  *          Gildas Bazin <gbazin@videolan.org>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24  *****************************************************************************/
25
26 #define Nothing here, this is just to prevent update-po from being stupid
27 #include "vlc_keys.h"
28
29 static char *ppsz_language[] =
30 { "auto", "en", "en_GB", "ca", "da", "de", "es",
31   "fr", "it", "ja", "nl", "pt_BR", "ru", "zh_TW" };
32 static char *ppsz_language_text[] =
33 { N_("Auto"), N_("American"), N_("British"), N_("Catalan"), N_("Danish"), N_("German"), N_("Spanish"), N_("French"), N_("Italian"), N_("Japanese"), N_("Dutch"), N_("Brazilian"), N_("Russian"), N_("Chinese Traditional") };
34
35 static char *ppsz_snap_formats[] =
36 { "png", "jpg" };
37
38 /*****************************************************************************
39  * Configuration options for the main program. Each module will also separatly
40  * define its own configuration options.
41  * Look into configuration.h if you need to know more about the following
42  * macros.
43  *****************************************************************************/
44
45 #define INTF_CAT_LONGTEXT N_( \
46     "These options allow you to configure the interfaces used by VLC.\n" \
47     "You can select the main interface, additional " \
48     "interface modules, and define various related options." )
49
50 #define INTF_TEXT N_("Interface module")
51 #define INTF_LONGTEXT N_( \
52     "This option allows you to select the interface used by VLC.\n" \
53     "The default behavior is to automatically select the best module " \
54     "available.")
55
56 #define EXTRAINTF_TEXT N_("Extra interface modules")
57 #define EXTRAINTF_LONGTEXT N_( \
58     "This option allows you to select additional interfaces used by VLC. " \
59     "They will be launched in the background in addition to the default " \
60     "interface. Use a comma separated list of interface modules. (common " \
61     "values are logger, gestures, sap, rc, http or screensaver)")
62
63 #define CONTROL_TEXT N_("Control interfaces")
64 #define CONTROL_LONGTEXT N_( \
65     "This option allows you to select control interfaces. " )
66
67 #define VERBOSE_TEXT N_("Verbosity (0,1,2)")
68 #define VERBOSE_LONGTEXT N_( \
69     "This options sets the verbosity level (0=only errors and " \
70     "standard messages, 1=warnings, 2=debug).")
71
72 #define QUIET_TEXT N_("Be quiet")
73 #define QUIET_LONGTEXT N_( \
74     "This options turns off all warning and information messages.")
75
76 #define LANGUAGE_TEXT N_("Language")
77 #define LANGUAGE_LONGTEXT N_( "This option allows you to set the language " \
78     "of the interface. The system language is auto-detected if \"auto\" is " \
79     "specified here." )
80
81 #define COLOR_TEXT N_("Color messages")
82 #define COLOR_LONGTEXT N_( \
83     "When this option is turned on, the messages sent to the console will " \
84     "be colorized. Your terminal needs Linux color support for this to work.")
85
86 #define ADVANCED_TEXT N_("Show advanced options")
87 #define ADVANCED_LONGTEXT N_( \
88     "When this option is turned on, the preferences and/or interfaces  will " \
89     "show all the available options, including those that most users should " \
90     "never touch.")
91
92 #define AOUT_CAT_LONGTEXT N_( \
93     "These options allow you to modify the behavior of the audio " \
94     "subsystem, and to add audio filters which can be used for " \
95     "post processing or visual effects (spectrum analyzer, etc.).\n" \
96     "Enable these filters here, and configure them in the \"audio filters\" " \
97     "modules section.")
98
99 #define AOUT_TEXT N_("Audio output module")
100 #define AOUT_LONGTEXT N_( \
101     "This option allows you to select the audio output method used by VLC. " \
102     "The default behavior is to automatically select the best method " \
103     "available.")
104
105 #define AUDIO_TEXT N_("Enable audio")
106 #define AUDIO_LONGTEXT N_( \
107     "You can completely disable the audio output. In this case, the audio " \
108     "decoding stage will not take place, thus saving some processing power.")
109
110 #define MONO_TEXT N_("Force mono audio")
111 #define MONO_LONGTEXT N_("This will force a mono audio output.")
112
113 #define VOLUME_TEXT N_("Audio output volume")
114 #define VOLUME_LONGTEXT N_( \
115     "You can set the default audio output volume here, in a range from 0 to " \
116     "1024.")
117
118 #define VOLUME_SAVE_TEXT N_("Audio output saved volume")
119 #define VOLUME_SAVE_LONGTEXT N_( \
120     "This saves the audio output volume when you select mute.")
121
122 #define AOUT_RATE_TEXT N_("Audio output frequency (Hz)")
123 #define AOUT_RATE_LONGTEXT N_( \
124     "You can force the audio output frequency here. Common values are " \
125     "-1 (default), 48000, 44100, 32000, 22050, 16000, 11025, 8000.")
126
127 #if !defined( SYS_DARWIN )
128 #define AOUT_RESAMP_TEXT N_("High quality audio resampling")
129 #define AOUT_RESAMP_LONGTEXT N_( \
130     "This uses a high quality audio resampling algorithm. High quality "\
131     "audio resampling can be processor intensive so you can " \
132     "disable it and a cheaper resampling algorithm will be used instead.")
133 #endif
134
135 #define DESYNC_TEXT N_("Audio desynchronization compensation")
136 #define DESYNC_LONGTEXT N_( \
137     "This option allows you to delay the audio output. You must give a " \
138     "number of milliseconds. This can be handy if you notice a lag " \
139     "between the video and the audio.")
140
141 #define MULTICHA_TEXT N_("Preferred audio output channels mode")
142 #define MULTICHA_LONGTEXT N_( \
143     "This option allows you to set the audio output channels mode that will " \
144     "be used by default when possible (ie. if your hardware supports it as " \
145     "well as the audio stream being played).")
146
147 #define SPDIF_TEXT N_("Use the S/PDIF audio output when available")
148 #define SPDIF_LONGTEXT N_( \
149     "This option allows you to use the S/PDIF audio output by default when " \
150     "your hardware supports it as well as the audio stream being played.")
151
152 #define AUDIO_FILTER_TEXT N_("Audio filters")
153 #define AUDIO_FILTER_LONGTEXT N_( \
154     "This allows you to add audio post processing filters, to modify " \
155     "the sound" )
156
157 #define AUDIO_VISUAL_TEXT N_("Audio visualizations ")
158 #define AUDIO_VISUAL_LONGTEXT N_( \
159     "This allows you to add visualization modules " \
160     "(spectrum analyzer, etc.).")
161
162 #define AUDIO_CHANNEL_MIXER N_("Channel mixer")
163 #define AUDIO_CHANNEL_MIXER_LONGTEXT N_( \
164      "This allows you to choose a specific audio channel mixer. For " \
165      "instance, you can use the \"headphone\" mixer that gives 5.1 feeling " \
166      "with a headphone.")
167
168 #define VOUT_CAT_LONGTEXT N_( \
169     "These options allow you to modify the behavior of the video output " \
170     "subsystem. You can for example enable video filters (deinterlacing, " \
171     "image adjusting, etc.). Enable these filters here and configure " \
172     "them in the \"video filters\" modules section. You can also set many " \
173     "miscellaneous video options." )
174
175 #define VOUT_TEXT N_("Video output module")
176 #define VOUT_LONGTEXT N_( \
177     "This option allows you to select the video output method used by VLC. " \
178     "The default behavior is to automatically select the best " \
179     "method available.")
180
181 #define VIDEO_TEXT N_("Enable video")
182 #define VIDEO_LONGTEXT N_( \
183     "You can completely disable the video output. In this case, the video " \
184     "decoding stage will not take place, thus saving some processing power.")
185
186 #define WIDTH_TEXT N_("Video width")
187 #define WIDTH_LONGTEXT N_( \
188     "You can enforce the video width here. By default (-1) VLC will " \
189     "adapt to the video characteristics.")
190
191 #define HEIGHT_TEXT N_("Video height")
192 #define HEIGHT_LONGTEXT N_( \
193     "You can enforce the video height here. By default (-1) VLC will " \
194     "adapt to the video characteristics.")
195
196 #define VIDEOX_TEXT N_("Video x coordinate")
197 #define VIDEOX_LONGTEXT N_( \
198     "You can enforce the position of the top left corner of the video window "\
199     "here (x coordinate).")
200
201 #define VIDEOY_TEXT N_("Video y coordinate")
202 #define VIDEOY_LONGTEXT N_( \
203     "You can enforce the position of the top left corner of the video window "\
204     "here (y coordinate).")
205
206 #define VIDEO_TITLE_TEXT N_("Video title")
207 #define VIDEO_TITLE_LONGTEXT N_( \
208     "You can specify a custom video window title here.")
209
210 #define ALIGN_TEXT N_("Video alignment")
211 #define ALIGN_LONGTEXT N_( \
212     "You can enforce the video alignment in its window. By default (0) it " \
213     "will be centered (0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
214     "also use combinations of these values).")
215 static int pi_align_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
216 static char *ppsz_align_descriptions[] =
217 { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
218   N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
219
220 #define ZOOM_TEXT N_("Zoom video")
221 #define ZOOM_LONGTEXT N_( \
222     "You can zoom the video by the specified factor.")
223
224 #define GRAYSCALE_TEXT N_("Grayscale video output")
225 #define GRAYSCALE_LONGTEXT N_( \
226     "When enabled, the color information from the video won't be decoded " \
227     "(this can also allow you to save some processing power).")
228
229 #define FULLSCREEN_TEXT N_("Fullscreen video output")
230 #define FULLSCREEN_LONGTEXT N_( \
231     "If this option is enabled, VLC will always start a video in fullscreen " \
232     "mode.")
233
234 #define OVERLAY_TEXT N_("Overlay video output")
235 #define OVERLAY_LONGTEXT N_( \
236     "If enabled, VLC will try to take advantage of the overlay capabilities " \
237     "of your graphics card (hardware acceleration).")
238
239 #define VIDEO_ON_TOP_TEXT N_("Always on top")
240 #define VIDEO_ON_TOP_LONGTEXT N_("Always place the video window on top of " \
241     "other windows." )
242
243 #define VIDEO_DECO_TEXT N_("Window decorations")
244 #define VIDEO_DECO_LONGTEXT N_( \
245     "If this option is disabled, VLC will avoid creating window caption, " \
246     "frames, etc... around the video. Currently only supported on Windows.")
247
248 #define FILTER_TEXT N_("Video filter module")
249 #define FILTER_LONGTEXT N_( \
250     "This will allow you to add a post-processing filter to enhance the " \
251     "picture quality, for instance deinterlacing, or to clone or distort " \
252     "the video window.")
253
254 #define SNAP_PATH_TEXT N_("Video snapshot directory")
255 #define SNAP_PATH_LONGTEXT N_( \
256     "Allows you to specify the directory where the video snapshots will " \
257     "be stored.")
258
259 #define SNAP_FORMAT_TEXT N_("Video snapshot format")
260 #define SNAP_FORMAT_LONGTEXT N_( \
261     "Allows you to specify the image format in which the video snapshots will " \
262     "be stored.")
263
264 #define ASPECT_RATIO_TEXT N_("Source aspect ratio")
265 #define ASPECT_RATIO_LONGTEXT N_( \
266     "This will force the source aspect ratio. For instance, some DVDs claim " \
267     "to be 16:9 while they are actually 4:3. This can also be used as a " \
268     "hint for VLC when a movie does not have aspect ratio information. " \
269     "Accepted formats are x:y (4:3, 16:9, etc.) expressing the global image " \
270     "aspect, or a float value (1.25, 1.3333, etc.) expressing pixel " \
271     "squareness.")
272
273 #define SKIP_FRAMES_TEXT N_("Skip frames")
274 #define SKIP_FRAMES_LONGTEXT N_( \
275     "Disable this option to disable frame drops on MPEG-2 streams.")
276
277 #define QUIET_SYNCHRO_TEXT N_("Quiet synchro")
278 #define QUIET_SYNCHRO_LONGTEXT N_( \
279     "Enable this option to avoid flooding the message log with debug " \
280     "output from the video output synchro.")
281
282 #define INPUT_CAT_LONGTEXT N_( \
283     "These options allow you to modify the behavior of the input " \
284     "subsystem, such as the DVD or VCD device, the network interface " \
285     "settings or the subtitle channel.")
286
287 #define CR_AVERAGE_TEXT N_("Clock reference average counter")
288 #define CR_AVERAGE_LONGTEXT N_( \
289     "When using the PVR input (or a very irregular source), you should " \
290     "set this to 10000.")
291
292 #define CLOCK_SYNCHRO_TEXT N_("Clock synchronisation")
293 #define CLOCK_SYNCHRO_LONGTEXT N_( \
294     "Allows you to enable/disable the input clock synchronisation for " \
295     "real-time sources.")
296 static int pi_clock_values[] = { -1, 0, 1 };
297 static char *ppsz_clock_descriptions[] =
298 { N_("Default"), N_("Disable"), N_("Enable") };
299
300 #define SERVER_PORT_TEXT N_("UDP port")
301 #define SERVER_PORT_LONGTEXT N_( \
302     "This is the port used for UDP streams. By default, we chose 1234.")
303
304 #define MTU_TEXT N_("MTU of the network interface")
305 #define MTU_LONGTEXT N_( \
306     "This is the typical size of UDP packets that we expect. On Ethernet " \
307     "it is usually 1500.")
308
309 #define IFACE_ADDR_TEXT N_("Network interface address")
310 #define IFACE_ADDR_LONGTEXT N_( \
311     "If you have several interfaces on your machine and use the " \
312     "multicast solution, you will probably have to indicate the IP address " \
313     "of your multicasting interface here.")
314
315 #define TTL_TEXT N_("Time To Live")
316 #define TTL_LONGTEXT N_( \
317     "Indicate here the Time To Live of the multicast packets sent by " \
318     "the stream output.")
319
320 #define INPUT_PROGRAM_TEXT N_("Choose program (SID)")
321 #define INPUT_PROGRAM_LONGTEXT N_( \
322     "Choose the program to select by giving its Service ID.\n" \
323     "Only use this option if you want to read a multi-program stream " \
324     "(like DVB streams for example)." )
325
326 #define INPUT_PROGRAMS_TEXT N_("Choose programs")
327 #define INPUT_PROGRAMS_LONGTEXT N_( \
328     "Choose the programs to select by giving a comma-separated list of " \
329     "SIDs.\n" \
330     "Only use this option if you want to read a multi-program stream " \
331     "(like DVB streams for example)." )
332
333 #define INPUT_AUDIOTRACK_TEXT N_("Choose audio track")
334 #define INPUT_AUDIOTRACK_LONGTEXT N_( \
335     "Give the stream number of the audio track you want to use" \
336     "(from 0 to n).")
337
338 #define INPUT_SUBTRACK_TEXT N_("Choose subtitles track")
339 #define INPUT_SUBTRACK_LONGTEXT N_( \
340     "Give the stream number of the subtitle track you want to use " \
341     "(from 0 to n).")
342
343 #define INPUT_AUDIOTRACK_LANG_TEXT N_("Choose audio language")
344 #define INPUT_AUDIOTRACK_LANG_LONGTEXT N_( \
345     "Give the language of the audio track you want to use " \
346     "(comma separted, two or tree letter country code).")
347
348 #define INPUT_SUBTRACK_LANG_TEXT N_("Choose subtitle language")
349 #define INPUT_SUBTRACK_LANG_LONGTEXT N_( \
350     "Give the language of the subtitle track you want to use " \
351     "(comma separted, two or tree letter country code).")
352
353 #define INPUT_REPEAT_TEXT N_("Input repetitions")
354 #define INPUT_REPEAT_LONGTEXT N_("Number of time the same input will be " \
355                                  "repeated")
356
357 #define START_TIME_TEXT N_("Input start time (seconds)")
358 #define START_TIME_LONGTEXT N_("Input start time (seconds)")
359
360 #define STOP_TIME_TEXT N_("Input stop time (seconds)")
361 #define STOP_TIME_LONGTEXT N_("Input stop time (seconds)")
362
363 #define INPUT_LIST_TEXT N_("Input list")
364 #define INPUT_LIST_LONGTEXT N_("Allows you to specify a comma-separated list " \
365     "of inputs that will be concatenated.")
366
367 #define INPUT_SLAVE_TEXT N_("Input slave (experimental)")
368 #define INPUT_SLAVE_LONGTEXT N_("Allows you to play from several files at " \
369     "the same time. This feature is experimental, not all formats " \
370     "are supported.")
371
372 #define BOOKMARKS_TEXT N_("Bookmarks list for a stream")
373 #define BOOKMARKS_LONGTEXT N_("You can specify a list of bookmarks for a stream in " \
374     "the form \"{name=bookmark-name,time=optional-time-offset," \
375     "bytes=optional-byte-offset},{...}\"")
376
377 #define SUB_CAT_LONGTEXT N_( \
378     "These options allow you to modify the behavior of the subpictures " \
379     "subsystem. You can for example enable subpictures filters (logo, etc.). " \
380     "Enable these filters here and configure them in the " \
381     "\"subpictures filters\" modules section. You can also set many " \
382     "miscellaneous subpictures options." )
383
384 #define SUB_MARGIN_TEXT N_("Force subtitle position")
385 #define SUB_MARGIN_LONGTEXT N_( \
386     "You can use this option to place the subtitles under the movie, " \
387     "instead of over the movie. Try several positions.")
388
389 #define OSD_TEXT N_("On Screen Display")
390 #define OSD_LONGTEXT N_( \
391     "VLC can display messages on the video. This is called OSD (On Screen " \
392     "Display). You can disable this feature here.")
393
394 #define SUB_FILTER_TEXT N_("Subpictures filter module")
395 #define SUB_FILTER_LONGTEXT N_( \
396     "This will allow you to add a subpictures filter for instance to overlay "\
397     "a logo.")
398
399 #define SUB_AUTO_TEXT N_("Autodetect subtitle files")
400 #define SUB_AUTO_LONGTEXT \
401     N_("Automatically detect a subtitle file, if no subtitle filename is " \
402     "specified.")
403
404 #define SUB_FUZZY_TEXT N_("Subtitle autodetection fuzziness")
405 #define SUB_FUZZY_LONGTEXT \
406     N_("This determines how fuzzy subtitle and movie filename matching " \
407     "will be. Options are:\n" \
408     "0 = no subtitles autodetected\n" \
409     "1 = any subtitle file\n" \
410     "2 = any subtitle file containing the movie name\n" \
411     "3 = subtitle file matching the movie name with additional chars\n" \
412     "4 = subtitle file matching the movie name exactly")
413
414 #define SUB_PATH_TEXT N_("Subtitle autodetection paths")
415 #define SUB_PATH_LONGTEXT \
416     N_("Look for a subtitle file in those paths too, if your subtitle " \
417     "file was not found in the current directory.")
418
419 #define SUB_FILE_TEXT N_("Use subtitle file")
420 #define SUB_FILE_LONGTEXT \
421     N_("Load this subtitle file. To be used when autodetect cannot detect " \
422     "your subtitle file.")
423
424 #define DVD_DEV_TEXT N_("DVD device")
425 #ifdef WIN32
426 #define DVD_DEV_LONGTEXT N_( \
427     "This is the default DVD drive (or file) to use. Don't forget the colon " \
428     "after the drive letter (eg. D:)")
429 #else
430 #define DVD_DEV_LONGTEXT N_( \
431     "This is the default DVD device to use.")
432 #endif
433
434 #define VCD_DEV_TEXT N_("VCD device")
435 #ifdef HAVE_VCDX
436 #define VCD_DEV_LONGTEXT N_( \
437     "This is the default VCD device to use. " \
438     "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
439 #else
440 #define VCD_DEV_LONGTEXT N_( \
441     "This is the default VCD device to use." )
442 #endif
443
444 #define CDAUDIO_DEV_TEXT N_("Audio CD device")
445 #ifdef HAVE_CDDAX
446 #define CDAUDIO_DEV_LONGTEXT N_( \
447     "This is the default Audio CD device to use. " \
448     "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
449 #else
450 #define CDAUDIO_DEV_LONGTEXT N_( \
451     "This is the default Audio CD device to use." )
452 #endif
453
454 #define IPV6_TEXT N_("Force IPv6")
455 #define IPV6_LONGTEXT N_( \
456     "If you check this box, IPv6 will be used by default for all UDP and " \
457     "HTTP connections.")
458
459 #define IPV4_TEXT N_("Force IPv4")
460 #define IPV4_LONGTEXT N_( \
461     "If you check this box, IPv4 will be used by default for all UDP and " \
462     "HTTP connections.")
463
464 #define SOCKS_SERVER_TEXT N_("SOCKS server")
465 #define SOCKS_SERVER_LONGTEXT N_( \
466     "Allow you to specify a SOCKS server to use. It must be of the form " \
467     "address:port . It will be used for all TCP connections" )
468
469 #define SOCKS_USER_TEXT N_("SOCKS user name")
470 #define SOCKS_USER_LONGTEXT N_("Allows you to modify the user name that will " \
471     "be used for the connection to the SOCKS server.")
472
473 #define SOCKS_PASS_TEXT N_("SOCKS password")
474 #define SOCKS_PASS_LONGTEXT N_("Allows you to modify the password that will " \
475     "be used for the connection to the SOCKS server.")
476
477
478
479
480 #define META_TITLE_TEXT N_("Title metadata")
481 #define META_TITLE_LONGTEXT N_( \
482      "Allows you to specify a \"title\" metadata for an input.")
483
484 #define META_AUTHOR_TEXT N_("Author metadata")
485 #define META_AUTHOR_LONGTEXT N_( \
486      "Allows you to specify an \"author\" metadata for an input.")
487
488 #define META_ARTIST_TEXT N_("Artist metadata")
489 #define META_ARTIST_LONGTEXT N_( \
490      "Allows you to specify an \"artist\" metadata for an input.")
491
492 #define META_GENRE_TEXT N_("Genre metadata")
493 #define META_GENRE_LONGTEXT N_( \
494      "Allows you to specify a \"genre\" metadata for an input.")
495
496 #define META_CPYR_TEXT N_("Copyright metadata")
497 #define META_CPYR_LONGTEXT N_( \
498      "Allows you to specify a \"copyright\" metadata for an input.")
499
500 #define META_DESCR_TEXT N_("Description metadata")
501 #define META_DESCR_LONGTEXT N_( \
502      "Allows you to specify a \"description\" metadata for an input.")
503
504 #define META_DATE_TEXT N_("Date metadata")
505 #define META_DATE_LONGTEXT N_( \
506      "Allows you to specify a \"date\" metadata for an input.")
507
508 #define META_URL_TEXT N_("URL metadata")
509 #define META_URL_LONGTEXT N_( \
510      "Allows you to specify a \"url\" metadata for an input.")
511
512 #define CODEC_CAT_LONGTEXT N_( \
513     "This option can be used to alter the way VLC selects " \
514     "its codecs (decompression methods). Only advanced users should " \
515     "alter this option as it can break playback of all your streams." )
516
517 #define CODEC_TEXT N_("Preferred codecs list")
518 #define CODEC_LONGTEXT N_( \
519     "This allows you to select a list of codecs that VLC will use in " \
520     "priority. For instance, 'dummy,a52' will try the dummy and a52 codecs " \
521     "before trying the other ones.")
522
523 #define ENCODER_TEXT N_("Preferred encoders list")
524 #define ENCODER_LONGTEXT N_( \
525     "This allows you to select a list of encoders that VLC will use in " \
526     "priority")
527
528 #define SOUT_CAT_LONGTEXT N_( \
529     "These options allow you to set default global options for the " \
530     "stream output subsystem." )
531
532 #define SOUT_TEXT N_("Default stream output chain")
533 #define SOUT_LONGTEXT N_( \
534     "You can enter here a default stream output chain. Refer to "\
535     "the documentation to learn how to build such chains. " \
536     "Warning: this chain will be enabled for all streams." )
537
538 #define SOUT_ALL_TEXT N_("Enable streaming of all ES")
539 #define SOUT_ALL_LONGTEXT N_( \
540     "This allows you to stream all ES (video, audio and subtitles)")
541
542 #define SOUT_DISPLAY_TEXT N_("Display while streaming")
543 #define SOUT_DISPLAY_LONGTEXT N_( \
544     "This allows you to play the stream while streaming it.")
545
546 #define SOUT_VIDEO_TEXT N_("Enable video stream output")
547 #define SOUT_VIDEO_LONGTEXT N_( \
548     "This allows you to choose if the video stream should be redirected to " \
549     "the stream output facility when this last one is enabled.")
550
551 #define SOUT_AUDIO_TEXT N_("Enable audio stream output")
552 #define SOUT_AUDIO_LONGTEXT N_( \
553     "This allows you to choose if the audio stream should be redirected to " \
554     "the stream output facility when this last one is enabled.")
555
556 #define SOUT_KEEP_TEXT N_("Keep stream output open" )
557 #define SOUT_KEEP_LONGTEXT N_( \
558     "This allows you to keep an unique stream output instance across " \
559     "multiple playlist item (automatically insert the gather stream output " \
560     "if not specified)" )
561
562 #define PACKETIZER_TEXT N_("Preferred packetizer list")
563 #define PACKETIZER_LONGTEXT N_( \
564     "This allows you to select the order in which VLC will choose its " \
565     "packetizers."  )
566
567 #define MUX_TEXT N_("Mux module")
568 #define MUX_LONGTEXT N_( \
569     "This is a legacy entry to let you configure mux modules")
570
571 #define ACCESS_OUTPUT_TEXT N_("Access output module")
572 #define ACCESS_OUTPUT_LONGTEXT N_( \
573     "This is a legacy entry to let you configure access output modules")
574
575 #define ANN_SAPCTRL_TEXT N_("Control SAP flow")
576 #define ANN_SAPCTRL_LONGTEXT N_("If this option is enabled, the flow on " \
577     "the SAP multicast address will be controlled. This is needed if you " \
578     "want to make announcements on the MBone" )
579
580 #define ANN_SAPINTV_TEXT N_("SAP announcement interval")
581 #define ANN_SAPINTV_LONGTEXT N_("When the SAP flow control is disabled, " \
582     "this lets you set the fixed interval between SAP announcements" )
583
584 #define CPU_CAT_LONGTEXT N_( \
585     "These options allow you to enable special CPU optimizations.\n" \
586     "You should always leave all these enabled." )
587
588 #define FPU_TEXT N_("Enable FPU support")
589 #define FPU_LONGTEXT N_( \
590     "If your processor has a floating point calculation unit, VLC can take " \
591     "advantage of it.")
592
593 #define MMX_TEXT N_("Enable CPU MMX support")
594 #define MMX_LONGTEXT N_( \
595     "If your processor supports the MMX instructions set, VLC can take " \
596     "advantage of them.")
597
598 #define THREE_DN_TEXT N_("Enable CPU 3D Now! support")
599 #define THREE_DN_LONGTEXT N_( \
600     "If your processor supports the 3D Now! instructions set, VLC can take " \
601     "advantage of them.")
602
603 #define MMXEXT_TEXT N_("Enable CPU MMX EXT support")
604 #define MMXEXT_LONGTEXT N_( \
605     "If your processor supports the MMX EXT instructions set, VLC can take " \
606     "advantage of them.")
607
608 #define SSE_TEXT N_("Enable CPU SSE support")
609 #define SSE_LONGTEXT N_( \
610     "If your processor supports the SSE instructions set, VLC can take " \
611     "advantage of them.")
612
613 #define SSE2_TEXT N_("Enable CPU SSE2 support")
614 #define SSE2_LONGTEXT N_( \
615     "If your processor supports the SSE2 instructions set, VLC can take " \
616     "advantage of them.")
617
618 #define ALTIVEC_TEXT N_("Enable CPU AltiVec support")
619 #define ALTIVEC_LONGTEXT N_( \
620     "If your processor supports the AltiVec instructions set, VLC can take " \
621     "advantage of them.")
622
623 #define PLAYLIST_CAT_LONGTEXT N_( \
624      "These options define the behavior of the playlist. Some " \
625      "of them can be overridden in the playlist dialog box." )
626
627 #define SD_TEXT N_( "Services discovery modules")
628 #define SD_LONGTEXT N_( \
629      "Specifies the services discovery modules to load, separated by " \
630      "semi-colons. Typical values are sap, hal, ..." )
631
632 #define RANDOM_TEXT N_("Play files randomly forever")
633 #define RANDOM_LONGTEXT N_( \
634     "When selected, VLC will randomly play files in the playlist until " \
635     "interrupted.")
636
637 #define LOOP_TEXT N_("Repeat all")
638 #define LOOP_LONGTEXT N_( \
639     "If you want VLC to keep playing the playlist indefinitely then enable " \
640     "this option.")
641
642 #define REPEAT_TEXT N_("Repeat current item")
643 #define REPEAT_LONGTEXT N_( \
644     "When this is active, VLC will keep playing the current playlist item " \
645     "over and over again.")
646
647 #define PAS_TEXT N_("Play and stop")
648 #define PAS_LONGTEXT N_( \
649     "Stop the playlist after each played playlist item. " )
650
651 #define MISC_CAT_LONGTEXT N_( \
652     "These options allow you to select default modules. Leave these " \
653     "alone unless you really know what you are doing." )
654
655 #define MEMCPY_TEXT N_("Memory copy module")
656 #define MEMCPY_LONGTEXT N_( \
657     "You can select which memory copy module you want to use. By default " \
658     "VLC will select the fastest one supported by your hardware.")
659
660 #define ACCESS_TEXT N_("Access module")
661 #define ACCESS_LONGTEXT N_( \
662     "This is a legacy entry to let you configure access modules.")
663
664 #define ACCESS_FILTER_TEXT N_("Access filter module")
665 #define ACCESS_FILTER_LONGTEXT N_( \
666     "This is a legacy entry to let you configure access filter modules.")
667
668 #define DEMUX_TEXT N_("Demux module")
669 #define DEMUX_LONGTEXT N_( \
670     "This is a legacy entry to let you configure demux modules.")
671
672 #define RT_PRIORITY_TEXT N_("Allow real-time priority")
673 #define RT_PRIORITY_LONGTEXT N_( \
674     "Running VLC in real-time priority will allow for much more precise " \
675     "scheduling and yield better, especially when streaming content. " \
676     "It can however lock up your whole machine, or make it very very " \
677     "slow. You should only activate this if you know what you're " \
678     "doing.")
679
680 #define RT_OFFSET_TEXT N_("Adjust VLC priority")
681 #define RT_OFFSET_LONGTEXT N_( \
682     "This option adds an offset (positive or negative) to VLC default " \
683     "priorities. You can use it to tune VLC priority against other " \
684     "programs, or against other VLC instances.")
685
686 #define MINIMIZE_THREADS_TEXT N_("Minimize number of threads")
687 #define MINIMIZE_THREADS_LONGTEXT N_( \
688      "This option minimizes the number of threads needed to run VLC")
689
690 #define PLUGIN_PATH_TEXT N_("Modules search path")
691 #define PLUGIN_PATH_LONGTEXT N_( \
692     "This option allows you to specify an additional path for VLC to look " \
693     "for its modules.")
694
695 #define VLM_CONF_TEXT N_("VLM configuration file")
696 #define VLM_CONF_LONGTEXT N_( \
697     "This option allows you to specify a VLM configuration file that will " \
698     "be read when VLM is launched.")
699
700 #define PLUGINS_CACHE_TEXT N_("Use a plugins cache")
701 #define PLUGINS_CACHE_LONGTEXT N_( \
702     "This option allows you to use a plugins cache which will greatly " \
703     "improve the start time of VLC.")
704
705 #define DAEMON_TEXT N_("Run as daemon process")
706 #define DAEMON_LONGTEXT N_( \
707      "Runs VLC as a background daemon process.")
708
709 #define ONEINSTANCE_TEXT N_("Allow only one running instance")
710 #define ONEINSTANCE_LONGTEXT N_( \
711     "Allowing only one running instance of VLC can sometimes be useful, " \
712     "for instance if you associated VLC with some media types and you " \
713     "don't want a new instance of VLC to be opened each time you " \
714     "double-click on a file in the explorer. This option will allow you " \
715     "to play the file with the already running instance or enqueue it.")
716
717 #define HPRIORITY_TEXT N_("Increase the priority of the process")
718 #define HPRIORITY_LONGTEXT N_( \
719     "Increasing the priority of the process will very likely improve your " \
720     "playing experience as it allows VLC not to be disturbed by other " \
721     "applications that could otherwise take too much processor time.\n" \
722     "However be advised that in certain circumstances (bugs) VLC could take " \
723     "all the processor time and render the whole system unresponsive which " \
724     "might require a reboot of your machine.")
725
726 #define FAST_MUTEX_TEXT N_("Fast mutex on NT/2K/XP (developers only)")
727 #define FAST_MUTEX_LONGTEXT N_( \
728     "On Windows NT/2K/XP we use a slow mutex implementation but which " \
729     "allows us to correctly implement condition variables. " \
730     "You can also use the faster Win9x implementation but you might " \
731     "experience problems with it.")
732
733 #define WIN9X_CV_TEXT N_("Condition variables implementation for Win9x " \
734     "(developers only)")
735 #define WIN9X_CV_LONGTEXT N_( \
736     "On Windows 9x/Me you can use a fast but incorrect condition variables " \
737     "implementation (more precisely there is a possibility for a race " \
738     "condition to happen). " \
739     "However it is possible to use slower alternatives which are more " \
740     "robust. " \
741     "Currently you can choose between implementation 0 (which is the " \
742     "fastest but slightly incorrect), 1 (default) and 2.")
743
744 #define HOTKEY_CAT_LONGTEXT N_( "These settings are the global VLC key " \
745     "bindings, known as \"hotkeys\"." )
746
747 #define FULLSCREEN_KEY_TEXT N_("Fullscreen")
748 #define FULLSCREEN_KEY_LONGTEXT N_("Select the hotkey to use to swap fullscreen state.")
749 #define PLAY_PAUSE_KEY_TEXT N_("Play/Pause")
750 #define PLAY_PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to swap paused state.")
751 #define PAUSE_KEY_TEXT N_("Pause only")
752 #define PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to pause.")
753 #define PLAY_KEY_TEXT N_("Play only")
754 #define PLAY_KEY_LONGTEXT N_("Select the hotkey to use to play.")
755 #define FASTER_KEY_TEXT N_("Faster")
756 #define FASTER_KEY_LONGTEXT N_("Select the hotkey to use for fast forward playback.")
757 #define SLOWER_KEY_TEXT N_("Slower")
758 #define SLOWER_KEY_LONGTEXT N_("Select the hotkey to use for slow motion playback.")
759 #define NEXT_KEY_TEXT N_("Next")
760 #define NEXT_KEY_LONGTEXT N_("Select the hotkey to use to skip to the next item in the playlist.")
761 #define PREV_KEY_TEXT N_("Previous")
762 #define PREV_KEY_LONGTEXT N_("Select the hotkey to use to skip to the previous item in the playlist.")
763 #define STOP_KEY_TEXT N_("Stop")
764 #define STOP_KEY_LONGTEXT N_("Select the hotkey to stop the playback.")
765 #define POSITION_KEY_TEXT N_("Position")
766 #define POSITION_KEY_LONGTEXT N_("Select the hotkey to display the position.")
767
768 #define JB10SEC_KEY_TEXT N_("Jump 10 seconds backwards")
769 #define JB10SEC_KEY_LONGTEXT N_("Select the hotkey to jump 10 seconds backwards.")
770
771 #define JB1MIN_KEY_TEXT N_("Jump 1 minute backwards")
772 #define JB1MIN_KEY_LONGTEXT N_("Select the hotkey to jump 1 minute backwards.")
773 #define JB5MIN_KEY_TEXT N_("Jump 5 minutes backwards")
774 #define JB5MIN_KEY_LONGTEXT N_("Select the hotkey to jump 5 minutes backwards.")
775 #define JF10SEC_KEY_TEXT N_("Jump 10 seconds forward")
776 #define JF10SEC_KEY_LONGTEXT N_("Select the hotkey to jump 10 seconds forward.")
777
778 #define JF1MIN_KEY_TEXT N_("Jump 1 minute forward")
779 #define JF1MIN_KEY_LONGTEXT N_("Select the hotkey to jump 1 minute forward.")
780
781 #define JF5MIN_KEY_TEXT N_("Jump 5 minutes forward")
782 #define JF5MIN_KEY_LONGTEXT N_("Select the hotkey to jump 5 minutes forward.")
783
784 #define QUIT_KEY_TEXT N_("Quit")
785 #define QUIT_KEY_LONGTEXT N_("Select the hotkey to quit the application.")
786 #define NAV_UP_KEY_TEXT N_("Navigate up")
787 #define NAV_UP_KEY_LONGTEXT N_("Select the key to move the selector up in DVD menus.")
788 #define NAV_DOWN_KEY_TEXT N_("Navigate down")
789 #define NAV_DOWN_KEY_LONGTEXT N_("Select the key to move the selector down in DVD menus.")
790 #define NAV_LEFT_KEY_TEXT N_("Navigate left")
791 #define NAV_LEFT_KEY_LONGTEXT N_("Select the key to move the selector left in DVD menus.")
792 #define NAV_RIGHT_KEY_TEXT N_("Navigate right")
793 #define NAV_RIGHT_KEY_LONGTEXT N_("Select the key to move the selector right in DVD menus.")
794 #define NAV_ACTIVATE_KEY_TEXT N_("Activate")
795 #define NAV_ACTIVATE_KEY_LONGTEXT N_("Select the key to activate selected item in DVD menus.")
796 #define VOL_UP_KEY_TEXT N_("Volume up")
797 #define VOL_UP_KEY_LONGTEXT N_("Select the key to increase audio volume.")
798 #define VOL_DOWN_KEY_TEXT N_("Volume down")
799 #define VOL_DOWN_KEY_LONGTEXT N_("Select the key to decrease audio volume.")
800 #define VOL_MUTE_KEY_TEXT N_("Mute")
801 #define VOL_MUTE_KEY_LONGTEXT N_("Select the key to turn off audio volume.")
802 #define SUBDELAY_UP_KEY_TEXT N_("Subtitle delay up")
803 #define SUBDELAY_UP_KEY_LONGTEXT N_("Select the key to increase the subtitle delay.")
804 #define SUBDELAY_DOWN_KEY_TEXT N_("Subtitle delay down")
805 #define SUBDELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the subtitle delay.")
806 #define AUDIODELAY_UP_KEY_TEXT N_("Audio delay up")
807 #define AUDIODELAY_UP_KEY_LONGTEXT N_("Select the key to increase the audio delay.")
808 #define AUDIODELAY_DOWN_KEY_TEXT N_("Audio delay down")
809 #define AUDIODELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the audio delay.")
810 #define PLAY_BOOKMARK1_KEY_TEXT N_("Play playlist bookmark 1")
811 #define PLAY_BOOKMARK2_KEY_TEXT N_("Play playlist bookmark 2")
812 #define PLAY_BOOKMARK3_KEY_TEXT N_("Play playlist bookmark 3")
813 #define PLAY_BOOKMARK4_KEY_TEXT N_("Play playlist bookmark 4")
814 #define PLAY_BOOKMARK5_KEY_TEXT N_("Play playlist bookmark 5")
815 #define PLAY_BOOKMARK6_KEY_TEXT N_("Play playlist bookmark 6")
816 #define PLAY_BOOKMARK7_KEY_TEXT N_("Play playlist bookmark 7")
817 #define PLAY_BOOKMARK8_KEY_TEXT N_("Play playlist bookmark 8")
818 #define PLAY_BOOKMARK9_KEY_TEXT N_("Play playlist bookmark 9")
819 #define PLAY_BOOKMARK10_KEY_TEXT N_("Play playlist bookmark 10")
820 #define PLAY_BOOKMARK_KEY_LONGTEXT N_("Select the key to play this bookmark.")
821 #define SET_BOOKMARK1_KEY_TEXT N_("Set playlist bookmark 1")
822 #define SET_BOOKMARK2_KEY_TEXT N_("Set playlist bookmark 2")
823 #define SET_BOOKMARK3_KEY_TEXT N_("Set playlist bookmark 3")
824 #define SET_BOOKMARK4_KEY_TEXT N_("Set playlist bookmark 4")
825 #define SET_BOOKMARK5_KEY_TEXT N_("Set playlist bookmark 5")
826 #define SET_BOOKMARK6_KEY_TEXT N_("Set playlist bookmark 6")
827 #define SET_BOOKMARK7_KEY_TEXT N_("Set playlist bookmark 7")
828 #define SET_BOOKMARK8_KEY_TEXT N_("Set playlist bookmark 8")
829 #define SET_BOOKMARK9_KEY_TEXT N_("Set playlist bookmark 9")
830 #define SET_BOOKMARK10_KEY_TEXT N_("Set playlist bookmark 10")
831 #define SET_BOOKMARK_KEY_LONGTEXT N_("Select the key to set this playlist bookmark.")
832
833 #define HISTORY_BACK_TEXT N_("Go back in browsing history")
834 #define HISTORY_BACK_LONGTEXT N_("Select the key to go back (to the previous media item) in the browsing history.")
835 #define HISTORY_FORWARD_TEXT N_("Go forward in browsing history")
836 #define HISTORY_FORWARD_LONGTEXT N_("Select the key to go forward (to the next media item) in the browsing history.")
837
838 #define AUDIO_TRACK_KEY_TEXT N_("Cycle audio track")
839 #define AUDIO_TRACK_KEY_LONGTEXT N_("Cycle through the available audio tracks(languages)")
840 #define SUBTITLE_TRACK_KEY_TEXT N_("Cycle subtitle track")
841 #define SUBTITLE_TRACK_KEY_LONGTEXT N_("Cycle through the available subtitle tracks")
842 #define INTF_SHOW_KEY_TEXT N_("Show interface")
843 #define INTF_SHOW_KEY_LONGTEXT N_("Raise the interface above all other windows")
844 #define SNAP_KEY_TEXT N_("Take video snapshot")
845 #define SNAP_KEY_LONGTEXT N_("Takes a video snapshot and writes it to disk.")
846
847 #define RECORD_KEY_TEXT N_("Record")
848 #define RECORD_KEY_LONGTEXT N_("Record access filter start/stop.")
849
850
851 #define VLC_USAGE N_( \
852     "Usage: %s [options] [playlistitems] ..." \
853     "\nYou can specify multiple playlistitems on the commandline. They will be enqueued in the playlist." \
854     "\nThe first item specified will be played first." \
855     "\n" \
856     "\nOptions-styles:" \
857     "\n  --option  A global option that is set for the duration of the program." \
858     "\n   -option  A single letter version of a global --option." \
859     "\n   :option  An option that only applies to the playlistitem directly before it" \
860     "\n            and that overrides previous settings." \
861     "\n" \
862     "\nPlaylistitem MRL syntax:" \
863     "\n  URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]" \
864     "\n" \
865     "\n  Many of the global --options can also be used as MRL specific :options." \
866     "\n  Multiple :option=value pairs can be specified." \
867     "\n" \
868     "\nURL syntax:" \
869     "\n  [file://]filename              Plain media file" \
870     "\n  http://ip:port/file            HTTP URL" \
871     "\n  ftp://ip:port/file             FTP URL" \
872     "\n  mms://ip:port/file             MMS URL" \
873     "\n  screen://                      Screen capture" \
874     "\n  [dvd://][device][@raw_device]  DVD device" \
875     "\n  [vcd://][device]               VCD device" \
876     "\n  [cdda://][device]              Audio CD device" \
877     "\n  udp:[[<source address>]@[<bind address>][:<bind port>]]" \
878     "\n                                 UDP stream sent by a streaming server"\
879     "\n  vlc:pause                      Special item to pause the playlist" \
880     "\n  vlc:quit                       Special item to quit VLC" \
881     "\n")
882
883
884 /*
885  * Quick usage guide for the configuration options:
886  *
887  * add_category_hint( N_(text), N_(longtext), b_advanced_option );
888  * add_subcategory_hint( N_(text), N_(longtext), b_advanced_option );
889  * add_usage_hint( N_(text), b_advanced_option );
890  * add_string( option_name, value, p_callback, N_(text), N_(longtext),
891                b_advanced_option );
892  * add_file( option_name, psz_value, p_callback, N_(text), N_(longtext) );
893  * add_module( option_name, psz_value, i_capability, p_callback,
894  *             N_(text), N_(longtext) );
895  * add_integer( option_name, i_value, p_callback, N_(text), N_(longtext),
896                 b_advanced_option );
897  * add_bool( option_name, b_value, p_callback, N_(text), N_(longtext),
898              b_advanced_option );
899  */
900
901 vlc_module_begin();
902 /* Audio options */
903     set_category( CAT_AUDIO );
904     set_subcategory( SUBCAT_AUDIO_GENERAL );
905     add_category_hint( N_("Audio"), AOUT_CAT_LONGTEXT , VLC_FALSE );
906
907     add_bool( "audio", 1, NULL, AUDIO_TEXT, AUDIO_LONGTEXT, VLC_FALSE );
908     add_integer_with_range( "volume", AOUT_VOLUME_DEFAULT, AOUT_VOLUME_MIN,
909                             AOUT_VOLUME_MAX, NULL, VOLUME_TEXT,
910                             VOLUME_LONGTEXT, VLC_FALSE );
911     add_integer( "aout-rate", -1, NULL, AOUT_RATE_TEXT,
912                  AOUT_RATE_LONGTEXT, VLC_TRUE );
913 #if !defined( SYS_DARWIN )
914     add_bool( "hq-resampling", 1, NULL, AOUT_RESAMP_TEXT,
915               AOUT_RESAMP_LONGTEXT, VLC_TRUE );
916 #endif
917     add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, VLC_FALSE );
918     add_integer( "audio-desync", 0, NULL, DESYNC_TEXT,
919                  DESYNC_LONGTEXT, VLC_TRUE );
920     set_subcategory( SUBCAT_AUDIO_AOUT );
921     add_module( "aout", "audio output", NULL, NULL, AOUT_TEXT, AOUT_LONGTEXT,
922                 VLC_TRUE );
923         change_short('A');
924     set_subcategory( SUBCAT_AUDIO_AFILTER );
925     add_module_list_cat( "audio-filter", SUBCAT_AUDIO_AFILTER, 0,
926                          NULL, AUDIO_FILTER_TEXT,
927                          AUDIO_FILTER_LONGTEXT, VLC_FALSE );
928     set_subcategory( SUBCAT_AUDIO_VISUAL );
929     add_module( "audio-visual", "visualization",NULL, NULL,AUDIO_VISUAL_TEXT,
930                 AUDIO_VISUAL_LONGTEXT, VLC_FALSE );
931
932 /* Video options */
933     set_category( CAT_VIDEO );
934     set_subcategory( SUBCAT_VIDEO_GENERAL );
935     add_category_hint( N_("Video"), VOUT_CAT_LONGTEXT , VLC_FALSE );
936
937     add_bool( "video", 1, NULL, VIDEO_TEXT, VIDEO_LONGTEXT, VLC_TRUE );
938     add_bool( "grayscale", 0, NULL, GRAYSCALE_TEXT,
939               GRAYSCALE_LONGTEXT, VLC_FALSE );
940     add_bool( "fullscreen", 0, NULL, FULLSCREEN_TEXT,
941               FULLSCREEN_LONGTEXT, VLC_FALSE );
942         change_short('f');
943     add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT,
944               SKIP_FRAMES_LONGTEXT, VLC_FALSE );
945     add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
946               QUIET_SYNCHRO_LONGTEXT, VLC_TRUE );
947 #ifndef SYS_DARWIN
948     add_bool( "overlay", 1, NULL, OVERLAY_TEXT, OVERLAY_LONGTEXT, VLC_TRUE );
949 #endif
950     add_bool( "video-on-top", 0, NULL, VIDEO_ON_TOP_TEXT,
951               VIDEO_ON_TOP_LONGTEXT, VLC_FALSE );
952
953     set_section( N_("Snapshot") , NULL );
954     add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT,
955                    SNAP_PATH_LONGTEXT, VLC_FALSE );
956     add_string( "snapshot-format", "png", NULL, SNAP_FORMAT_TEXT,
957                    SNAP_FORMAT_LONGTEXT, VLC_FALSE );
958         change_string_list( ppsz_snap_formats, NULL, 0 );
959
960     set_section( N_("Window properties" ), NULL );
961     add_integer( "width", -1, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, VLC_TRUE );
962     add_integer( "height", -1, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, VLC_TRUE );
963     add_integer( "video-x", -1, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, VLC_TRUE );
964     add_integer( "video-y", -1, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, VLC_TRUE );
965     add_string( "aspect-ratio", "", NULL,
966                ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_FALSE );
967     add_bool( "video-deco", 1, NULL, VIDEO_DECO_TEXT,
968               VIDEO_DECO_LONGTEXT, VLC_TRUE );
969     add_string( "video-title", NULL, NULL, VIDEO_TITLE_TEXT,
970                  VIDEO_TITLE_LONGTEXT, VLC_TRUE );
971     add_integer( "align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, VLC_TRUE );
972         change_integer_list( pi_align_values, ppsz_align_descriptions, 0 );
973     add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, VLC_TRUE );
974
975
976     set_subcategory( SUBCAT_VIDEO_VOUT );
977     add_module( "vout", "video output", NULL, NULL, VOUT_TEXT, VOUT_LONGTEXT,
978                 VLC_TRUE );
979         change_short('V');
980
981     set_subcategory( SUBCAT_VIDEO_VFILTER );
982     add_module_list_cat( "vout-filter", SUBCAT_VIDEO_VFILTER, NULL, NULL,
983                 FILTER_TEXT, FILTER_LONGTEXT, VLC_FALSE );
984        add_deprecated( "filter", VLC_FALSE ); /*deprecated since 0.8.2 */
985 #if 0
986     add_string( "pixel-ratio", "1", NULL, PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT );
987 #endif
988
989 /* Subpictures options */
990     set_subcategory( SUBCAT_VIDEO_SUBPIC );
991     set_section( N_("On Screen Display") , NULL );
992     add_category_hint( N_("Subpictures"), SUB_CAT_LONGTEXT , VLC_FALSE );
993     add_bool( "osd", 1, NULL, OSD_TEXT, OSD_LONGTEXT, VLC_FALSE );
994
995     set_section( N_("Subtitles") , NULL );
996     add_file( "sub-file", NULL, NULL, SUB_FILE_TEXT,
997               SUB_FILE_LONGTEXT, VLC_FALSE );
998     add_bool( "sub-autodetect-file", VLC_TRUE, NULL,
999                  SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, VLC_FALSE );
1000     add_integer( "sub-autodetect-fuzzy", 3, NULL,
1001                  SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, VLC_TRUE );
1002 #ifdef WIN32
1003 #   define SUB_PATH ".\\subtitles"
1004 #else
1005 #   define SUB_PATH "./Subtitles, ./subtitles"
1006 #endif
1007     add_string( "sub-autodetect-path", SUB_PATH, NULL,
1008                  SUB_PATH_TEXT, SUB_PATH_LONGTEXT, VLC_TRUE );
1009     add_integer( "sub-margin", -1, NULL, SUB_MARGIN_TEXT,
1010                  SUB_MARGIN_LONGTEXT, VLC_TRUE );
1011         add_deprecated( "spu-margin", VLC_FALSE ); /*Deprecated since 0.8.2 */
1012     set_section( N_( "Overlays" ) , NULL );
1013     add_module_list_cat( "sub-filter", SUBCAT_VIDEO_SUBPIC, NULL, NULL,
1014                 SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT, VLC_TRUE );
1015
1016 /* Input options */
1017     set_category( CAT_INPUT );
1018     set_subcategory( SUBCAT_INPUT_ACCESS );
1019     add_category_hint( N_("Input"), INPUT_CAT_LONGTEXT , VLC_FALSE );
1020     add_module( "access", "access2", NULL, NULL, ACCESS_TEXT,
1021                 ACCESS_LONGTEXT, VLC_TRUE );
1022
1023     set_subcategory( SUBCAT_INPUT_ACCESS_FILTER );
1024     add_module_list_cat( "access-filter", SUBCAT_INPUT_ACCESS_FILTER, NULL, NULL,
1025                 ACCESS_FILTER_TEXT, ACCESS_FILTER_LONGTEXT, VLC_FALSE );
1026
1027
1028     set_subcategory( SUBCAT_INPUT_DEMUX );
1029     add_module( "demux", "demux2", NULL, NULL, DEMUX_TEXT,
1030                 DEMUX_LONGTEXT, VLC_TRUE );
1031     set_subcategory( SUBCAT_INPUT_VCODEC );
1032     set_subcategory( SUBCAT_INPUT_ACODEC );
1033     set_subcategory( SUBCAT_INPUT_SCODEC );
1034     set_subcategory( SUBCAT_INPUT_ADVANCED );
1035
1036     set_section( N_( "Track settings" ), NULL );
1037     add_integer( "program", 0, NULL,
1038                  INPUT_PROGRAM_TEXT, INPUT_PROGRAM_LONGTEXT, VLC_TRUE );
1039     add_string( "programs", "", NULL,
1040                 INPUT_PROGRAMS_TEXT, INPUT_PROGRAMS_LONGTEXT, VLC_FALSE );
1041     add_integer( "audio-track", -1, NULL,
1042                  INPUT_AUDIOTRACK_TEXT, INPUT_AUDIOTRACK_LONGTEXT, VLC_FALSE );
1043        add_deprecated( "audio-channel", VLC_FALSE ); /*deprecated since 0.8.2 */
1044     add_integer( "sub-track", -1, NULL,
1045                  INPUT_SUBTRACK_TEXT, INPUT_SUBTRACK_LONGTEXT, VLC_FALSE );
1046        add_deprecated("spu-channel",VLC_FALSE); /*deprecated since 0.8.2*/
1047     add_string( "audio-language", "", NULL,
1048                  INPUT_AUDIOTRACK_LANG_TEXT, INPUT_AUDIOTRACK_LANG_LONGTEXT,
1049                   VLC_FALSE );
1050     add_string( "sub-language", "", NULL,
1051                  INPUT_SUBTRACK_LANG_TEXT, INPUT_SUBTRACK_LANG_LONGTEXT,
1052                   VLC_FALSE );
1053
1054
1055     set_section( N_( "Playback control" ) , NULL);
1056     add_integer( "input-repeat", 0, NULL,
1057                  INPUT_REPEAT_TEXT, INPUT_REPEAT_LONGTEXT, VLC_TRUE );
1058     add_integer( "start-time", 0, NULL,
1059                  START_TIME_TEXT, START_TIME_LONGTEXT, VLC_TRUE );
1060     add_integer( "stop-time", 0, NULL,
1061                  STOP_TIME_TEXT, STOP_TIME_LONGTEXT, VLC_TRUE );
1062     add_string( "input-list", NULL, NULL,
1063                  INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT, VLC_TRUE );
1064     add_string( "input-slave", NULL, NULL,
1065                  INPUT_SLAVE_TEXT, INPUT_SLAVE_LONGTEXT, VLC_TRUE );
1066
1067     add_string( "bookmarks", NULL, NULL,
1068                  BOOKMARKS_TEXT, BOOKMARKS_LONGTEXT, VLC_TRUE );
1069
1070     set_section( N_( "Default devices") , NULL )
1071
1072     add_file( "dvd", DVD_DEVICE, NULL, DVD_DEV_TEXT, DVD_DEV_LONGTEXT,
1073               VLC_FALSE );
1074     add_file( "vcd", VCD_DEVICE, NULL, VCD_DEV_TEXT, VCD_DEV_LONGTEXT,
1075               VLC_FALSE );
1076     add_file( "cd-audio", CDAUDIO_DEVICE, NULL, CDAUDIO_DEV_TEXT,
1077               CDAUDIO_DEV_LONGTEXT, VLC_FALSE );
1078
1079     set_section( N_( "Network settings" ), NULL );
1080
1081     add_integer( "server-port", 1234, NULL,
1082                  SERVER_PORT_TEXT, SERVER_PORT_LONGTEXT, VLC_FALSE );
1083     add_integer( "mtu", 1500, NULL, MTU_TEXT, MTU_LONGTEXT, VLC_TRUE );
1084     add_string( "iface-addr", "", NULL, IFACE_ADDR_TEXT,
1085                 IFACE_ADDR_LONGTEXT, VLC_TRUE );
1086     add_bool( "ipv6", 0, NULL, IPV6_TEXT, IPV6_LONGTEXT, VLC_FALSE );
1087         change_short('6');
1088     add_bool( "ipv4", 0, NULL, IPV4_TEXT, IPV4_LONGTEXT, VLC_FALSE );
1089         change_short('4');
1090
1091     set_section( N_( "Socks proxy") , NULL )
1092     add_string( "socks", NULL, NULL,
1093                  SOCKS_SERVER_TEXT, SOCKS_SERVER_LONGTEXT, VLC_TRUE );
1094     add_string( "socks-user", NULL, NULL,
1095                  SOCKS_USER_TEXT, SOCKS_USER_LONGTEXT, VLC_TRUE );
1096     add_string( "socks-pwd", NULL, NULL,
1097                  SOCKS_PASS_TEXT, SOCKS_PASS_LONGTEXT, VLC_TRUE );
1098
1099
1100     set_section( N_("Metadata" ) , NULL )
1101     add_string( "meta-title", NULL, NULL, META_TITLE_TEXT,
1102                 META_TITLE_LONGTEXT, VLC_TRUE );
1103     add_string( "meta-author", NULL, NULL, META_AUTHOR_TEXT,
1104                 META_AUTHOR_LONGTEXT, VLC_TRUE );
1105     add_string( "meta-artist", NULL, NULL, META_ARTIST_TEXT,
1106                 META_ARTIST_LONGTEXT, VLC_TRUE );
1107     add_string( "meta-genre", NULL, NULL, META_GENRE_TEXT,
1108                 META_GENRE_LONGTEXT, VLC_TRUE );
1109     add_string( "meta-copyright", NULL, NULL, META_CPYR_TEXT,
1110                 META_CPYR_LONGTEXT, VLC_TRUE );
1111     add_string( "meta-description", NULL, NULL, META_DESCR_TEXT,
1112                 META_DESCR_LONGTEXT, VLC_TRUE );
1113     add_string( "meta-date", NULL, NULL, META_DATE_TEXT,
1114                 META_DATE_LONGTEXT, VLC_TRUE );
1115     add_string( "meta-url", NULL, NULL, META_URL_TEXT,
1116                 META_URL_LONGTEXT, VLC_TRUE );
1117
1118     set_section( N_( "Advanced" ), NULL );
1119
1120     add_integer( "cr-average", 40, NULL, CR_AVERAGE_TEXT,
1121                  CR_AVERAGE_LONGTEXT, VLC_FALSE );
1122     add_integer( "clock-synchro", -1, NULL, CLOCK_SYNCHRO_TEXT,
1123                  CLOCK_SYNCHRO_LONGTEXT, VLC_FALSE );
1124         change_integer_list( pi_clock_values, ppsz_clock_descriptions, 0 );
1125
1126 /* Decoder options */
1127     add_category_hint( N_("Decoders"), CODEC_CAT_LONGTEXT , VLC_TRUE );
1128     add_string( "codec", NULL, NULL, CODEC_TEXT,
1129                 CODEC_LONGTEXT, VLC_TRUE );
1130     add_string( "encoder",  NULL, NULL, ENCODER_TEXT,
1131                 ENCODER_LONGTEXT, VLC_TRUE );
1132
1133
1134 /* Stream output options */
1135     set_category( CAT_SOUT );
1136     set_subcategory( SUBCAT_SOUT_GENERAL );
1137     add_category_hint( N_("Stream output"), SOUT_CAT_LONGTEXT , VLC_TRUE );
1138
1139     add_string( "sout", NULL, NULL, SOUT_TEXT, SOUT_LONGTEXT, VLC_TRUE );
1140     add_bool( "sout-display", VLC_FALSE, NULL, SOUT_DISPLAY_TEXT,
1141                                 SOUT_DISPLAY_LONGTEXT, VLC_TRUE );
1142     add_bool( "sout-keep", VLC_FALSE, NULL, SOUT_KEEP_TEXT,
1143                                 SOUT_KEEP_LONGTEXT, VLC_TRUE );
1144     add_bool( "sout-all", 0, NULL, SOUT_ALL_TEXT,
1145                                 SOUT_ALL_LONGTEXT, VLC_TRUE );
1146     add_bool( "sout-audio", 1, NULL, SOUT_AUDIO_TEXT,
1147                                 SOUT_AUDIO_LONGTEXT, VLC_TRUE );
1148     add_bool( "sout-video", 1, NULL, SOUT_VIDEO_TEXT,
1149                                 SOUT_VIDEO_LONGTEXT, VLC_TRUE );
1150     add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
1151
1152     set_subcategory( SUBCAT_SOUT_STREAM );
1153     set_subcategory( SUBCAT_SOUT_MUX );
1154     add_module( "mux", "sout mux", NULL, NULL, MUX_TEXT,
1155                                 MUX_LONGTEXT, VLC_TRUE );
1156     set_subcategory( SUBCAT_SOUT_ACO );
1157     add_module( "access_output", "sout access", NULL, NULL,
1158                 ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE );
1159     set_subcategory( SUBCAT_SOUT_PACKETIZER );
1160     add_module( "packetizer","packetizer", NULL, NULL,
1161                 PACKETIZER_TEXT, PACKETIZER_LONGTEXT, VLC_TRUE );
1162
1163     set_subcategory( SUBCAT_SOUT_SAP );
1164     add_bool( "sap-flow-control", VLC_FALSE, NULL, ANN_SAPCTRL_TEXT,
1165                                ANN_SAPCTRL_LONGTEXT, VLC_TRUE );
1166     add_integer( "sap-interval", 5, NULL, ANN_SAPINTV_TEXT,
1167                                ANN_SAPINTV_LONGTEXT, VLC_TRUE );
1168     set_subcategory( SUBCAT_SOUT_VOD );
1169
1170 /* CPU options */
1171     set_category( CAT_ADVANCED );
1172     set_subcategory( SUBCAT_ADVANCED_CPU );
1173     add_category_hint( N_("CPU"), CPU_CAT_LONGTEXT, VLC_TRUE );
1174     add_bool( "fpu", 1, NULL, FPU_TEXT, FPU_LONGTEXT, VLC_TRUE );
1175 #if defined( __i386__ ) || defined( __x86_64__ )
1176     add_bool( "mmx", 1, NULL, MMX_TEXT, MMX_LONGTEXT, VLC_TRUE );
1177     add_bool( "3dn", 1, NULL, THREE_DN_TEXT, THREE_DN_LONGTEXT, VLC_TRUE );
1178     add_bool( "mmxext", 1, NULL, MMXEXT_TEXT, MMXEXT_LONGTEXT, VLC_TRUE );
1179     add_bool( "sse", 1, NULL, SSE_TEXT, SSE_LONGTEXT, VLC_TRUE );
1180     add_bool( "sse2", 1, NULL, SSE2_TEXT, SSE2_LONGTEXT, VLC_TRUE );
1181 #endif
1182 #if defined( __powerpc__ ) || defined( SYS_DARWIN )
1183     add_bool( "altivec", 1, NULL, ALTIVEC_TEXT, ALTIVEC_LONGTEXT, VLC_TRUE );
1184 #endif
1185
1186 /* Misc options */
1187     set_subcategory( SUBCAT_ADVANCED_MISC );
1188     set_section( N_("Special modules"), NULL );
1189     add_category_hint( N_("Miscellaneous"), MISC_CAT_LONGTEXT, VLC_TRUE );
1190     add_module( "memcpy", "memcpy", NULL, NULL, MEMCPY_TEXT,
1191                 MEMCPY_LONGTEXT, VLC_TRUE );
1192     add_module( "audio-channel-mixer", "audio mixer", NULL, NULL,
1193                 AUDIO_CHANNEL_MIXER, AUDIO_CHANNEL_MIXER_LONGTEXT, VLC_TRUE );
1194
1195     set_section( N_("Plugins" ), NULL );
1196     add_bool( "plugins-cache", VLC_TRUE, NULL, PLUGINS_CACHE_TEXT,
1197               PLUGINS_CACHE_LONGTEXT, VLC_TRUE );
1198     add_directory( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT,
1199                    PLUGIN_PATH_LONGTEXT, VLC_TRUE );
1200
1201     set_section( N_("Performance options"), NULL );
1202     add_bool( "minimize-threads", 0, NULL, MINIMIZE_THREADS_TEXT,
1203               MINIMIZE_THREADS_LONGTEXT, VLC_TRUE );
1204
1205 #if !defined(SYS_DARWIN) && !defined(SYS_BEOS) && defined(PTHREAD_COND_T_IN_PTHREAD_H)
1206     add_bool( "rt-priority", 0, NULL, RT_PRIORITY_TEXT,
1207               RT_PRIORITY_LONGTEXT, VLC_TRUE );
1208 #endif
1209
1210 #if !defined(SYS_BEOS) && defined(PTHREAD_COND_T_IN_PTHREAD_H)
1211     add_integer( "rt-offset", 0, NULL, RT_OFFSET_TEXT,
1212                  RT_OFFSET_LONGTEXT, VLC_TRUE );
1213 #endif
1214
1215 #if defined(WIN32)
1216     add_bool( "one-instance", 0, NULL, ONEINSTANCE_TEXT,
1217               ONEINSTANCE_LONGTEXT, VLC_TRUE );
1218     add_bool( "high-priority", 0, NULL, HPRIORITY_TEXT,
1219               HPRIORITY_LONGTEXT, VLC_FALSE );
1220     add_bool( "fast-mutex", 0, NULL, FAST_MUTEX_TEXT,
1221               FAST_MUTEX_LONGTEXT, VLC_TRUE );
1222     add_integer( "win9x-cv-method", 1, NULL, WIN9X_CV_TEXT,
1223                   WIN9X_CV_LONGTEXT, VLC_TRUE );
1224 #endif
1225
1226     set_section( N_("Miscellaneous" ), NULL );
1227     add_string( "vlm-conf", NULL, NULL, VLM_CONF_TEXT,
1228                     VLM_CONF_LONGTEXT, VLC_TRUE );
1229
1230 #if !defined(WIN32)
1231     add_bool( "daemon", 0, NULL, DAEMON_TEXT, DAEMON_LONGTEXT, VLC_TRUE );
1232         change_short('d');
1233 #endif
1234
1235 /* Playlist options */
1236     set_category( CAT_PLAYLIST );
1237     set_subcategory( SUBCAT_PLAYLIST_GENERAL );
1238     add_category_hint( N_("Playlist"), PLAYLIST_CAT_LONGTEXT , VLC_FALSE );
1239     add_bool( "random", 0, NULL, RANDOM_TEXT, RANDOM_LONGTEXT, VLC_FALSE );
1240         change_short('Z');
1241     add_bool( "loop", 0, NULL, LOOP_TEXT, LOOP_LONGTEXT, VLC_FALSE );
1242         change_short('L');
1243     add_bool( "repeat", 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_FALSE );
1244         change_short('R');
1245     add_bool( "play-and-stop", 0, NULL, PAS_TEXT, PAS_LONGTEXT, VLC_FALSE );
1246
1247     set_subcategory( SUBCAT_PLAYLIST_SD );
1248     add_module_list_cat( "services-discovery", SUBCAT_PLAYLIST_SD, NULL,
1249                           NULL, SD_TEXT, SD_LONGTEXT, VLC_FALSE );
1250         change_short('S');
1251
1252 /* Interface options */
1253     set_category( CAT_INTERFACE );
1254     set_subcategory( SUBCAT_INTERFACE_GENERAL );
1255     add_category_hint( N_("Interface"), INTF_CAT_LONGTEXT , VLC_FALSE );
1256     set_section ( N_("Interface module" ), NULL );
1257     add_module_cat( "intf", SUBCAT_INTERFACE_GENERAL, NULL, NULL, INTF_TEXT,
1258                 INTF_LONGTEXT, VLC_FALSE );
1259         change_short('I');
1260
1261     set_section ( N_("Extra interface modules" ),  NULL );
1262     add_module_list_cat( "extraintf", SUBCAT_INTERFACE_GENERAL,
1263                          NULL, NULL, EXTRAINTF_TEXT,
1264                          EXTRAINTF_LONGTEXT, VLC_FALSE );
1265
1266     set_section ( N_("Miscellaneous"), NULL );
1267     add_integer( "verbose", 0, NULL, VERBOSE_TEXT, VERBOSE_LONGTEXT,
1268                  VLC_FALSE );
1269         change_short('v');
1270     add_bool( "quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_TRUE );
1271         change_short('q');
1272     add_string( "language", "auto", NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT,
1273                 VLC_FALSE );
1274         change_string_list( ppsz_language, ppsz_language_text, 0 );
1275     add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE );
1276     add_bool( "advanced", 0, NULL, ADVANCED_TEXT, ADVANCED_LONGTEXT,
1277                     VLC_FALSE );
1278
1279     set_subcategory( SUBCAT_INTERFACE_CONTROL );
1280     add_module_list_cat( "control", SUBCAT_INTERFACE_CONTROL, NULL, NULL,
1281                          CONTROL_TEXT, CONTROL_LONGTEXT, VLC_FALSE );
1282
1283 /* Hotkey options*/
1284     set_subcategory( SUBCAT_INTERFACE_HOTKEYS );
1285     add_category_hint( N_("Hot keys"), HOTKEY_CAT_LONGTEXT , VLC_FALSE );
1286
1287 #if defined(SYS_DARWIN)
1288 /* Don't use the following combo's */
1289
1290 /*  copy                          KEY_MODIFIER_COMMAND|'c'
1291  *  cut                           KEY_MODIFIER_COMMAND|'x'
1292  *  paste                         KEY_MODIFIER_COMMAND|'v'
1293  *  select all                    KEY_MODIFIER_COMMAND|'a'
1294  *  preferences                   KEY_MODIFIER_COMMAND|','
1295  *  hide vlc                      KEY_MODIFIER_COMMAND|'h'
1296  *  hide other                    KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|'h'
1297  *  open file                     KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'o'
1298  *  open                          KEY_MODIFIER_COMMAND|'o'
1299  *  open disk                     KEY_MODIFIER_COMMAND|'d'
1300  *  open network                  KEY_MODIFIER_COMMAND|'n'
1301  *  save playlist                 KEY_MODIFIER_COMMAND|'s'
1302  *  playlist random               KEY_MODIFIER_COMMAND|'z'
1303  *  playlist repeat all           KEY_MODIFIER_COMMAND|'l'
1304  *  playlist repeat               KEY_MODIFIER_COMMAND|'r'
1305  *  video half size               KEY_MODIFIER_COMMAND|'0'
1306  *  video normal size             KEY_MODIFIER_COMMAND|'1'
1307  *  video double size             KEY_MODIFIER_COMMAND|'2'
1308  *  video fit to screen           KEY_MODIFIER_COMMAND|'3'
1309  *  minimize window               KEY_MODIFIER_COMMAND|'m'
1310  *  close window                  KEY_MODIFIER_COMMAND|'w'
1311  *  show controller               KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'c'
1312  *  show playlist                 KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'p'
1313  *  show info                     KEY_MODIFIER_COMMAND|'i'
1314  *  help                          KEY_MODIFIER_COMMAND|'?'
1315  */
1316 #   define KEY_FULLSCREEN         KEY_MODIFIER_COMMAND|'f'
1317 #   define KEY_PLAY_PAUSE         KEY_MODIFIER_COMMAND|'p'
1318 #   define KEY_PAUSE              KEY_UNSET
1319 #   define KEY_PLAY               KEY_UNSET
1320 #   define KEY_FASTER             KEY_MODIFIER_COMMAND|'='
1321 #   define KEY_SLOWER             KEY_MODIFIER_COMMAND|'-'
1322 #   define KEY_NEXT               KEY_MODIFIER_COMMAND|KEY_RIGHT
1323 #   define KEY_PREV               KEY_MODIFIER_COMMAND|KEY_LEFT
1324 #   define KEY_STOP               KEY_MODIFIER_COMMAND|'.'
1325 #   define KEY_POSITION           't'
1326 #   define KEY_JUMP_M10SEC        KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|KEY_LEFT
1327 #   define KEY_JUMP_P10SEC        KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|KEY_RIGHT
1328 #   define KEY_JUMP_M1MIN         KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|KEY_LEFT
1329 #   define KEY_JUMP_P1MIN         KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|KEY_RIGHT
1330 #   define KEY_JUMP_M5MIN         KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|KEY_MODIFIER_ALT|KEY_LEFT
1331 #   define KEY_JUMP_P5MIN         KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|KEY_MODIFIER_ALT|KEY_RIGHT
1332 #   define KEY_NAV_ACTIVATE       KEY_ENTER
1333 #   define KEY_NAV_UP             KEY_UP
1334 #   define KEY_NAV_DOWN           KEY_DOWN
1335 #   define KEY_NAV_LEFT           KEY_LEFT
1336 #   define KEY_NAV_RIGHT          KEY_RIGHT
1337 #   define KEY_QUIT               KEY_MODIFIER_COMMAND|'q'
1338 #   define KEY_VOL_UP             KEY_MODIFIER_COMMAND|KEY_UP
1339 #   define KEY_VOL_DOWN           KEY_MODIFIER_COMMAND|KEY_DOWN
1340 #   define KEY_VOL_MUTE           KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|KEY_DOWN
1341 #   define KEY_SUBDELAY_UP        'j'
1342 #   define KEY_SUBDELAY_DOWN      'h'
1343 #   define KEY_AUDIODELAY_UP      'g'
1344 #   define KEY_AUDIODELAY_DOWN    'f'
1345 #   define KEY_AUDIO_TRACK        'l'
1346 #   define KEY_SUBTITLE_TRACK     's'
1347 #   define KEY_INTF_SHOW          'i'
1348 #   define KEY_SNAPSHOT           KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|'s'
1349
1350 #   define KEY_SET_BOOKMARK1      KEY_MODIFIER_COMMAND|KEY_F1
1351 #   define KEY_SET_BOOKMARK2      KEY_MODIFIER_COMMAND|KEY_F2
1352 #   define KEY_SET_BOOKMARK3      KEY_MODIFIER_COMMAND|KEY_F3
1353 #   define KEY_SET_BOOKMARK4      KEY_MODIFIER_COMMAND|KEY_F4
1354 #   define KEY_SET_BOOKMARK5      KEY_MODIFIER_COMMAND|KEY_F5
1355 #   define KEY_SET_BOOKMARK6      KEY_MODIFIER_COMMAND|KEY_F6
1356 #   define KEY_SET_BOOKMARK7      KEY_MODIFIER_COMMAND|KEY_F7
1357 #   define KEY_SET_BOOKMARK8      KEY_MODIFIER_COMMAND|KEY_F8
1358 #   define KEY_SET_BOOKMARK9      KEY_UNSET
1359 #   define KEY_SET_BOOKMARK10     KEY_UNSET
1360 #   define KEY_PLAY_BOOKMARK1     KEY_F1
1361 #   define KEY_PLAY_BOOKMARK2     KEY_F2
1362 #   define KEY_PLAY_BOOKMARK3     KEY_F3
1363 #   define KEY_PLAY_BOOKMARK4     KEY_F4
1364 #   define KEY_PLAY_BOOKMARK5     KEY_F5
1365 #   define KEY_PLAY_BOOKMARK6     KEY_F6
1366 #   define KEY_PLAY_BOOKMARK7     KEY_F7
1367 #   define KEY_PLAY_BOOKMARK8     KEY_F8
1368 #   define KEY_PLAY_BOOKMARK9     KEY_UNSET
1369 #   define KEY_PLAY_BOOKMARK10    KEY_UNSET
1370 #   define KEY_HISTORY_BACK       KEY_MODIFIER_COMMAND|'['
1371 #   define KEY_HISTORY_FORWARD    KEY_MODIFIER_COMMAND|']'
1372 #   define KEY_RECORD             KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'r'
1373
1374 #else
1375 #   define KEY_FULLSCREEN         'f'
1376 #   define KEY_PLAY_PAUSE         KEY_SPACE
1377 #   define KEY_PAUSE              KEY_UNSET
1378 #   define KEY_PLAY               KEY_UNSET
1379 #   define KEY_FASTER             '+'
1380 #   define KEY_SLOWER             '-'
1381 #   define KEY_NEXT               'n'
1382 #   define KEY_PREV               'p'
1383 #   define KEY_STOP               's'
1384 #   define KEY_POSITION           't'
1385 #   define KEY_JUMP_M10SEC        KEY_MODIFIER_ALT|KEY_LEFT
1386 #   define KEY_JUMP_P10SEC        KEY_MODIFIER_ALT|KEY_RIGHT
1387 #   define KEY_JUMP_M1MIN         KEY_MODIFIER_CTRL|KEY_LEFT
1388 #   define KEY_JUMP_P1MIN         KEY_MODIFIER_CTRL|KEY_RIGHT
1389 #   define KEY_JUMP_M5MIN         KEY_MODIFIER_CTRL|KEY_MODIFIER_ALT|KEY_LEFT
1390 #   define KEY_JUMP_P5MIN         KEY_MODIFIER_CTRL|KEY_MODIFIER_ALT|KEY_RIGHT
1391 #   define KEY_NAV_ACTIVATE       KEY_ENTER
1392 #   define KEY_NAV_UP             KEY_UP
1393 #   define KEY_NAV_DOWN           KEY_DOWN
1394 #   define KEY_NAV_LEFT           KEY_LEFT
1395 #   define KEY_NAV_RIGHT          KEY_RIGHT
1396 #   define KEY_QUIT               KEY_MODIFIER_CTRL|'q'
1397 #   define KEY_VOL_UP             KEY_MODIFIER_CTRL|KEY_UP
1398 #   define KEY_VOL_DOWN           KEY_MODIFIER_CTRL|KEY_DOWN
1399 #   define KEY_VOL_MUTE           'm'
1400 #   define KEY_SUBDELAY_UP        KEY_MODIFIER_CTRL|'h'
1401 #   define KEY_SUBDELAY_DOWN      KEY_MODIFIER_CTRL|'j'
1402 #   define KEY_AUDIODELAY_UP      KEY_MODIFIER_CTRL|'k'
1403 #   define KEY_AUDIODELAY_DOWN    KEY_MODIFIER_CTRL|'l'
1404
1405 #   define KEY_AUDIO_TRACK        'l'
1406 #   define KEY_SUBTITLE_TRACK     'k'
1407 #   define KEY_INTF_SHOW          'i'
1408 #   define KEY_SNAPSHOT           KEY_MODIFIER_CTRL|KEY_MODIFIER_ALT|'s'
1409
1410 #   define KEY_SET_BOOKMARK1      KEY_MODIFIER_CTRL|KEY_F1
1411 #   define KEY_SET_BOOKMARK2      KEY_MODIFIER_CTRL|KEY_F2
1412 #   define KEY_SET_BOOKMARK3      KEY_MODIFIER_CTRL|KEY_F3
1413 #   define KEY_SET_BOOKMARK4      KEY_MODIFIER_CTRL|KEY_F4
1414 #   define KEY_SET_BOOKMARK5      KEY_MODIFIER_CTRL|KEY_F5
1415 #   define KEY_SET_BOOKMARK6      KEY_MODIFIER_CTRL|KEY_F6
1416 #   define KEY_SET_BOOKMARK7      KEY_MODIFIER_CTRL|KEY_F7
1417 #   define KEY_SET_BOOKMARK8      KEY_MODIFIER_CTRL|KEY_F8
1418 #   define KEY_SET_BOOKMARK9      KEY_MODIFIER_CTRL|KEY_F9
1419 #   define KEY_SET_BOOKMARK10     KEY_MODIFIER_CTRL|KEY_F10
1420 #   define KEY_PLAY_BOOKMARK1     KEY_F1
1421 #   define KEY_PLAY_BOOKMARK2     KEY_F2
1422 #   define KEY_PLAY_BOOKMARK3     KEY_F3
1423 #   define KEY_PLAY_BOOKMARK4     KEY_F4
1424 #   define KEY_PLAY_BOOKMARK5     KEY_F5
1425 #   define KEY_PLAY_BOOKMARK6     KEY_F6
1426 #   define KEY_PLAY_BOOKMARK7     KEY_F7
1427 #   define KEY_PLAY_BOOKMARK8     KEY_F8
1428 #   define KEY_PLAY_BOOKMARK9     KEY_F9
1429 #   define KEY_PLAY_BOOKMARK10    KEY_F10
1430 #   define KEY_HISTORY_BACK       KEY_MODIFIER_CTRL|'v'
1431 #   define KEY_HISTORY_FORWARD    KEY_MODIFIER_CTRL|'b'
1432 #   define KEY_RECORD             KEY_MODIFIER_CTRL|'r'
1433 #endif
1434
1435     add_key( "key-fullscreen", KEY_FULLSCREEN, NULL, FULLSCREEN_KEY_TEXT,
1436              FULLSCREEN_KEY_LONGTEXT, VLC_FALSE );
1437     add_key( "key-play-pause", KEY_PLAY_PAUSE, NULL, PLAY_PAUSE_KEY_TEXT,
1438              PLAY_PAUSE_KEY_LONGTEXT, VLC_FALSE );
1439     add_key( "key-pause", KEY_PAUSE, NULL, PAUSE_KEY_TEXT,
1440              PAUSE_KEY_LONGTEXT, VLC_TRUE );
1441     add_key( "key-play", KEY_PLAY, NULL, PLAY_KEY_TEXT,
1442              PLAY_KEY_LONGTEXT, VLC_TRUE );
1443     add_key( "key-faster", KEY_FASTER, NULL, FASTER_KEY_TEXT,
1444              FASTER_KEY_LONGTEXT, VLC_FALSE );
1445     add_key( "key-slower", KEY_SLOWER, NULL, SLOWER_KEY_TEXT,
1446              SLOWER_KEY_LONGTEXT, VLC_FALSE );
1447     add_key( "key-next", KEY_NEXT, NULL, NEXT_KEY_TEXT,
1448              NEXT_KEY_LONGTEXT, VLC_FALSE );
1449     add_key( "key-prev", KEY_PREV, NULL, PREV_KEY_TEXT,
1450              PREV_KEY_LONGTEXT, VLC_FALSE );
1451     add_key( "key-stop", KEY_STOP, NULL, STOP_KEY_TEXT,
1452              STOP_KEY_LONGTEXT, VLC_FALSE );
1453     add_key( "key-position", KEY_POSITION, NULL, POSITION_KEY_TEXT,
1454              POSITION_KEY_LONGTEXT, VLC_TRUE );
1455     add_key( "key-jump-10sec", KEY_JUMP_M10SEC, NULL, JB10SEC_KEY_TEXT,
1456              JB10SEC_KEY_LONGTEXT, VLC_FALSE );
1457     add_key( "key-jump+10sec", KEY_JUMP_P10SEC, NULL, JF10SEC_KEY_TEXT,
1458              JF10SEC_KEY_LONGTEXT, VLC_FALSE );
1459     add_key( "key-jump-1min", KEY_JUMP_M1MIN, NULL, JB1MIN_KEY_TEXT,
1460              JB1MIN_KEY_LONGTEXT, VLC_FALSE );
1461     add_key( "key-jump+1min", KEY_JUMP_P1MIN, NULL, JF1MIN_KEY_TEXT,
1462              JF1MIN_KEY_LONGTEXT, VLC_FALSE );
1463     add_key( "key-jump-5min", KEY_JUMP_M5MIN, NULL, JB5MIN_KEY_TEXT,
1464              JB5MIN_KEY_LONGTEXT, VLC_FALSE );
1465     add_key( "key-jump+5min", KEY_JUMP_P5MIN, NULL, JF5MIN_KEY_TEXT,
1466              JF5MIN_KEY_LONGTEXT, VLC_FALSE );
1467
1468     add_key( "key-nav-activate", KEY_NAV_ACTIVATE, NULL, NAV_ACTIVATE_KEY_TEXT,
1469              NAV_ACTIVATE_KEY_LONGTEXT, VLC_TRUE );
1470     add_key( "key-nav-up", KEY_NAV_UP, NULL, NAV_UP_KEY_TEXT,
1471              NAV_UP_KEY_LONGTEXT, VLC_TRUE );
1472     add_key( "key-nav-down", KEY_NAV_DOWN, NULL, NAV_DOWN_KEY_TEXT,
1473              NAV_DOWN_KEY_LONGTEXT, VLC_TRUE );
1474     add_key( "key-nav-left", KEY_NAV_LEFT, NULL, NAV_LEFT_KEY_TEXT,
1475              NAV_LEFT_KEY_LONGTEXT, VLC_TRUE );
1476     add_key( "key-nav-right", KEY_NAV_RIGHT, NULL, NAV_RIGHT_KEY_TEXT,
1477              NAV_RIGHT_KEY_LONGTEXT, VLC_TRUE );
1478
1479     add_key( "key-quit", KEY_QUIT, NULL, QUIT_KEY_TEXT,
1480              QUIT_KEY_LONGTEXT, VLC_FALSE );
1481     add_key( "key-vol-up", KEY_VOL_UP, NULL, VOL_UP_KEY_TEXT,
1482              VOL_UP_KEY_LONGTEXT, VLC_FALSE );
1483     add_key( "key-vol-down", KEY_VOL_DOWN, NULL, VOL_DOWN_KEY_TEXT,
1484              VOL_DOWN_KEY_LONGTEXT, VLC_FALSE );
1485     add_key( "key-vol-mute", KEY_VOL_MUTE, NULL, VOL_MUTE_KEY_TEXT,
1486              VOL_MUTE_KEY_LONGTEXT, VLC_FALSE );
1487     add_key( "key-subdelay-up", KEY_SUBDELAY_UP, NULL,
1488              SUBDELAY_UP_KEY_TEXT, SUBDELAY_UP_KEY_LONGTEXT, VLC_TRUE );
1489     add_key( "key-subdelay-down", KEY_SUBDELAY_DOWN, NULL,
1490              SUBDELAY_DOWN_KEY_TEXT, SUBDELAY_DOWN_KEY_LONGTEXT, VLC_TRUE );
1491     add_key( "key-audiodelay-up", KEY_AUDIODELAY_UP, NULL,
1492              AUDIODELAY_UP_KEY_TEXT, AUDIODELAY_UP_KEY_LONGTEXT, VLC_TRUE );
1493     add_key( "key-audiodelay-down", KEY_AUDIODELAY_DOWN, NULL,
1494              AUDIODELAY_DOWN_KEY_TEXT, AUDIODELAY_DOWN_KEY_LONGTEXT, VLC_TRUE );
1495     add_key( "key-audio-track", KEY_AUDIO_TRACK, NULL, AUDIO_TRACK_KEY_TEXT,
1496              AUDIO_TRACK_KEY_LONGTEXT, VLC_FALSE );
1497     add_key( "key-subtitle-track", KEY_SUBTITLE_TRACK, NULL,
1498              SUBTITLE_TRACK_KEY_TEXT, SUBTITLE_TRACK_KEY_LONGTEXT, VLC_FALSE );
1499     add_key( "key-intf-show", KEY_INTF_SHOW, NULL,
1500              INTF_SHOW_KEY_TEXT, INTF_SHOW_KEY_LONGTEXT, VLC_TRUE );
1501     add_key( "key-snapshot", KEY_SNAPSHOT, NULL,
1502              SNAP_KEY_TEXT, SNAP_KEY_LONGTEXT, VLC_TRUE );
1503
1504     add_key( "key-set-bookmark1", KEY_SET_BOOKMARK1, NULL,
1505              SET_BOOKMARK1_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1506     add_key( "key-set-bookmark2", KEY_SET_BOOKMARK2, NULL,
1507              SET_BOOKMARK2_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1508     add_key( "key-set-bookmark3", KEY_SET_BOOKMARK3, NULL,
1509              SET_BOOKMARK3_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1510     add_key( "key-set-bookmark4", KEY_SET_BOOKMARK4, NULL,
1511              SET_BOOKMARK4_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1512     add_key( "key-set-bookmark5", KEY_SET_BOOKMARK5, NULL,
1513              SET_BOOKMARK5_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1514     add_key( "key-set-bookmark6", KEY_SET_BOOKMARK6, NULL,
1515              SET_BOOKMARK6_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1516     add_key( "key-set-bookmark7", KEY_SET_BOOKMARK7, NULL,
1517              SET_BOOKMARK7_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1518     add_key( "key-set-bookmark8", KEY_SET_BOOKMARK8, NULL,
1519              SET_BOOKMARK8_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1520     add_key( "key-set-bookmark9", KEY_SET_BOOKMARK9, NULL,
1521              SET_BOOKMARK9_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1522     add_key( "key-set-bookmark10", KEY_SET_BOOKMARK10, NULL,
1523              SET_BOOKMARK10_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1524     add_key( "key-play-bookmark1", KEY_PLAY_BOOKMARK1, NULL,
1525              PLAY_BOOKMARK1_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1526     add_key( "key-play-bookmark2", KEY_PLAY_BOOKMARK2, NULL,
1527              PLAY_BOOKMARK2_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1528     add_key( "key-play-bookmark3", KEY_PLAY_BOOKMARK3, NULL,
1529              PLAY_BOOKMARK3_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1530     add_key( "key-play-bookmark4", KEY_PLAY_BOOKMARK4, NULL,
1531              PLAY_BOOKMARK4_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1532     add_key( "key-play-bookmark5", KEY_PLAY_BOOKMARK5, NULL,
1533              PLAY_BOOKMARK5_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1534     add_key( "key-play-bookmark6", KEY_PLAY_BOOKMARK6, NULL,
1535              PLAY_BOOKMARK6_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1536     add_key( "key-play-bookmark7", KEY_PLAY_BOOKMARK7, NULL,
1537              PLAY_BOOKMARK7_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1538     add_key( "key-play-bookmark8", KEY_PLAY_BOOKMARK8, NULL,
1539              PLAY_BOOKMARK8_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1540     add_key( "key-play-bookmark9", KEY_PLAY_BOOKMARK9, NULL,
1541              PLAY_BOOKMARK9_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1542     add_key( "key-play-bookmark10", KEY_PLAY_BOOKMARK10, NULL,
1543              PLAY_BOOKMARK10_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
1544     add_key( "key-history-back", KEY_HISTORY_BACK, NULL, HISTORY_BACK_TEXT,
1545              HISTORY_BACK_LONGTEXT, VLC_TRUE );
1546     add_key( "key-history-forward", KEY_HISTORY_FORWARD, NULL,
1547              HISTORY_FORWARD_TEXT, HISTORY_FORWARD_LONGTEXT, VLC_TRUE );
1548     add_key( "key-record", KEY_RECORD, NULL,
1549              RECORD_KEY_TEXT, RECORD_KEY_LONGTEXT, VLC_TRUE );
1550
1551     /* Usage (mainly useful for cmd line stuff) */
1552     /* add_usage_hint( PLAYLIST_USAGE ); */
1553
1554     set_description( N_("main program") );
1555     set_capability( "main", 100 );
1556 vlc_module_end();
1557
1558 static module_config_t p_help_config[] =
1559 {
1560     { CONFIG_ITEM_BOOL, NULL, "help", 'h',
1561       N_("print help for VLC (can be combined with --advanced)") },
1562     { CONFIG_ITEM_BOOL, NULL, "longhelp", 'H',
1563       N_("print help for VLC and all it's modules (can be combined with --advanced)") },
1564     { CONFIG_ITEM_BOOL, NULL, "advanced", '\0',
1565       N_("print help for the advanced options") },
1566     { CONFIG_ITEM_BOOL, NULL, "help-verbose", '\0',
1567       N_("ask for extra verbosity when displaying help") },
1568     { CONFIG_ITEM_BOOL, NULL, "list", 'l',
1569       N_("print a list of available modules") },
1570     { CONFIG_ITEM_STRING, NULL, "module", 'p',
1571       N_("print help on a specific module (can be combined with --advanced)") },
1572     { CONFIG_ITEM_BOOL, NULL, "save-config", '\0',
1573       N_("save the current command line options in the config") },
1574     { CONFIG_ITEM_BOOL, NULL, "reset-config", '\0',
1575       N_("reset the current config to the default values") },
1576     { CONFIG_ITEM_STRING, NULL, "config", '\0',
1577       N_("use alternate config file") },
1578     { CONFIG_ITEM_BOOL, NULL, "reset-plugins-cache", '\0',
1579       N_("resets the current plugins cache") },
1580     { CONFIG_ITEM_BOOL, NULL, "version", '\0',
1581       N_("print version information") },
1582     { CONFIG_HINT_END, NULL, NULL, '\0', NULL }
1583 };
1584
1585 /*****************************************************************************
1586  * End configuration.
1587  *****************************************************************************/
1588
1589 /*****************************************************************************
1590  * Initializer for the vlc_t structure storing the action / key associations
1591  *****************************************************************************/
1592 static struct hotkey p_hotkeys[] =
1593 {
1594     { "key-quit", ACTIONID_QUIT, 0 },
1595     { "key-play-pause", ACTIONID_PLAY_PAUSE, 0 },
1596     { "key-play", ACTIONID_PLAY, 0 },
1597     { "key-pause", ACTIONID_PAUSE, 0 },
1598     { "key-stop", ACTIONID_STOP, 0 },
1599     { "key-position", ACTIONID_POSITION, 0 },
1600     { "key-jump-10sec", ACTIONID_JUMP_BACKWARD_10SEC, 0 },
1601     { "key-jump+10sec", ACTIONID_JUMP_FORWARD_10SEC, 0 },
1602     { "key-jump-1min", ACTIONID_JUMP_BACKWARD_1MIN, 0 },
1603     { "key-jump+1min", ACTIONID_JUMP_FORWARD_1MIN, 0 },
1604     { "key-jump-5min", ACTIONID_JUMP_BACKWARD_5MIN, 0 },
1605     { "key-jump+5min", ACTIONID_JUMP_FORWARD_5MIN, 0 },
1606     { "key-prev", ACTIONID_PREV, 0 },
1607     { "key-next", ACTIONID_NEXT, 0 },
1608     { "key-faster", ACTIONID_FASTER, 0 },
1609     { "key-slower", ACTIONID_SLOWER, 0 },
1610     { "key-fullscreen", ACTIONID_FULLSCREEN, 0 },
1611     { "key-vol-up", ACTIONID_VOL_UP, 0 },
1612     { "key-vol-down", ACTIONID_VOL_DOWN, 0 },
1613     { "key-vol-mute", ACTIONID_VOL_MUTE, 0 },
1614     { "key-subdelay-down", ACTIONID_SUBDELAY_DOWN, 0 },
1615     { "key-subdelay-up", ACTIONID_SUBDELAY_UP, 0 },
1616     { "key-audiodelay-down", ACTIONID_AUDIODELAY_DOWN, 0 },
1617     { "key-audiodelay-up", ACTIONID_AUDIODELAY_UP, 0 },
1618     { "key-audio-track", ACTIONID_AUDIO_TRACK, 0},
1619     { "key-subtitle-track", ACTIONID_SUBTITLE_TRACK, 0},
1620     { "key-intf-show", ACTIONID_INTF_SHOW, 0},
1621     { "key-snapshot", ACTIONID_SNAPSHOT, 0},
1622     { "key-nav-activate", ACTIONID_NAV_ACTIVATE, 0 },
1623     { "key-nav-up", ACTIONID_NAV_UP, 0 },
1624     { "key-nav-down", ACTIONID_NAV_DOWN, 0 },
1625     { "key-nav-left", ACTIONID_NAV_LEFT, 0 },
1626     { "key-nav-right", ACTIONID_NAV_RIGHT, 0 },
1627     { "key-set-bookmark1", ACTIONID_SET_BOOKMARK1, 0},
1628     { "key-set-bookmark2", ACTIONID_SET_BOOKMARK2, 0},
1629     { "key-set-bookmark3", ACTIONID_SET_BOOKMARK3, 0},
1630     { "key-set-bookmark4", ACTIONID_SET_BOOKMARK4, 0},
1631     { "key-set-bookmark5", ACTIONID_SET_BOOKMARK5, 0},
1632     { "key-set-bookmark6", ACTIONID_SET_BOOKMARK6, 0},
1633     { "key-set-bookmark7", ACTIONID_SET_BOOKMARK7, 0},
1634     { "key-set-bookmark8", ACTIONID_SET_BOOKMARK8, 0},
1635     { "key-set-bookmark9", ACTIONID_SET_BOOKMARK9, 0},
1636     { "key-set-bookmark10", ACTIONID_SET_BOOKMARK10, 0},
1637     { "key-play-bookmark1", ACTIONID_PLAY_BOOKMARK1, 0},
1638     { "key-play-bookmark2", ACTIONID_PLAY_BOOKMARK2, 0},
1639     { "key-play-bookmark3", ACTIONID_PLAY_BOOKMARK3, 0},
1640     { "key-play-bookmark4", ACTIONID_PLAY_BOOKMARK4, 0},
1641     { "key-play-bookmark5", ACTIONID_PLAY_BOOKMARK5, 0},
1642     { "key-play-bookmark6", ACTIONID_PLAY_BOOKMARK6, 0},
1643     { "key-play-bookmark7", ACTIONID_PLAY_BOOKMARK7, 0},
1644     { "key-play-bookmark8", ACTIONID_PLAY_BOOKMARK8, 0},
1645     { "key-play-bookmark9", ACTIONID_PLAY_BOOKMARK9, 0},
1646     { "key-play-bookmark10", ACTIONID_PLAY_BOOKMARK10, 0},
1647     { "key-history-back", ACTIONID_HISTORY_BACK, 0},
1648     { "key-history-forward", ACTIONID_HISTORY_FORWARD, 0},
1649     { "key-record", ACTIONID_RECORD, 0 },
1650     { NULL, 0, 0 }
1651 };
1652