]> git.sesse.net Git - vlc/blobdiff - src/libvlc.h
int -> bool
[vlc] / src / libvlc.h
index 1148a2b78b59f61673b7792048c593183d7ddec6..bb03913ccf1e995686ebafb7f8ed618947b09737 100644 (file)
@@ -2,7 +2,7 @@
  * libvlc.h: main libvlc header
  *****************************************************************************
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.h,v 1.113 2003/12/07 20:48:21 hartman Exp $
+ * $Id: libvlc.h,v 1.128 2004/01/06 03:59:48 rocky Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -31,9 +31,9 @@ static char *ppsz_language[] =
   "fr", "hu", "it", "ja", "nl", "no",
   "pl", "pt_BR", "ru", "sv" };
 static char *ppsz_language_text[] =
-{ N_("Auto"), N_("English US"), N_("English GB"), N_("Spanish"), N_("German"),
+{ N_("Auto"), N_("American"), N_("British"), N_("Spanish"), N_("German"),
   N_("French"), N_("Hungarian"), N_("Italian"), N_("Japanese"), N_("Dutch"), N_("Norwegian"),
-  N_("Polish"), N_("Portuguese BR"), N_("Russian"), N_("Swedish") };
+  N_("Polish"), N_("Brazilian"), N_("Russian"), N_("Swedish") };
 
 /*****************************************************************************
  * Configuration options for the main program. Each module will also separatly
@@ -142,7 +142,7 @@ static char *ppsz_language_text[] =
     "This option allows you to delay the audio output. This can be handy if " \
     "you notice a lag between the video and the audio.")
 
-#define MULTICHA_TEXT N_("Choose prefered audio output channels mode")
+#define MULTICHA_TEXT N_("Choose preferred audio output channels mode")
 #define MULTICHA_LONGTEXT N_( \
     "This option allows you to set the audio output channels mode that will " \
     "be used by default when possible (ie. if your hardware supports it as " \
@@ -158,14 +158,12 @@ static char *ppsz_language_text[] =
     "This allows you to add audio postprocessing filters, to modify " \
     "the sound.")
 
-#define HEADPHONE_TEXT N_("Headphone virtual spatialization effect")
-#define HEADPHONE_LONGTEXT N_( \
-    "This effect gives you the feeling that you are standing in a room " \
-    "with a complete 5.1 speaker set when using only a headphone, " \
-    "providing a more realistic sound experience. It should also be " \
-    "more comfortable and less tiring when listening to music for " \
-    "long periods of time.\nIt works with any source format from mono " \
-    "to 5.1.")
+#define AUDIO_CHANNEL_MIXER N_("Channel mixer")
+#define AUDIO_CHANNEL_MIXER_LONGTEXT N_( \
+     "This allows you to choose a specific audio channel mixer. For instance " \
+     "the headphone channel mixer will downmix any audio source to a stereo " \
+     "output and give the feeling that you are standing in a room with a " \
+     "complete 5.1 speaker set when using only a headphone.")
 
 #define VOUT_CAT_LONGTEXT N_( \
     "These options allow you to modify options related to " \
@@ -221,6 +219,10 @@ static char *ppsz_language_text[] =
     "If enabled, VLC will try to take advantage of the overlay capabilities " \
     "of your graphics card.")
 
+#define VIDEO_ON_TOP_TEXT N_("Always on top")
+#define VIDEO_ON_TOP_LONGTEXT N_("Always place the video window on top of " \
+    "other windows" )
+
 #define SPUMARGIN_TEXT N_("Force SPU position")
 #define SPUMARGIN_LONGTEXT N_( \
     "You can use this option to place the subtitles under the movie, " \
@@ -255,7 +257,10 @@ static char *ppsz_language_text[] =
     "1.3333, etc.) expressing pixel squareness.")
 #endif
 
-#define INPUT_CAT_LONGTEXT N_( " " )
+#define INPUT_CAT_LONGTEXT N_( \
+    "These options allow you to modify options related to the input " \
+    "modules, such as the DVD or VCD device, the network interface " \
+    "settings or the subtitle channel.")
 
 #define CR_AVERAGE_TEXT N_("Clock reference average counter")
 #define CR_AVERAGE_LONGTEXT N_( \
@@ -291,12 +296,12 @@ static char *ppsz_language_text[] =
     "Give the default type of audio you want to use in a DVD. " \
     "(Developers only)")
 
-#define INPUT_CHAN_TEXT N_("Choose channel")
+#define INPUT_CHAN_TEXT N_("Choose audio channel")
 #define INPUT_CHAN_LONGTEXT N_( \
     "Give the stream number of the audio channel you want to use in a DVD " \
     "(from 1 to n).")
 
-#define INPUT_SUBT_TEXT N_("Choose subtitles track")
+#define INPUT_SUBT_TEXT N_("Choose subtitle track")
 #define INPUT_SUBT_LONGTEXT N_( \
     "Give the stream number of the subtitle channel you want to use " \
     "(from 1 to n).")
@@ -332,8 +337,24 @@ static char *ppsz_language_text[] =
 #endif
 
 #define VCD_DEV_TEXT N_("VCD device")
+#ifdef HAVE_VCDX
+#define VCD_DEV_LONGTEXT N_( \
+    "This is the default VCD device to use. " \
+    "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
+#else
 #define VCD_DEV_LONGTEXT N_( \
-    "This is the default VCD device to use.")
+    "This is the default VCD device to use." )
+#endif
+
+#define CDAUDIO_DEV_TEXT N_("Audio CD device")
+#ifdef HAVE_CDDAX
+#define CDAUDIO_DEV_LONGTEXT N_( \
+    "This is the default Audio CD device to use. " \
+    "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
+#else
+#define CDAUDIO_DEV_LONGTEXT N_( \
+    "This is the default Audio CD device to use." )
+#endif
 
 #define IPV6_TEXT N_("Force IPv6")
 #define IPV6_LONGTEXT N_( \
@@ -509,15 +530,16 @@ static char *ppsz_language_text[] =
 #define WIN9X_CV_TEXT N_("Condition variables implementation for Win9x " \
     "(developers only)")
 #define WIN9X_CV_LONGTEXT N_( \
-    "On Windows 9x/Me we use a fast but not correct condition variables " \
+    "On Windows 9x/Me you can use a fast but incorrect condition variables " \
     "implementation (more precisely there is a possibility for a race " \
     "condition to happen). " \
-    "However it is possible to use slower alternatives which should be more " \
+    "However it is possible to use slower alternatives which are more " \
     "robust. " \
     "Currently you can choose between implementation 0 (which is the " \
-    "default and the fastest), 1 and 2.")
+    "fastest but slightly incorrect), 1 (default) and 2.")
 
-#define HOTKEY_CAT_LONGTEXT N_( " " )
+#define HOTKEY_CAT_LONGTEXT N_( "These settings are the global VLC key " \
+    "bindings, known as \"hotkeys\"." )
 
 #define FULLSCREEN_KEY_TEXT N_("Fullscreen")
 #define FULLSCREEN_KEY_LONGTEXT N_("Select the hotkey to use to swap fullscreen state")
@@ -537,22 +559,24 @@ static char *ppsz_language_text[] =
 #define PREV_KEY_LONGTEXT N_("Select the hotkey to use to skip to the previous item in the playlist")
 #define STOP_KEY_TEXT N_("Stop")
 #define STOP_KEY_LONGTEXT N_("Select the hotkey to stop the playback")
+#define POSITION_KEY_TEXT N_("Position")
+#define POSITION_KEY_LONGTEXT N_("Select the hotkey to display the position")
 
-#define JB10SEC_KEY_TEXT N_("Jump backward 10 seconds")
-#define JB10SEC_KEY_LONGTEXT N_("Select the hotkey to jump backward by 10 seconds")
+#define JB10SEC_KEY_TEXT N_("Jump 10 seconds backwards")
+#define JB10SEC_KEY_LONGTEXT N_("Select the hotkey to jump 10 seconds backwards")
 
-#define JB1MIN_KEY_TEXT N_("Jump backward 1 minute")
-#define JB1MIN_KEY_LONGTEXT N_("Select the hotkey to jump backward by 1 minute")
-#define JB5MIN_KEY_TEXT N_("Jump backward 5 minutes")
-#define JB5MIN_KEY_LONGTEXT N_("Select the hotkey to jump backward by 5 minutes")
-#define JF10SEC_KEY_TEXT N_("Jump forward 10 seconds")
-#define JF10SEC_KEY_LONGTEXT N_("Select the hotkey to jump forward by 10 seconds")
+#define JB1MIN_KEY_TEXT N_("Jump 1 minute backwards")
+#define JB1MIN_KEY_LONGTEXT N_("Select the hotkey to jump 1 minute backwards")
+#define JB5MIN_KEY_TEXT N_("Jump 5 minutes backwards")
+#define JB5MIN_KEY_LONGTEXT N_("Select the hotkey to jump 5 minutes backwards")
+#define JF10SEC_KEY_TEXT N_("Jump 10 seconds forward")
+#define JF10SEC_KEY_LONGTEXT N_("Select the hotkey to jump 10 seconds forward")
 
-#define JF1MIN_KEY_TEXT N_("Jump forward 1 minute")
-#define JF1MIN_KEY_LONGTEXT N_("Select the hotkey to jump forward by 1 minute")
+#define JF1MIN_KEY_TEXT N_("Jump 1 minute forward")
+#define JF1MIN_KEY_LONGTEXT N_("Select the hotkey to jump 1 minute forward")
 
-#define JF5MIN_KEY_TEXT N_("Jump forward 5 minutes")
-#define JF5MIN_KEY_LONGTEXT N_("Select the hotkey to jump forward by 5 minutes")
+#define JF5MIN_KEY_TEXT N_("Jump 5 minutes forward")
+#define JF5MIN_KEY_LONGTEXT N_("Select the hotkey to jump 5 minutes forward")
 
 #define QUIT_KEY_TEXT N_("Quit")
 #define QUIT_KEY_LONGTEXT N_("Select the hotkey to quit the application")
@@ -570,6 +594,30 @@ static char *ppsz_language_text[] =
 #define VOL_UP_KEY_LONGTEXT N_("Select the key to turn up audio volume")
 #define VOL_DOWN_KEY_TEXT N_("Volume down")
 #define VOL_DOWN_KEY_LONGTEXT N_("Select the key to turn down audio volume")
+#define VOL_MUTE_KEY_TEXT N_("Mute")
+#define VOL_MUTE_KEY_LONGTEXT N_("Select the key to turn off audio volume")
+#define PLAY_BOOKMARK1_KEY_TEXT N_("Play playlist bookmark 1")
+#define PLAY_BOOKMARK2_KEY_TEXT N_("Play playlist bookmark 2")
+#define PLAY_BOOKMARK3_KEY_TEXT N_("Play playlist bookmark 3")
+#define PLAY_BOOKMARK4_KEY_TEXT N_("Play playlist bookmark 4")
+#define PLAY_BOOKMARK5_KEY_TEXT N_("Play playlist bookmark 5")
+#define PLAY_BOOKMARK6_KEY_TEXT N_("Play playlist bookmark 6")
+#define PLAY_BOOKMARK7_KEY_TEXT N_("Play playlist bookmark 7")
+#define PLAY_BOOKMARK8_KEY_TEXT N_("Play playlist bookmark 8")
+#define PLAY_BOOKMARK9_KEY_TEXT N_("Play playlist bookmark 9")
+#define PLAY_BOOKMARK10_KEY_TEXT N_("Play playlist bookmark 10")
+#define PLAY_BOOKMARK_KEY_LONGTEXT N_("Select the key to play this bookmark")
+#define SET_BOOKMARK1_KEY_TEXT N_("Set playlist bookmark 1")
+#define SET_BOOKMARK2_KEY_TEXT N_("Set playlist bookmark 2")
+#define SET_BOOKMARK3_KEY_TEXT N_("Set playlist bookmark 3")
+#define SET_BOOKMARK4_KEY_TEXT N_("Set playlist bookmark 4")
+#define SET_BOOKMARK5_KEY_TEXT N_("Set playlist bookmark 5")
+#define SET_BOOKMARK6_KEY_TEXT N_("Set playlist bookmark 6")
+#define SET_BOOKMARK7_KEY_TEXT N_("Set playlist bookmark 7")
+#define SET_BOOKMARK8_KEY_TEXT N_("Set playlist bookmark 8")
+#define SET_BOOKMARK9_KEY_TEXT N_("Set playlist bookmark 9")
+#define SET_BOOKMARK10_KEY_TEXT N_("Set playlist bookmark 10")
+#define SET_BOOKMARK_KEY_LONGTEXT N_("Select the key to set this playlist bookmark")
 
 #define PLAYLIST_USAGE N_("\nPlaylist items:" \
     "\n  *.mpg, *.vob                   plain MPEG-1/2 files" \
@@ -588,15 +636,18 @@ static char *ppsz_language_text[] =
 /*
  * Quick usage guide for the configuration options:
  *
- * add_category_hint( N_(text), N_(longtext) );
- * add_subcategory_hint( N_(text), N_(longtext) );
- * add_usage_hint( N_(text) );
- * add_string( option_name, value, p_callback, N_(text), N_(longtext) );
+ * add_category_hint( N_(text), N_(longtext), b_advanced_option );
+ * add_subcategory_hint( N_(text), N_(longtext), b_advanced_option );
+ * add_usage_hint( N_(text), b_advanced_option );
+ * add_string( option_name, value, p_callback, N_(text), N_(longtext),
+               b_advanced_option );
  * add_file( option_name, psz_value, p_callback, N_(text), N_(longtext) );
  * add_module( option_name, psz_value, i_capability, p_callback,
  *             N_(text), N_(longtext) );
- * add_integer( option_name, i_value, p_callback, N_(text), N_(longtext) );
- * add_bool( option_name, b_value, p_callback, N_(text), N_(longtext) );
+ * add_integer( option_name, i_value, p_callback, N_(text), N_(longtext),
+                b_advanced_option );
+ * add_bool( option_name, b_value, p_callback, N_(text), N_(longtext), 
+             b_advanced_option );
  */
 
 vlc_module_begin();
