Skip to content

Commit

Permalink
Improves detection for Graetz
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 13, 2024
1 parent 5f2b3fd commit bd91a81
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,21 @@
model: Smart TV (2017)
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.179 Model/Vestel-MB181 VSTVB MB100 HbbTV/1.5.1 (+DRM; GRAETZ; MB181; 1.87.7.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: Graetz
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 @@ -292,6 +292,14 @@ GoGEN:
device: 'tv'
model: ''

# Graetz (https://www.graetzitalia.it/)
Graetz:
regex: 'GRAETZ[;,]'
device: 'tv'
models:
- regex: '_TV_[A-Z0-9]+_([0-9]{4});'
model: 'Smart TV ($1)'

# Grundig
Grundig:
regex: '(OWB|(?:Amazon.+)?Grundig)'
Expand Down

0 comments on commit bd91a81

Please sign in to comment.