Skip to content

Commit

Permalink
Improves detection for TCL devices
Browse files Browse the repository at this point in the history
ref #7513
  • Loading branch information
liviuconcioiu committed Nov 20, 2023
1 parent 7f442df commit 2d41639
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6239,3 +6239,21 @@
model: 40FHDMGA
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Andr0id 9; AFTANNA0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.82 Safari/537.36 OPR/46.0.2207.0 OMI/4.24.1.52.AFTdev.551 HbbTV/1.5.1 (+DRM;Amazon;AFTANNA0-TCL-55CF630;0029159767172;unknown;com.amazon.m7632;) smarttv_AFTANNA0-TCL-55CF630_Build_0029159767172_Chromium_116.0.5845.82
os:
name: Fire OS
version: "7"
platform: ""
client:
type: browser
name: Opera Devices
version: 4.24.1.52
engine: Blink
engine_version: 116.0.5845.82
device:
type: tv
brand: TCL
model: 55CF630
os_family: Android
browser_family: Opera
4 changes: 3 additions & 1 deletion regexes/device/televisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -746,13 +746,15 @@ Telefunken:

# TCL
TCL:
regex: 'TCL'
regex: '(?:Amazon.+)?TCL'
device: 'tv'
models:
- regex: '(32D1820|(?:39|55)D2900|32D2930|(?:32|43)S4900)'
model: '$1'
- regex: 'TCL[,;] ?((?! |HbbTV)[^),;/]+)'
model: '$1'
- regex: 'Amazon.+TCL-([a-z0-9_ \-]+)_Build_'
model: '$1'

# Thomson
Thomson:
Expand Down

0 comments on commit 2d41639

Please sign in to comment.