// IsRunning returns true if the discovery service is currently running. func (this *Discoverer) IsRunning() (bool, error) { if this.ptr == nil { return false, os.EINVAL } return C.libvlc_media_discoverer_is_running(this.ptr) != 0, checkError() }
// IsRunning returns true if the discovery service is currently running. func (this *Discoverer) IsRunning() (bool, error) { if this.ptr == nil { return false, &VLCError{"Discoverer is nil"} } return C.libvlc_media_discoverer_is_running(this.ptr) != 0, checkError() }