Skip to content

Commit

Permalink
Adds detection for UNITED brand
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 13, 2024
1 parent bd91a81 commit cc5dd8f
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 @@ -1814,6 +1814,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UNI' => 'Unistrong',
'U2' => 'UNIWA',
'UND' => 'Uniden',
'UNE' => 'UNITED',
'UGR' => 'United Group',
'UO' => 'Unnecto',
'UNN' => 'Unnion Technologies',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,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/77.0.3865.120 Safari/537.36 OPR/46.0.2207.0 OMI/4.20.5.61.LIMA.183 Model/Vestel-MB181 VSTVB MB100 HbbTV/1.5.1 (+DRM; UNITED; MB181; 1.89.9.0; ; _TV_G36_2020;) SmartTvA/3.0.0
os:
name: GNU/Linux
version: ""
platform: ""
client:
type: browser
name: Opera Devices
version: 4.20.5.61
engine: Blink
engine_version: 77.0.3865.120
device:
type: tv
brand: UNITED
model: Smart TV (2020)
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 @@ -1126,6 +1126,14 @@ Tsinghua Tongfang:
- regex: 'LE40GY15'
model: 'LE40GY15'

# UNITED (http://www.united-tv.eu/en/)
UNITED:
regex: 'UNITED[;,]'
device: 'tv'
models:
- regex: '_TV_[A-Z0-9]+_([0-9]{4});'
model: 'Smart TV ($1)'

# VANGUARD
VANGUARD:
regex: 'VANGUARD[;,]'
Expand Down

0 comments on commit cc5dd8f

Please sign in to comment.