Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Detect new brands: Altibox, G Guard, Supermax, TV+, UnoPhone, WildRed and Detect devices for exist brands #7958

Merged
merged 8 commits into from
Dec 20, 2024
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
Loading