Skip to content

Commit af6b498

Browse files
committed
Adds detection for Dyon brand
ref #7502
1 parent 091003c commit af6b498

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ abstract class AbstractDeviceParser extends AbstractParser
439439
'UD' => 'DUNNS Mobile',
440440
'DUU' => 'Duubee',
441441
'DUR' => 'Durabook',
442+
'DYO' => 'Dyon',
442443
'DTE' => 'D-Tech',
443444
'DLI' => 'D-Link',
444445
'ENO' => 'eNOVA',

Tests/fixtures/tv-2.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5683,3 +5683,21 @@
56835683
model: AX32DAL540
56845684
os_family: Other Mobile
56855685
browser_family: Chrome
5686+
-
5687+
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 HbbTV/1.5.1 (+DRM; LGE/KONKA/DYON; SMART-32-X-EOS; WEBOS5.0 04.40.70; W50_K6LP; DTV_C20L;)
5688+
os:
5689+
name: webOS
5690+
version: "5.0"
5691+
platform: ""
5692+
client:
5693+
type: browser
5694+
name: Chrome
5695+
version: 68.0.3440.106
5696+
engine: Blink
5697+
engine_version: 68.0.3440.106
5698+
device:
5699+
type: tv
5700+
brand: Dyon
5701+
model: Smart 32 X-EOS
5702+
os_family: Other Mobile
5703+
browser_family: Chrome

regexes/device/televisions.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,14 @@ AXEN:
336336
- regex: 'LGE/ATMACA/AXEN; ([a-z0-9]+)-'
337337
model: '$1'
338338

339+
# Dyon
340+
Dyon:
341+
regex: 'LGE/KONKA/DYON'
342+
device: 'tv'
343+
models:
344+
- regex: 'SMART-32-X-EOS'
345+
model: 'Smart 32 X-EOS'
346+
339347
# LG
340348
LG:
341349
regex: 'LGE(<!/ATMACA)'

0 commit comments

Comments
 (0)