code: def libvlc_media_player_get_state(p_mi):
      '''Get current movie state.
      @param p_mi: the Media Player.
      @return: the current state of the media player (playing, paused, ...) See libvlc_state_t.
      '''
      f = _Cfunctions.get('libvlc_media_player_get_state', None) or \
          _Cfunction('libvlc_media_player_get_state', ((1,),), None,
                      State, MediaPlayer)
      return f(p_mif libvlc_media_player_get_state(p_mi):
      '''Get current movie state.
      @param p_mi: the Media Player.
      @return: the current state of the media player (playing, paused, ...) See libvlc_state_t.
      '''
      f = _Cfunctions.get('libvlc_media_player_get_state', None) or \
          _Cfunction('libvlc_media_player_get_state', ((1,),), None,
                      State, MediaPlayer)
      return f(p_mi)
docs: Get current movie state.
      @param p_mi: the Media Player.
      @return: the current state of the media player (playing, paused, ...) See libvlc_state_t.