mautilus / sdk

MAUTILUS SmartTV SDK
BSD 3-Clause "New" or "Revised" License
98 stars 43 forks source link

Vestel devices #40

Closed jorgitoml closed 6 years ago

jorgitoml commented 7 years ago

I don't seee the Vestel device detection code in the getDevice function. Is this a bug or Vestel devices are treated as generic devices. Regards.

radimbuchtela commented 7 years ago

Hi, you are right. Vestel device detection is missing in the Main.getDevice().

According to project where Vestel driver is used, detection is done as

} else if (navigator.userAgent.indexOf('HYUNDAI') >= 0 || navigator.userAgent.indexOf('GOGEN') >= 0 || navigator.userAgent.indexOf('SHARP') >= 0 || navigator.userAgent.indexOf('VESTEL') >= 0) {
    return ['vestel', ''];
}

But I cannot confirm it still works on 100%.

Radim