Skip to content

Commit

Permalink
Improves detection for SCBC devices
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Oct 29, 2024
1 parent 6f0af4f commit 18deda1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 10 deletions.
36 changes: 36 additions & 0 deletions Tests/fixtures/tv-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3243,3 +3243,39 @@
model: Smart TV (2020)
os_family: Other Smart TV
browser_family: Opera
-
user_agent: 'Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 OPR/46.0.2207.0 OMI/4.20.4.54.Elm.9 HbbTV/1.5.1 (+DRM; TCL72671D;V8-NT671LA-LF1V486;T000.000.000.218_DM100.2.29_U1.0.42.45_A0.0.38 [2021-04-21 14:44:20]; ;_TV_NT72671_TCL_SCBC_Tbrowser_2k20;) FVC/4.0 (TCL72671D;) LaTivu_1.0.1_2020 SignOn/2.0 WhaleTV/2.0 NETTV/4.6.0.1 es-MX'
os:
name: Whale OS
version: "2.0"
platform: ARM
client:
type: browser
name: Opera Devices
version: 4.20.4.54
engine: Blink
engine_version: 77.0.3865.120
device:
type: tv
brand: SCBC
model: Smart TV (2020)
os_family: Other Smart TV
browser_family: Opera
-
user_agent: 'Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 OPR/46.0.2207.0 OMI/4.20.4.54.Elm.9 HbbTV/1.5.1 (+DRM; TCL72671D;V8-NT671LA-LF1V458;T000.000.000.207_DM100.2.26_U1.0.42.40_A0.0.38 [2021-03-26 14:36:55]; ;_TV_NT72671_TCL_SCBC_Tbrowser_2k20;) FVC/4.0 (TCL72671D;) LaTivu_1.0.1_2020 SignOn/2.0 WhaleTV/2.0 NETTV/4.6.0.1 es-MX'
os:
name: Whale OS
version: "2.0"
platform: ARM
client:
type: browser
name: Opera Devices
version: 4.20.4.54
engine: Blink
engine_version: 77.0.3865.120
device:
type: tv
brand: SCBC
model: Smart TV (2020)
os_family: Other Smart TV
browser_family: Opera
22 changes: 12 additions & 10 deletions regexes/device/televisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,18 @@ PEAQ:
device: 'tv'
model: ''

# SCBC
SCBC:
regex: 'SCBC[;,]|_TV_[A-Z0-9_]+_TCL_SCBC'
device: 'tv'
models:
- regex: 'SCBC586'
model: 'SCBC586'
- regex: '43D1850'
model: '43D1850'
- regex: '_TV_[A-Z0-9]+_TCL_SCBC_Tbrowser_2k20'
model: 'Smart TV (2020)'

# Philips
Philips:
regex: 'Philips|NETTV/'
Expand Down Expand Up @@ -890,16 +902,6 @@ Samsung:
- regex: 'Maple_2011'
model: 'Smart TV (2011)'

# SCBC
SCBC:
regex: 'SCBC[;,]'
device: 'tv'
models:
- regex: 'SCBC586'
model: 'SCBC586'
- regex: '43D1850'
model: '43D1850'

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

2 comments on commit 18deda1

@EfekanPekel
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think SCBC is a standalone brand. According to the document below, SCBC is an indicator for TCL's TV platform.
https://partner.zeasn.com/partnerportal/DeviceMapping/index.jhtml
Image

@liviuconcioiu
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think TCL SCBC is an alliance between Acer, Aiwa, Artel, Compaq, Hitachi, Hyundai, JVC, Micromax, Motorola, Nokia, Panasonic, Singer, TCL, Thomson, etc. Probably is best to rename it to TCL SCBC.

Also, if you look at this regex, SCBC586, it means they manufacture under another brand.

Please # to comment.