// IsPlaying returns true if the player is currently playing. func (this *ListPlayer) IsPlaying() (bool, error) { if this.ptr == nil { return false, os.EINVAL } return C.libvlc_media_list_player_is_playing(this.ptr) != 0, checkError() }
// IsPlaying returns true if the player is currently playing. func (this *ListPlayer) IsPlaying() (bool, error) { if this.ptr == nil { return false, &VLCError{"ListPlayer is nil"} } return C.libvlc_media_list_player_is_playing(this.ptr) != 0, checkError() }