Skip to content

Commit 091003c

Browse files
committed
Adds detection for AXEN brand
ref #7502
1 parent c11c7a6 commit 091003c

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ abstract class AbstractDeviceParser extends AbstractParser
195195
'AH' => 'AVH',
196196
'AV' => 'Avvio',
197197
'AVA' => 'Avaya',
198+
'AXE' => 'AXEN',
198199
'AY' => 'Axxion',
199200
'AXX' => 'AXXA',
200201
'YR' => 'AYYA',

Tests/fixtures/tv-2.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5665,3 +5665,21 @@
56655665
model: SN50FMN242
56665666
os_family: Other Mobile
56675667
browser_family: Chrome
5668+
-
5669+
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 HbbTV/1.6.1 (+DRM; LGE/ATMACA/AXEN; AX32DAL540-0276; WEBOS22 03.34.35; W22_K8AP; DTV_C22L;)
5670+
os:
5671+
name: webOS
5672+
version: "22"
5673+
platform: ""
5674+
client:
5675+
type: browser
5676+
name: Chrome
5677+
version: 87.0.4280.88
5678+
engine: Blink
5679+
engine_version: 87.0.4280.88
5680+
device:
5681+
type: tv
5682+
brand: AXEN
5683+
model: AX32DAL540
5684+
os_family: Other Mobile
5685+
browser_family: Chrome

regexes/device/televisions.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,20 @@ Sunny:
325325
regex: 'LGE/ATMACA/SUNNY'
326326
device: 'tv'
327327
models:
328-
- regex: 'LGE/ATMACA/SUNNY; ([a-z0-9_ \-]+)-0246;'
328+
- regex: 'LGE/ATMACA/SUNNY; ([a-z0-9]+)-'
329+
model: '$1'
330+
331+
# AXEN (https://www.axen.com.tr/)
332+
AXEN:
333+
regex: 'LGE/ATMACA/AXEN'
334+
device: 'tv'
335+
models:
336+
- regex: 'LGE/ATMACA/AXEN; ([a-z0-9]+)-'
329337
model: '$1'
330338

331339
# LG
332340
LG:
333-
regex: 'LGE'
341+
regex: 'LGE(<!/ATMACA)'
334342
device: 'tv'
335343
models:
336344
- regex: 'XU43WT180N'

0 commit comments

Comments
 (0)