@@ -640,13 +691,12 @@ vlc_module_begin();
     add_bool( "hq-resampling", 1, NULL, AOUT_RESAMP_TEXT, AOUT_RESAMP_LONGTEXT, VLC_TRUE );
 #endif
     add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, VLC_FALSE );
-#if 0
-    add_bool( "headphone-opt", 0, NULL, HEADPHONE_TEXT,
-                        HEADPHONE_LONGTEXT, VLC_FALSE );
-#endif
     add_integer( "audio-desync", 0, NULL, DESYNC_TEXT, DESYNC_LONGTEXT, VLC_TRUE );
     add_string("audio-filter",0,NULL,AUDIO_FILTER_TEXT,
                     AUDIO_FILTER_LONGTEXT,VLC_FALSE);
+    add_module( "audio-channel-mixer", "audio filter", NULL, NULL,
+                    AUDIO_CHANNEL_MIXER, AUDIO_CHANNEL_MIXER_LONGTEXT,
+                    VLC_FALSE );
 
     /* Video options */
     add_category_hint( N_("Video"), VOUT_CAT_LONGTEXT , VLC_FALSE );
@@ -664,6 +714,8 @@ vlc_module_begin();
 #ifndef SYS_DARWIN
     add_bool( "overlay", 1, NULL, OVERLAY_TEXT, OVERLAY_LONGTEXT, VLC_TRUE );
 #endif
