- SendEvent(UpdateEventType.StatusText, Resources.action_detecting_tv_vendor);
- SendEvent(UpdateEventType.ProgressBar, 30);
- SendEvent(UpdateEventType.TVVendorId, (int)_lib.GetDeviceVendorId(CecLogicalAddress.Tv));
+ if (_lib.IsActiveDevice(CecLogicalAddress.Tv))
+ {
+ SendEvent(UpdateEventType.StatusText, Resources.action_detecting_tv_vendor);
+ SendEvent(UpdateEventType.ProgressBar, 30);
+ SendEvent(UpdateEventType.TVVendorId, (int)_lib.GetDeviceVendorId(CecLogicalAddress.Tv));
+ }