Skip to content

Commit 85b32b5

Browse files
committed
Adds detection for ONVO brand
ref #7502
1 parent af6b498 commit 85b32b5

File tree

3 files changed

+35
-8
lines changed

3 files changed

+35
-8
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,7 @@ abstract class AbstractDeviceParser extends AbstractParser
11291129
'3O' => 'ONYX BOOX',
11301130
'O4' => 'ONN',
11311131
'9Q' => 'Onkyo',
1132+
'ONV' => 'ONVO',
11321133
'2O' => 'OpelMobile',
11331134
'OH' => 'Openbox',
11341135
'7Y' => 'Obabox',

Tests/fixtures/tv-2.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5701,3 +5701,21 @@
57015701
model: Smart 32 X-EOS
57025702
os_family: Other Mobile
57035703
browser_family: Chrome
5704+
-
5705+
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/SILICONPLAYER/ONVO; OV50500; WEBOS5.0 04.40.70; W50_K6LP; DTV_C20P;)
5706+
os:
5707+
name: webOS
5708+
version: "5.0"
5709+
platform: ""
5710+
client:
5711+
type: browser
5712+
name: Chrome
5713+
version: 68.0.3440.106
5714+
engine: Blink
5715+
engine_version: 68.0.3440.106
5716+
device:
5717+
type: tv
5718+
brand: ONVO
5719+
model: OV50500
5720+
os_family: Other Mobile
5721+
browser_family: Chrome

regexes/device/televisions.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -320,14 +320,6 @@ Laurus:
320320
device: 'tv'
321321
model: ''
322322

323-
# Sunny (https://www.sunny.com.tr/)
324-
Sunny:
325-
regex: 'LGE/ATMACA/SUNNY'
326-
device: 'tv'
327-
models:
328-
- regex: 'LGE/ATMACA/SUNNY; ([a-z0-9]+)-'
329-
model: '$1'
330-
331323
# AXEN (https://www.axen.com.tr/)
332324
AXEN:
333325
regex: 'LGE/ATMACA/AXEN'
@@ -344,6 +336,22 @@ Dyon:
344336
- regex: 'SMART-32-X-EOS'
345337
model: 'Smart 32 X-EOS'
346338

339+
# ONVO (https://onvo.com.tr/)
340+
ONVO:
341+
regex: 'LGE/SILICONPLAYER/ONVO'
342+
device: 'tv'
343+
models:
344+
- regex: 'LGE/SILICONPLAYER/ONVO; ([a-z0-9]+);'
345+
model: '$1'
346+
347+
# Sunny (https://www.sunny.com.tr/)
348+
Sunny:
349+
regex: 'LGE/ATMACA/SUNNY'
350+
device: 'tv'
351+
models:
352+
- regex: 'LGE/ATMACA/SUNNY; ([a-z0-9]+)-'
353+
model: '$1'
354+
347355
# LG
348356
LG:
349357
regex: 'LGE(<!/ATMACA)'

0 commit comments

Comments
 (0)