+
+    add_bool( "video-on-top", 0, NULL, VIDEO_ON_TOP_TEXT, VIDEO_ON_TOP_LONGTEXT, VLC_FALSE );
     add_integer( "spumargin", -1, NULL, SPUMARGIN_TEXT,
                         SPUMARGIN_LONGTEXT, VLC_TRUE );
     add_bool( "osd", 1, NULL, OSD_TEXT, OSD_LONGTEXT, VLC_FALSE );
@@ -689,9 +741,9 @@ vlc_module_begin();
     add_integer( "audio-type", -1, NULL,
                  INPUT_AUDIO_TEXT, INPUT_AUDIO_LONGTEXT, VLC_TRUE );
     add_integer( "audio-channel", -1, NULL,
-                 INPUT_CHAN_TEXT, INPUT_CHAN_LONGTEXT, VLC_TRUE );
+                 INPUT_CHAN_TEXT, INPUT_CHAN_LONGTEXT, VLC_FALSE );
     add_integer( "spu-channel", -1, NULL,
-                 INPUT_SUBT_TEXT, INPUT_SUBT_LONGTEXT, VLC_TRUE );
+                 INPUT_SUBT_TEXT, INPUT_SUBT_LONGTEXT, VLC_FALSE );
     add_bool( "sub-autodetect-file", VLC_TRUE, NULL,
                  SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, VLC_FALSE );
     add_integer( "sub-autodetect-fuzzy", 3, NULL,
@@ -702,6 +754,7 @@ vlc_module_begin();
 
     add_file( "dvd", DVD_DEVICE, NULL, DVD_DEV_TEXT, DVD_DEV_LONGTEXT, VLC_FALSE );
     add_file( "vcd", VCD_DEVICE, NULL, VCD_DEV_TEXT, VCD_DEV_LONGTEXT, VLC_FALSE );
+    add_file( "cd-audio", CDAUDIO_DEVICE, NULL, CDAUDIO_DEV_TEXT, CDAUDIO_DEV_LONGTEXT, VLC_FALSE );
 
     add_bool( "ipv6", 0, NULL, IPV6_TEXT, IPV6_LONGTEXT, VLC_FALSE );
         change_short('6');
@@ -774,7 +827,7 @@ vlc_module_begin();
     add_bool( "one-instance", 0, NULL, ONEINSTANCE_TEXT, ONEINSTANCE_LONGTEXT, VLC_TRUE );
     add_bool( "high-priority", 1, NULL, HPRIORITY_TEXT, HPRIORITY_LONGTEXT, VLC_TRUE );
     add_bool( "fast-mutex", 0, NULL, FAST_MUTEX_TEXT, FAST_MUTEX_LONGTEXT, VLC_TRUE );
-    add_integer( "win9x-cv-method", 0, NULL, WIN9X_CV_TEXT, WIN9X_CV_LONGTEXT, VLC_TRUE );
+    add_integer( "win9x-cv-method", 1, NULL, WIN9X_CV_TEXT, WIN9X_CV_LONGTEXT, VLC_TRUE );
 #endif
 
     /* Hotkey options*/
@@ -789,6 +842,7 @@ vlc_module_begin();
     add_key( "key-next", KEY_MODIFIER_COMMAND|KEY_RIGHT, NULL, NEXT_KEY_TEXT, NEXT_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-prev", KEY_MODIFIER_COMMAND|KEY_LEFT, NULL, PREV_KEY_TEXT, PREV_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-stop", KEY_MODIFIER_COMMAND|'.', NULL, STOP_KEY_TEXT, STOP_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-position", 't', NULL, POSITION_KEY_TEXT, POSITION_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump-10sec", KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|KEY_LEFT, NULL, JB10SEC_KEY_TEXT, JB10SEC_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump+10sec", KEY_MODIFIER_COMMAND|KEY_MODIFIER_ALT|KEY_RIGHT, NULL, JF10SEC_KEY_TEXT, JF10SEC_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump-1min", KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|KEY_LEFT, NULL, JB1MIN_KEY_TEXT, JB1MIN_KEY_LONGTEXT, VLC_FALSE );
@@ -803,6 +857,27 @@ vlc_module_begin();
     add_key( "key-quit", KEY_MODIFIER_COMMAND|'q', NULL, QUIT_KEY_TEXT, QUIT_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-vol-up", KEY_MODIFIER_COMMAND|KEY_UP, NULL, VOL_UP_KEY_TEXT, VOL_UP_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-vol-down", KEY_MODIFIER_COMMAND|KEY_DOWN, NULL, VOL_DOWN_KEY_TEXT, VOL_DOWN_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-vol-mute", KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'m', NULL, VOL_MUTE_KEY_TEXT, VOL_MUTE_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-set-bookmark1", KEY_MODIFIER_COMMAND|KEY_F1, NULL, SET_BOOKMARK1_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark2", KEY_MODIFIER_COMMAND|KEY_F2, NULL, SET_BOOKMARK2_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark3", KEY_MODIFIER_COMMAND|KEY_F3, NULL, SET_BOOKMARK3_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark4", KEY_MODIFIER_COMMAND|KEY_F4, NULL, SET_BOOKMARK4_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark5", KEY_MODIFIER_COMMAND|KEY_F5, NULL, SET_BOOKMARK5_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark6", KEY_MODIFIER_COMMAND|KEY_F6, NULL, SET_BOOKMARK6_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark7", KEY_MODIFIER_COMMAND|KEY_F7, NULL, SET_BOOKMARK7_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark8", KEY_MODIFIER_COMMAND|KEY_F8, NULL, SET_BOOKMARK8_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark9", KEY_UNSET, NULL, SET_BOOKMARK9_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark10", KEY_UNSET, NULL, SET_BOOKMARK10_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark1", KEY_F1, NULL, PLAY_BOOKMARK1_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark2", KEY_F2, NULL, PLAY_BOOKMARK2_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark3", KEY_F3, NULL, PLAY_BOOKMARK3_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark4", KEY_F4, NULL, PLAY_BOOKMARK4_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark5", KEY_F5, NULL, PLAY_BOOKMARK5_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark6", KEY_F6, NULL, PLAY_BOOKMARK6_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark7", KEY_F7, NULL, PLAY_BOOKMARK7_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark8", KEY_F8, NULL, PLAY_BOOKMARK8_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark9", KEY_UNSET, NULL, PLAY_BOOKMARK9_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark10", KEY_UNSET, NULL, PLAY_BOOKMARK10_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
 #else
     add_key( "key-fullscreen", 'f', NULL, FULLSCREEN_KEY_TEXT, FULLSCREEN_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-play-pause", KEY_SPACE, NULL, PLAY_PAUSE_KEY_TEXT, PLAY_PAUSE_KEY_LONGTEXT, VLC_FALSE );
@@ -813,6 +888,7 @@ vlc_module_begin();
     add_key( "key-next", 'n', NULL, NEXT_KEY_TEXT, NEXT_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-prev", 'p', NULL, PREV_KEY_TEXT, PREV_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-stop", 's', NULL, STOP_KEY_TEXT, STOP_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-position", 't', NULL, POSITION_KEY_TEXT, POSITION_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump-10sec", KEY_MODIFIER_ALT|KEY_LEFT, NULL, JB10SEC_KEY_TEXT, JB10SEC_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump+10sec", KEY_MODIFIER_ALT|KEY_RIGHT, NULL, JF10SEC_KEY_TEXT, JF10SEC_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-jump-1min", KEY_MODIFIER_CTRL|KEY_LEFT, NULL, JB1MIN_KEY_TEXT, JB1MIN_KEY_LONGTEXT, VLC_FALSE );
@@ -827,6 +903,27 @@ vlc_module_begin();
     add_key( "key-quit", KEY_MODIFIER_CTRL|'q', NULL, QUIT_KEY_TEXT, QUIT_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-vol-up", 'a', NULL, VOL_UP_KEY_TEXT, VOL_UP_KEY_LONGTEXT, VLC_FALSE );
     add_key( "key-vol-down", 'z', NULL, VOL_DOWN_KEY_TEXT, VOL_DOWN_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-vol-mute", 'm', NULL, VOL_MUTE_KEY_TEXT, VOL_MUTE_KEY_LONGTEXT, VLC_FALSE );
+    add_key( "key-set-bookmark1", KEY_MODIFIER_CTRL|KEY_F1, NULL, SET_BOOKMARK1_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark2", KEY_MODIFIER_CTRL|KEY_F2, NULL, SET_BOOKMARK2_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark3", KEY_MODIFIER_CTRL|KEY_F3, NULL, SET_BOOKMARK3_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark4", KEY_MODIFIER_CTRL|KEY_F4, NULL, SET_BOOKMARK4_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark5", KEY_MODIFIER_CTRL|KEY_F5, NULL, SET_BOOKMARK5_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark6", KEY_MODIFIER_CTRL|KEY_F6, NULL, SET_BOOKMARK6_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark7", KEY_MODIFIER_CTRL|KEY_F7, NULL, SET_BOOKMARK7_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark8", KEY_MODIFIER_CTRL|KEY_F8, NULL, SET_BOOKMARK8_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark9", KEY_MODIFIER_CTRL|KEY_F9, NULL, SET_BOOKMARK9_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-set-bookmark10", KEY_MODIFIER_CTRL|KEY_F10, NULL, SET_BOOKMARK10_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark1", KEY_F1, NULL, PLAY_BOOKMARK1_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark2", KEY_F2, NULL, PLAY_BOOKMARK2_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark3", KEY_F3, NULL, PLAY_BOOKMARK3_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark4", KEY_F4, NULL, PLAY_BOOKMARK4_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark5", KEY_F5, NULL, PLAY_BOOKMARK5_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark6", KEY_F6, NULL, PLAY_BOOKMARK6_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark7", KEY_F7, NULL, PLAY_BOOKMARK7_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark8", KEY_F8, NULL, PLAY_BOOKMARK8_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark9", KEY_F9, NULL, PLAY_BOOKMARK9_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
+    add_key( "key-play-bookmark10", KEY_F10, NULL, PLAY_BOOKMARK10_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT, VLC_TRUE );
 #endif
 
     /* Usage (mainly useful for cmd line stuff) */
@@ -871,6 +968,7 @@ static struct hotkey p_hotkeys[] =
     { "key-play", ACTIONID_PLAY, 0 },
     { "key-pause", ACTIONID_PAUSE, 0 },
     { "key-stop", ACTIONID_STOP, 0 },
+    { "key-position", ACTIONID_POSITION, 0 },
     { "key-jump-10sec", ACTIONID_JUMP_BACKWARD_10SEC, 0 },
     { "key-jump+10sec", ACTIONID_JUMP_FORWARD_10SEC, 0 },
     { "key-jump-1min", ACTIONID_JUMP_BACKWARD_1MIN, 0 },
@@ -884,10 +982,31 @@ static struct hotkey p_hotkeys[] =
     { "key-fullscreen", ACTIONID_FULLSCREEN, 0 },
     { "key-vol-up", ACTIONID_VOL_UP, 0 },
     { "key-vol-down", ACTIONID_VOL_DOWN, 0 },
+    { "key-vol-mute", ACTIONID_VOL_MUTE, 0 },
     { "key-nav-activate", ACTIONID_NAV_ACTIVATE, 0 },
     { "key-nav-up", ACTIONID_NAV_UP, 0 },
     { "key-nav-down", ACTIONID_NAV_DOWN, 0 },
     { "key-nav-left", ACTIONID_NAV_LEFT, 0 },
     { "key-nav-right", ACTIONID_NAV_RIGHT, 0 },
+    { "key-set-bookmark1", ACTIONID_SET_BOOKMARK1, 0},
+    { "key-set-bookmark2", ACTIONID_SET_BOOKMARK2, 0},
+    { "key-set-bookmark3", ACTIONID_SET_BOOKMARK3, 0},
+    { "key-set-bookmark4", ACTIONID_SET_BOOKMARK4, 0},
+    { "key-set-bookmark5", ACTIONID_SET_BOOKMARK5, 0},
+    { "key-set-bookmark6", ACTIONID_SET_BOOKMARK6, 0},
+    { "key-set-bookmark7", ACTIONID_SET_BOOKMARK7, 0},
+    { "key-set-bookmark8", ACTIONID_SET_BOOKMARK8, 0},
+    { "key-set-bookmark9", ACTIONID_SET_BOOKMARK9, 0},
+    { "key-set-bookmark10", ACTIONID_SET_BOOKMARK10, 0},
+    { "key-play-bookmark1", ACTIONID_PLAY_BOOKMARK1, 0},
+    { "key-play-bookmark2", ACTIONID_PLAY_BOOKMARK2, 0},
+    { "key-play-bookmark3", ACTIONID_PLAY_BOOKMARK3, 0},
+    { "key-play-bookmark4", ACTIONID_PLAY_BOOKMARK4, 0},
+    { "key-play-bookmark5", ACTIONID_PLAY_BOOKMARK5, 0},
+    { "key-play-bookmark6", ACTIONID_PLAY_BOOKMARK6, 0},
+    { "key-play-bookmark7", ACTIONID_PLAY_BOOKMARK7, 0},
+    { "key-play-bookmark8", ACTIONID_PLAY_BOOKMARK8, 0},
+    { "key-play-bookmark9", ACTIONID_PLAY_BOOKMARK9, 0},
+    { "key-play-bookmark10", ACTIONID_PLAY_BOOKMARK10, 0},
     { NULL, 0, 0 }
 };