Skip to content

Commit

Permalink
Adds detection for EAS Electric brand
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 11, 2023
1 parent 26bca32 commit 08c4dfe
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ENI' => 'ENIE',
'2E' => 'E-Ceros',
'E8' => 'E-tel',
'EAS' => 'EAS Electric',
'EP' => 'Easypix',
'EQ' => 'Eagle',
'EA' => 'EBEST',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7172,3 +7172,21 @@
model: Smart TV (2020)
os_family: GNU/Linux
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 OPR/40.0.2207.0 OMI/4.9.0.237.DOM3-OPT.256 Model/Vestel-MB130 VSTVB MB100 HbbTV/1.2.1 (; EAS_ELECTRIC; MB130; 5.35.4.0; _TV_G10_2017;) SmartTvA/3.0.0
os:
name: GNU/Linux
version: ""
platform: ""
client:
type: browser
name: Opera Devices
version: 4.9.0.237
engine: Blink
engine_version: 53.0.2785.143
device:
type: tv
brand: EAS Electric
model: Smart TV (2017)
os_family: GNU/Linux
browser_family: Opera
8 changes: 8 additions & 0 deletions regexes/device/televisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,14 @@ Dyon:
- regex: 'SMART-32-X-EOS'
model: 'Smart 32 X-EOS'

# EAS Electric (https://easelectric.es/)
EAS Electric:
regex: 'EAS_ELECTRIC[;,]'
device: 'tv'
models:
- regex: '_TV_[A-Z0-9]+_([0-9]{4});'
model: 'Smart TV ($1)'

# Edenwood
Edenwood:
regex: 'EDENWOOD[;,]'
Expand Down

0 comments on commit 08c4dfe

Please # to comment.