case UpdateEventType.HDMIPort:
Config.HDMIPort = (byte)updateEvent.IntValue;
break;
+ case UpdateEventType.MenuLanguage:
+ SetControlText(cbUseTVMenuLanguage, "Use the TV's language setting" + (updateEvent.StringValue.Length > 0 ? " (" + updateEvent.StringValue + ")" : ""));
+ break;
case UpdateEventType.HasAVRDevice:
if (HasAVRDevice != updateEvent.BoolValue)
{
SendEvent(UpdateEventType.ProgressBar, 25);
SendEvent(UpdateEventType.TVVendorId, (int)Lib.GetDeviceVendorId(CecLogicalAddress.Tv));
+ SendEvent(UpdateEventType.StatusText, "Detecting menu language...");
+ SendEvent(UpdateEventType.ProgressBar, 40);
+ SendEvent(UpdateEventType.MenuLanguage, Lib.GetDeviceMenuLanguage(CecLogicalAddress.Tv));
+
SendEvent(UpdateEventType.ProgressBar, 50);
SendEvent(UpdateEventType.StatusText, "Detecting AVR devices...");