Example #1
0
// Next plays the next item in the list if applicable.
func (this *ListPlayer) Next() error {
	if this.ptr == nil {
		return os.EINVAL
	}

	C.libvlc_media_list_player_next(this.ptr)
	return checkError()
}
Example #2
0
// Next plays the next item in the list if applicable.
func (this *ListPlayer) Next() error {
	if this.ptr == nil {
		return &VLCError{"ListPlayer is nil"}
	}

	C.libvlc_media_list_player_next(this.ptr)
	return checkError()
}