Skip to content

Commit 6b6167f

Browse files
Adds detection for Whale TV Browser, Cultraview, evvoli and Top-Tech brands, improves detection for various brands (#7881)
* Improves detection for Thomson devices * Improves detection for Miray devices * Improves detection for Essentielb devices * Improves detection for Manta Multimedia devices * Improves detection for Master-G devices * Adds detection for evvoli brand * Improves detection for AOC devices * Improves detection for Philips devices * Improves detection for Whale OS * Improves detection for TCL devices * Improves detection for SCBC devices * Adds detection for WhaleBrowser * Improves detection for Skyworth devices * Adds detection for Top-Tech brand * Adds detection for Cultraview brand * Rename TCL to TCL SCBC * Rename WhaleBrowser to Whale TV Browser ref #7880
1 parent dbf814e commit 6b6167f

File tree

10 files changed

+404
-31
lines changed

10 files changed

+404
-31
lines changed

Parser/Client/Browser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ class Browser extends AbstractClientParser
684684
'WB' => 'Wave Browser',
685685
'WA' => 'Wavebox',
686686
'WH' => 'Whale Browser',
687+
'W2' => 'Whale TV Browser',
687688
'WO' => 'wOSBrowser',
688689
'3W' => 'w3m',
689690
'WT' => 'WeTab Browser',
@@ -768,6 +769,7 @@ class Browser extends AbstractClientParser
768769
'M9', 'F9', '0P', '0A', 'JR', 'D3', 'TK', 'BP', '2F',
769770
'2M', 'K7', '1N', '8A', 'H7', 'X3', 'T4', 'X4', '5O',
770771
'8C', '3M', '6I', '2P', 'PU', '7I', 'X5', 'AL', '3P',
772+
'W2',
771773
],
772774
'Firefox' => [
773775
'FF', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1',

Parser/Device/AbstractDeviceParser.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ abstract class AbstractDeviceParser extends AbstractParser
406406
'CU' => 'Cube',
407407
'CB' => 'CUBOT',
408408
'CUI' => 'Cuiud',
409+
'CUL' => 'Cultraview',
409410
'CV' => 'CVTE',
410411
'CWO' => 'Cwowdefu',
411412
'CX0' => 'CX',
@@ -575,6 +576,7 @@ abstract class AbstractDeviceParser extends AbstractParser
575576
'EO' => 'Evolveo',
576577
'0Q' => 'Evoo',
577578
'5U' => 'EVPAD',
579+
'EVV' => 'evvoli',
578580
'E0' => 'EvroMedia',
579581
'XE' => 'ExMobile',
580582
'4Z' => 'Exmart',
@@ -1529,7 +1531,7 @@ abstract class AbstractDeviceParser extends AbstractParser
15291531
'SY' => 'Sanyo',
15301532
'SAN' => 'SANY',
15311533
'S9' => 'Savio',
1532-
'Y4' => 'SCBC',
1534+
'Y4' => 'TCL SCBC',
15331535
'CZ' => 'Schneider',
15341536
'SCO' => 'Scosmos',
15351537
'SC1' => 'Scoole',
@@ -1739,6 +1741,7 @@ abstract class AbstractDeviceParser extends AbstractParser
17391741
'TY' => 'Tooky',
17401742
'TYD' => 'TYD',
17411743
'TOO' => 'TOOGO',
1744+
'TPT' => 'Top-Tech',
17421745
'T9' => 'Top House',
17431746
'DK' => 'Topelotek',
17441747
'42' => 'Topway',

Tests/Parser/Client/fixtures/browser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10312,3 +10312,12 @@
1031210312
family: Chrome
1031310313
headers:
1031410314
http-x-requested-with: com.cloaktp.browser
10315+
-
10316+
user_agent: Mozilla/5.0 (X11;Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.4280.88 Safari/537.36 Model/NT6904K (SKW690;WHALEOSSKWNT6904KTVP1;WHALEOS-SKW-NT6904KTV-1000051.000;;_TV_NT6904K_HHbrowser_2k22;) LaTivu_1.0.1_2022 CE-HTML/1.0 NETTV_4.6.0.1 SignOn/2.0 SmartTvA/5.0.0 WhaleTV/3.0 WhaleBrowser/1.1.933.1 en
10317+
client:
10318+
type: browser
10319+
name: Whale TV Browser
10320+
version: 1.1.933.1
10321+
engine: Blink
10322+
engine_version: 107.0.4280.88
10323+
family: Chrome

Tests/fixtures/tv-2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5876,7 +5876,7 @@
58765876
device:
58775877
type: tv
58785878
brand: TCL
5879-
model: 72563C
5879+
model: Smart TV (2020)
58805880
os_family: Other Smart TV
58815881
browser_family: Opera
58825882
-

Tests/fixtures/tv-4.yml

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3027,3 +3027,309 @@
30273027
model: 32SN6000H
30283028
os_family: Android
30293029
browser_family: Unknown
3030+
-
3031+
user_agent: 'Opera/9.80 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i; CE-HTML/1.0; U; en) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Tbrowser/2.0 TV/V8-S586T02-LF1V299 (THOMSON,55UD66*6,wired)'
3032+
os:
3033+
name: GNU/Linux
3034+
version: ""
3035+
platform: ARM
3036+
client:
3037+
type: browser
3038+
name: T-Browser
3039+
version: "2.0"
3040+
engine: Blink
3041+
engine_version: 49.0.2623.75
3042+
device:
3043+
type: tv
3044+
brand: Thomson
3045+
model: 55UD66
3046+
os_family: GNU/Linux
3047+
browser_family: Chrome
3048+
-
3049+
user_agent: Opera/9.80 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i; CE-HTML/1.0; U; en) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 NETRANGEMMH Tbrowser/2.0 TV/V8-NT563LA-LF1V430 (MIRAY,32D1240,wired)
3050+
os:
3051+
name: GNU/Linux
3052+
version: ""
3053+
platform: ARM
3054+
client:
3055+
type: browser
3056+
name: T-Browser
3057+
version: "2.0"
3058+
engine: Blink
3059+
engine_version: 49.0.2623.75
3060+
device:
3061+
type: tv
3062+
brand: Miray
3063+
model: 32D1240
3064+
os_family: GNU/Linux
3065+
browser_family: Chrome
3066+
-
3067+
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-NT563AM-LF1V033 (ESSENTIEL B,32A6000,wireless)
3068+
os:
3069+
name: Whale OS
3070+
version: "1"
3071+
platform: ""
3072+
client:
3073+
type: browser
3074+
name: T-Browser
3075+
version: "2.0"
3076+
engine: Blink
3077+
engine_version: 49.0.2623.87
3078+
device:
3079+
type: tv
3080+
brand: Essentielb
3081+
model: 32A6000
3082+
os_family: Other Smart TV
3083+
browser_family: Chrome
3084+
-
3085+
user_agent: Opera/9.80 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i; CE-HTML/1.0; U; en) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Tbrowser/2.0 _TV_NT563/V8-NT563AM-LF1V054 (MANTA,32D2040,wireless)
3086+
os:
3087+
name: GNU/Linux
3088+
version: ""
3089+
platform: ARM
3090+
client:
3091+
type: browser
3092+
name: T-Browser
3093+
version: "2.0"
3094+
engine: Blink
3095+
engine_version: 49.0.2623.75
3096+
device:
3097+
type: tv
3098+
brand: Manta Multimedia
3099+
model: 32D2040
3100+
os_family: GNU/Linux
3101+
browser_family: Chrome
3102+
-
3103+
user_agent: Opera/9.80 NETTV/4.5.0 Mozilla/5.0 (Linux armv7i; CE-HTML/1.0; U; en) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 NETRANGEMMH Tbrowser/2.0 TV/V8-NT563LA-LF1V430 (MASTER-G,43D1240,wireless)
3104+
os:
3105+
name: GNU/Linux
3106+
version: ""
3107+
platform: ARM
3108+
client:
3109+
type: browser
3110+
name: T-Browser
3111+
version: "2.0"
3112+
engine: Blink
3113+
engine_version: 49.0.2623.75
3114+
device:
3115+
type: tv
3116+
brand: Master-G
3117+
model: 43D1240
3118+
os_family: GNU/Linux
3119+
browser_family: Chrome
3120+
-
3121+
user_agent: Zeasn/2.0 NETTV/4.5.0 Mozilla/5.0 (Linux;CE-HTML/1.0;U;en), Chrome/49.0.2623.87 Safari/537.36 AppleWebKit 537.36 (KHTML, like Gecko) Tbrowser/2.0, _TV_UNKONWN/V8-NT563LA-LF1V270 (EVVOLI,32EV200DS,wireless)
3122+
os:
3123+
name: Whale OS
3124+
version: "1"
3125+
platform: ""
3126+
client:
3127+
type: browser
3128+
name: T-Browser
3129+
version: "2.0"
3130+
engine: Blink
3131+
engine_version: 49.0.2623.87
3132+
device:
3133+
type: tv
3134+
brand: evvoli
3135+
model: 32EV200DS
3136+
os_family: Other Smart TV
3137+
browser_family: Chrome
3138+
-
3139+
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.Nebula.11 Model/Tango-NT72671(AOC;50U6305/43I;205.002.153.001;_TV_NT72671_Cosmos_2k20) SignOn/2.0 WhaleTV/2.0 NETTV/4.6.0.1 SmartTvA/5.0.0 es
3140+
os:
3141+
name: Whale OS
3142+
version: "2.0"
3143+
platform: ARM
3144+
client:
3145+
type: browser
3146+
name: Opera Devices
3147+
version: 4.20.4.54
3148+
engine: Blink
3149+
engine_version: 77.0.3865.120
3150+
device:
3151+
type: tv
3152+
brand: AOC
3153+
model: 50U6305/43I
3154+
os_family: Other Smart TV
3155+
browser_family: Opera
3156+
-
3157+
user_agent: Mozilla/5.0 (Linux; Andr0id 11.0; TPM191E Build/RTT2.211108.001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 OPR/32.0.2128.0 OMI/4.8.0.129.Typhoon2.10(;Philips;50PUS7304/62;TPM191E_R.201.000.248.227;_TV_5599;) CE-HTML/1.0 NETTV/9.0.0 SmartTvA/5.0.0 WH/1.0
3158+
os:
3159+
name: Whale OS
3160+
version: "1.0"
3161+
platform: ""
3162+
client:
3163+
type: browser
3164+
name: Opera Devices
3165+
version: 4.8.0.129
3166+
engine: Blink
3167+
engine_version: 49.0.2623.112
3168+
device:
3169+
type: tv
3170+
brand: Philips
3171+
model: 50PUS7304/62
3172+
os_family: Other Smart TV
3173+
browser_family: Opera
3174+
-
3175+
user_agent: Mozilla/5.0 (Linux; Andr0id 11.0; TPM191E Build/RTT2.211108.001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 OPR/32.0.2128.0 OMI/4.8.0.129.Typhoon2.10(;Philips;50PUS8505/62;TPM191E_R.201.000.248.227;_TV_5599;) CE-HTML/1.0 NETTV/9.0.0 SmartTvA/5.0.0 WH/1.0
3176+
os:
3177+
name: Whale OS
3178+
version: "1.0"
3179+
platform: ""
3180+
client:
3181+
type: browser
3182+
name: Opera Devices
3183+
version: 4.8.0.129
3184+
engine: Blink
3185+
engine_version: 49.0.2623.112
3186+
device:
3187+
type: tv
3188+
brand: Philips
3189+
model: 50PUS8505/62
3190+
os_family: Other Smart TV
3191+
browser_family: Opera
3192+
-
3193+
user_agent: Mozilla/5.0 (Linux; Andr0id 8.0; TPM171E Build/OC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 OPR/32.0.2128.0 OMI/4.8.0.129.Sprinter6.112(;Philips;49PUS7002/62;TPM171E_R.107.001.143.000;_TV_5596;) CE-HTML/1.0 NETTV/8.0.2 SmartTvA/5.0.0
3194+
os:
3195+
name: Android TV
3196+
version: "8.0"
3197+
platform: ""
3198+
client:
3199+
type: browser
3200+
name: Opera Devices
3201+
version: 4.8.0.129
3202+
engine: Blink
3203+
engine_version: 49.0.2623.112
3204+
device:
3205+
type: tv
3206+
brand: Philips
3207+
model: 49PUS7002/62
3208+
os_family: Android
3209+
browser_family: Opera
3210+
-
3211+
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.33 Model/ELM-NT72671D(TCL72671D;V8-NT671LA-LF1V603;T000.000.000.262_DM226.0.8_U1.0.129.17_A0.3.2 [2021-11-02 14:51:20];_TV_NT72671_Tbrowser_2k20) SignOn/2.0 WhaleTV/2.0 NETTV_4.6.0.1 en'
3212+
os:
3213+
name: Whale OS
3214+
version: "2.0"
3215+
platform: ARM
3216+
client:
3217+
type: browser
3218+
name: Opera Devices
3219+
version: 4.20.4.54
3220+
engine: Blink
3221+
engine_version: 77.0.3865.120
3222+
device:
3223+
type: tv
3224+
brand: TCL
3225+
model: Smart TV (2020)
3226+
os_family: Other Smart TV
3227+
browser_family: Opera
3228+
-
3229+
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.33 Model/ELM-NT72671D(TCL72671D;V8-NT671LA-LF1V621;T000.000.000.266_DM226.0.8_U1.0.129.21_A0.3.2 [2022-01-07 10:37:03];_TV_NT72671_Tbrowser_2k20) SignOn/2.0 WhaleTV/2.0 NETTV_4.6.0.1 es'
3230+
os:
3231+
name: Whale OS
3232+
version: "2.0"
3233+
platform: ARM
3234+
client:
3235+
type: browser
3236+
name: Opera Devices
3237+
version: 4.20.4.54
3238+
engine: Blink
3239+
engine_version: 77.0.3865.120
3240+
device:
3241+
type: tv
3242+
brand: TCL
3243+
model: Smart TV (2020)
3244+
os_family: Other Smart TV
3245+
browser_family: Opera
3246+
-
3247+
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'
3248+
os:
3249+
name: Whale OS
3250+
version: "2.0"
3251+
platform: ARM
3252+
client:
3253+
type: browser
3254+
name: Opera Devices
3255+
version: 4.20.4.54
3256+
engine: Blink
3257+
engine_version: 77.0.3865.120
3258+
device:
3259+
type: tv
3260+
brand: TCL SCBC
3261+
model: Smart TV (2020)
3262+
os_family: Other Smart TV
3263+
browser_family: Opera
3264+
-
3265+
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'
3266+
os:
3267+
name: Whale OS
3268+
version: "2.0"
3269+
platform: ARM
3270+
client:
3271+
type: browser
3272+
name: Opera Devices
3273+
version: 4.20.4.54
3274+
engine: Blink
3275+
engine_version: 77.0.3865.120
3276+
device:
3277+
type: tv
3278+
brand: TCL SCBC
3279+
model: Smart TV (2020)
3280+
os_family: Other Smart TV
3281+
browser_family: Opera
3282+
-
3283+
user_agent: Mozilla/5.0 (X11;Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.4280.88 Safari/537.36 Model/NT6904K (SKW690;WHALEOSSKWNT6904KTVP1;WHALEOS-SKW-NT6904KTV-1000051.000;;_TV_NT6904K_HHbrowser_2k22;) LaTivu_1.0.1_2022 CE-HTML/1.0 NETTV_4.6.0.1 SignOn/2.0 SmartTvA/5.0.0 WhaleTV/3.0 WhaleBrowser/1.1.933.1 en
3284+
os:
3285+
name: Whale OS
3286+
version: "3.0"
3287+
platform: ARM
3288+
client:
3289+
type: browser
3290+
name: Whale TV Browser
3291+
version: 1.1.933.1
3292+
engine: Blink
3293+
engine_version: 107.0.4280.88
3294+
device:
3295+
type: tv
3296+
brand: Skyworth
3297+
model: Smart TV (2022)
3298+
os_family: Other Smart TV
3299+
browser_family: Chrome
3300+
-
3301+
user_agent: Mozilla/5.0 (X11;Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4280.88 Safari/537.36 Model/NT726902K (Toptech690;WHALEOSDKNT6902KTVP41;WHALEOS-DK-NT6902KTV-0000082.000;;_TV_NT726902K_HHbrowser_2k22;) LaTivu_1.0.1_2022 CE-HTML/1.0 NETTV_4.6.0.1 SignOn/2.0 SmartTvA/5.0.0 WhaleTV/3.0 WhaleBrowser/1.3.240509.0 en
3302+
os:
3303+
name: Whale OS
3304+
version: "3.0"
3305+
platform: ARM
3306+
client:
3307+
type: browser
3308+
name: Whale TV Browser
3309+
version: 1.3.240509.0
3310+
engine: Blink
3311+
engine_version: 97.0.4280.88
3312+
device:
3313+
type: tv
3314+
brand: Top-Tech
3315+
model: Smart TV (2022)
3316+
os_family: Other Smart TV
3317+
browser_family: Chrome
3318+
-
3319+
user_agent: Mozilla/5.0 (X11;Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4280.88 Safari/537.36 Model/NT726902K (Cultraview690;WHALEOSJRXNT6902KTVP66;WHALEOS-DK-NT6902KTV-0000040.000;;_TV_NT726902K_HHbrowser_2k22;) LaTivu_1.0.1_2022 CE-HTML/1.0 NETTV_4.6.0.1 SignOn/2.0 SmartTvA/5.0.0 WhaleTV/3.0 WhaleBrowser/1.3.21.5 en
3320+
os:
3321+
name: Whale OS
3322+
version: "3.0"
3323+
platform: ARM
3324+
client:
3325+
type: browser
3326+
name: Whale TV Browser
3327+
version: 1.3.21.5
3328+
engine: Blink
3329+
engine_version: 97.0.4280.88
3330+
device:
3331+
type: tv
3332+
brand: Cultraview
3333+
model: Smart TV (2022)
3334+
os_family: Other Smart TV
3335+
browser_family: Chrome

Tests/fixtures/tv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8408,7 +8408,7 @@
84088408
engine_version: 39.0.2171.71
84098409
device:
84108410
type: tv
8411-
brand: SCBC
8411+
brand: TCL SCBC
84128412
model: SCBC586
84138413
os_family: GNU/Linux
84148414
browser_family: Chrome
@@ -8426,7 +8426,7 @@
84268426
engine_version: 39.0.2171.71
84278427
device:
84288428
type: tv
8429-
brand: SCBC
8429+
brand: TCL SCBC
84308430
model: 43D1850
84318431
os_family: GNU/Linux
84328432
browser_family: Chrome

0 commit comments

Comments
 (0)