code: def libvlc_media_list_set_media(p_ml, p_md):
      '''Associate media instance with this media list instance.
      If another media instance was present it will be released.
      The L{libvlc_media_list_lock} should NOT be held upon entering this function.
      @param p_ml: a media list instance.
      @param p_md: media instance to add.
      '''
      f = _Cfunctions.get('libvlc_media_list_set_media', None) or \
          _Cfunction('libvlc_media_list_set_media', ((1,), (1,),), None,
                      None, MediaList, Media)
      return f(p_ml, p_mdf libvlc_media_list_set_media(p_ml, p_md):
      '''Associate media instance with this media list instance.
      If another media instance was present it will be released.
      The L{libvlc_media_list_lock} should NOT be held upon entering this function.
      @param p_ml: a media list instance.
      @param p_md: media instance to add.
      '''
      f = _Cfunctions.get('libvlc_media_list_set_media', None) or \
          _Cfunction('libvlc_media_list_set_media', ((1,), (1,),), None,
                      None, MediaList, Media)
      return f(p_ml, p_md)
docs: Associate media instance with this media list instance.
      If another media instance was present it will be released.
      The L{libvlc_media_list_lock} should NOT be held upon entering this function.
      @param p_ml: a media list instance.
      @param p_md: media instance to add.