Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Detect new brands: Acepad, Diofox and Detect devices for exist brands #7936

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AE' => 'Ace',
'AC' => 'Acer',
'ACL' => 'Aceline',
'ACP' => 'Acepad',
'3K' => 'Acteck',
'ACT' => 'actiMirror',
'A9' => 'Advan',
Expand Down Expand Up @@ -463,6 +464,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'DIV' => 'DiverMax',
'D6' => 'Divisat',
'DIO' => 'DIORA',
'DIF' => 'Diofox',
'X6' => 'DIXON',
'DIM' => 'DIMO',
'5D' => 'DING DING',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5454,3 +5454,21 @@
model: Galaxy Z Fold 5
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 14; MEIZU Note21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 124.0.0.0
engine: Blink
engine_version: 124.0.0.0
device:
type: phablet
brand: Meizu
model: Note 21
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -989,3 +989,21 @@
model: M11S
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 9; Diofox M8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 130.0.0.0
engine: Blink
engine_version: 130.0.0.0
device:
type: portable media player
brand: Diofox
model: M8
os_family: Android
browser_family: Chrome
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4191,7 +4191,7 @@
device:
type: smartphone
brand: Blackview
model: E7S
model: E7s
os_family: Android
browser_family: Chrome
-
Expand Down
Loading
Loading