code: def libvlc_media_get_type(p_md):
      '''Get the media type of the media descriptor object.
      @param p_md: media descriptor object.
      @return: media type.
      @version: LibVLC 3.0.0 and later. See libvlc_media_type_t.
      '''
      f = _Cfunctions.get('libvlc_media_get_type', None) or \
          _Cfunction('libvlc_media_get_type', ((1,),), None,
                      MediaType, Media)
      return f(p_mdf libvlc_media_get_type(p_md):
      '''Get the media type of the media descriptor object.
      @param p_md: media descriptor object.
      @return: media type.
      @version: LibVLC 3.0.0 and later. See libvlc_media_type_t.
      '''
      f = _Cfunctions.get('libvlc_media_get_type', None) or \
          _Cfunction('libvlc_media_get_type', ((1,),), None,
                      MediaType, Media)
      return f(p_md)
docs: Get the media type of the media descriptor object.
      @param p_md: media descriptor object.
      @return: media type.
      @version: LibVLC 3.0.0 and later. See libvlc_media_type_t.