Skip to content

Commit

Permalink
Detect new brands: Altibox, G Guard, Supermax, TV+, UnoPhone, WildRed…
Browse files Browse the repository at this point in the history
… and Detect devices for exist brands (matomo-org#7958)

* feat(device) detect new brand TV+: Smart TV
feat(device) detect brand Panasonic: Smart TV
feat(device) detect brand Reeder: Smart TV
feat(device) detect brand Saba: 32SB6000H, 42SB6000F
feat(device) detect brand Erisson: 32LES905T2SM

ref matomo-org#7882

* feat(device) detect new brand Altibox: Smart TV
feat(device) detect new brand G Guard: Smart TV
feat(device) detect new brand Supermax: Smart TV
feat(device) detect brand Philips: NeoViu D1
feat(device) detect brand Dyon: 2K Smart TV
feat(device) detect brand Walton: 2K Smart TV
feat(device) detect brand Bell: Streamer
feat(device) detect brand XGIMI: MoGo Pro
feat(device) detect brand Telia: TV Box Nordic
feat(device) detect brand Polaroid: SmartBox S (SMX4K)

ref matomo-org#7882

* feat(device) detect new brand UnoPhone: Premier 5 Max, Premier 5
feat(device) detect new brand WildRed: 42QWS9001
feat(device) detect brand Xiaomi: Redmi Y3 (M1810F6G), 15 (24129PN74C), Redmi K80 Pro (24117RK2CC), 15 Pro
feat(device) detect brand Vivo: iQOO 13 (V2408A), iQOO Z9s Pro 5G (I2305)
feat(device) detect brand Realme: GT 7 Pro (RMX5011, RMX5010)
feat(device) detect brand Ghia: GK133M3
feat(device) detect brand Sky: Elite T10 Pro
feat(device) detect brand Ulefone: Tab A11 Pro
feat(device) detect brand Oukitel: OT11
feat(device) detect brand ONYX BOOX: Note Air 4C
feat(device) detect brand TOSCIDO: P101
feat(device) detect brand Huawei: Honor Magic 7 (PTP-AN00), Honor Magic 7 Pro (PTP-AN10), Nova 3i (IVY-LX2), Honor X9c (BRP-NX1), Honor X60 (BRC-AN00)
feat(device) detect brand Nubia: Z70 Ultra (NX733J)
feat(device) detect brand Google: Pixel 8 (GPJ41)
feat(device) detect brand VGO TEL: Flex 2
feat(device) detect brand Doogee: V Max Pro
feat(device) detect brand Unonu: N55S
feat(device) detect brand Meizu: Lucky 08
feat(device) detect brand Sparx: Neo 8 Lite
feat(device) detect brand POCO: C75
feat(device) detect brand JVC: Smart TV
feat(device) detect brand Rombica: 65MT-UDG54G
feat(device) detect brand ONVO: 24OV6000H
feat(device) detect brand Akai: TA43BU500, TA32BF550
feat(device) detect brand Erisson: 42FLES901T2SM
feat(device) detect brand Motorola: Moto G75 5G, Moto G45 5G, Moto G35 5G

* feat(device) detect brand Asano: 32LH5000T 32.0"

* Update Parser/Device/AbstractDeviceParser.php

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>

* Update Tests/fixtures/tv-4.yml

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>

* feat(device) detect brand BBK: 40LEX-9201/FTS2C, 40LEX-7291/FTS2C, 40LEX-7246/FTS2C, 32LEX-7292/TS2C, 32LEX-7291/TS2C, 32LEX-7288/TS2C, 32LEX-7264/TS2C, 32LEX-7264/TS2C, 32LEX-7260/TS2C,
32LEX-7259/TS2C, 32LEX-7257/TS2C, 32LEX-7249/TS2C, 32LEX-7246/TS2C, 32LEX-7213/TS2C, 32LEX-7212/TS2C, 32LEX-7204/TS2C, 32LEX-7202/TS2C, 24LEX-7289/TS2C
feat(device) detect brand Erisson: 40FLX9000CT2, 40FLES901T2SM, 32LES906T2SM
feat(device) detect brand BAFF: 32Y HD-R
feat(device) detect brand DEXP: 24HEY1

---------

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
sanchezzzhak and liviuconcioiu authored Dec 20, 2024
1 parent 54249ca commit ea5a7bb
Show file tree
Hide file tree
Showing 9 changed files with 1,582 additions and 60 deletions.
6 changes: 6 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'66' => 'Altice',
'ALM' => 'Altimo',
'A5' => 'altron',
'ALB' => 'Altibox',
'ALT' => 'Altus',
'KN' => 'Amazon',
'AMZ' => 'Amazon Basics',
Expand Down Expand Up @@ -322,6 +323,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'C9' => 'CAGI',
'CAD' => 'CADENA',
'CT' => 'Capitel',
'GRD' => 'G-Guard',
'G3' => 'CG Mobile',
'37' => 'CGV',
'CP' => 'Captiva',
Expand Down Expand Up @@ -1671,6 +1673,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'5Y' => 'Sunny',
'W8' => 'SUNWIND',
'SBX' => 'SuperBOX',
'SBM' => 'Supermax',
'SBR' => 'Sber',
'SGE' => 'Super General',
'SU' => 'SuperSonic',
Expand Down Expand Up @@ -1804,6 +1807,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'TUC' => 'TUCSON',
'2U' => 'Türk Telekom',
'TV' => 'TVC',
'TVP' => 'TV+',
'TW' => 'TWM',
'Z1' => 'TWZ',
'6T' => 'Twoe',
Expand Down Expand Up @@ -1832,6 +1836,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UGR' => 'United Group',
'UO' => 'Unnecto',
'UNN' => 'Unnion Technologies',
'UNP' => 'UnoPhone',
'UU' => 'Unonu',
'UN' => 'Unowhy',
'UY' => 'UNNO',
Expand Down Expand Up @@ -1966,6 +1971,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'W2' => 'Wigor',
'WI' => 'Wiko',
'WF' => 'Wileyfox',
'WLR' => 'WildRed',
'WS' => 'Winds',
'WN' => 'Wink',
'9W' => 'Winmax',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1594,3 +1594,39 @@
model: TelPad MT7
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 12; NeoViu D1 Build/STTC.230104.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/126.0.6478.186 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Webview
version: 126.0.6478.186
engine: Blink
engine_version: 126.0.6478.186
device:
type: peripheral
brand: Philips
model: NeoViu D1
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 9; MoGo Pro Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Chrome Webview
version: 129.0.6668.100
engine: Blink
engine_version: 129.0.6668.100
device:
type: peripheral
brand: XGIMI
model: MoGo Pro
os_family: Android
browser_family: Chrome
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5121,7 +5121,7 @@
engine_version: 102.0.0.0
device:
type: smartphone
brand: Sky
brand: UnoPhone
model: Premier 5
os_family: Android
browser_family: Chrome
Expand Down
Loading

0 comments on commit ea5a7bb

Please sign in to comment.