// Set sets the MediaList associated with this player. func (this *ListPlayer) Set(l *MediaList) error { if this.ptr == nil || l.ptr == nil { return os.EINVAL } C.libvlc_media_list_player_set_media_list(this.ptr, l.ptr) return checkError() }
// Set sets the MediaList associated with this player. func (this *ListPlayer) Set(l *MediaList) error { if this.ptr == nil || l.ptr == nil { return &VLCError{"ListPlayer is nil"} } C.libvlc_media_list_player_set_media_list(this.ptr, l.ptr) return checkError() }