python: define MediaThumbnailRequest
authorOlivier Aubert <contact@olivieraubert.net>
Mon, 12 Nov 2018 22:07:51 +0000 (23:07 +0100)
committerOlivier Aubert <contact@olivieraubert.net>
Mon, 12 Nov 2018 22:07:51 +0000 (23:07 +0100)
generated/3.0/vlc.py
generated/dev/vlc.py
generator/templates/header.py
generator/templates/override.py

index 111ef9b..c8f1ef2 100644 (file)
@@ -55,7 +55,7 @@ logger = logging.getLogger(__name__)
 __version__ = "3.0.4107"
 __libvlc_version__ = "3.0.4"
 __generator_version__ = "1.7"
-build_date  = "Mon Nov 12 22:49:53 2018 3.0.4"
+build_date  = "Mon Nov 12 23:07:30 2018 3.0.4"
 
 # The libvlc doc states that filenames are expected to be in UTF8, do
 # not rely on sys.getfilesystemencoding() which will be confused,
@@ -1614,17 +1614,28 @@ class RDDescription(_Cstruct):
         ('longname', ctypes.c_char_p)
     ]
 
+
+class MediaThumbnailRequest:
+    def __new__(cls, *args):
+        if len(args) == 1 and isinstance(args[0], _Ints):
+            return _Constructor(cls, args[0])
+
 # End of header.py #
 class AudioEqualizer(_Ctype):
-    '''N/A
+    '''Create a new default equalizer, with all frequency values zeroed.
+
+    The new equalizer can subsequently be applied to a media player by invoking
+    L{MediaPlayer.set_equalizer}.
+    The returned handle should be freed via libvlc_audio_equalizer_release() when
+    it is no longer needed.
     '''
+
     def __new__(cls, *args):
         if len(args) == 1 and isinstance(args[0], _Ints):
             return _Constructor(cls, args[0])
         return libvlc_audio_equalizer_new()
 
 
-
     def release(self):
         '''Release a previously created equalizer instance.
         The equalizer was previously created by using L{new}() or
index a3da35a..fd1369f 100755 (executable)
@@ -55,7 +55,7 @@ logger = logging.getLogger(__name__)
 __version__ = "4.0.0-dev-5376-g71cb852338107"
 __libvlc_version__ = "4.0.0-dev-5376-g71cb852338"
 __generator_version__ = "1.7"
-build_date  = "Mon Nov 12 22:54:57 2018 4.0.0-dev-5376-g71cb852338"
+build_date  = "Mon Nov 12 23:07:30 2018 4.0.0-dev-5376-g71cb852338"
 
 # The libvlc doc states that filenames are expected to be in UTF8, do
 # not rely on sys.getfilesystemencoding() which will be confused,
@@ -1724,6 +1724,12 @@ class RDDescription(_Cstruct):
         ('longname', ctypes.c_char_p)
     ]
 
+
+class MediaThumbnailRequest:
+    def __new__(cls, *args):
+        if len(args) == 1 and isinstance(args[0], _Ints):
+            return _Constructor(cls, args[0])
+
 # End of header.py #
 class AudioEqualizer(_Ctype):
     '''Create a new default equalizer, with all frequency values zeroed.
@@ -1732,7 +1738,6 @@ class AudioEqualizer(_Ctype):
     L{MediaPlayer.set_equalizer}.
     The returned handle should be freed via libvlc_audio_equalizer_release() when
     it is no longer needed.
-    
     '''
 
     def __new__(cls, *args):
index a6802d2..397813c 100755 (executable)
@@ -682,4 +682,10 @@ class RDDescription(_Cstruct):
         ('longname', ctypes.c_char_p)
     ]
 
+
+class MediaThumbnailRequest:
+    def __new__(cls, *args):
+        if len(args) == 1 and isinstance(args[0], _Ints):
+            return _Constructor(cls, args[0])
+
 # End of header.py #
index aa1ad81..0207386 100644 (file)
@@ -502,8 +502,7 @@ class AudioEqualizer:
     The new equalizer can subsequently be applied to a media player by invoking
     L{MediaPlayer.set_equalizer}.
     The returned handle should be freed via libvlc_audio_equalizer_release() when
-    it is no longer needed.
-    """
+    it is no longer needed."""
     def __new__(cls, *args):
         if len(args) == 1 and isinstance(args[0], _Ints):
             return _Constructor(cls, args[0])