code: def libvlc_media_player_get_media(p_mi):
      '''Get the media used by the media_player.
      @param p_mi: the Media Player.
      @return: the media associated with p_mi, or NULL if no media is associated.
      '''
      f = _Cfunctions.get('libvlc_media_player_get_media', None) or \
          _Cfunction('libvlc_media_player_get_media', ((1,),), class_result(Media),
                      ctypes.c_void_p, MediaPlayer)
      return f(p_mif libvlc_media_player_get_media(p_mi):
      '''Get the media used by the media_player.
      @param p_mi: the Media Player.
      @return: the media associated with p_mi, or NULL if no media is associated.
      '''
      f = _Cfunctions.get('libvlc_media_player_get_media', None) or \
          _Cfunction('libvlc_media_player_get_media', ((1,),), class_result(Media),
                      ctypes.c_void_p, MediaPlayer)
      return f(p_mi)
docs: Get the media used by the media_player.
      @param p_mi: the Media Player.
      @return: the media associated with p_mi, or NULL if no media is associated.