// TitleCount returns the number of available movie titles. func (this *Player) TitleCount(title int) (int, error) { if this.ptr == nil { return 0, syscall.EINVAL } return int(C.libvlc_media_player_get_title_count(this.ptr)), checkError() }
// TitleCount returns the number of available movie titles. func (this *Player) TitleCount(title int) (int, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return int(C.libvlc_media_player_get_title_count(this.ptr)), checkError() }