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

Adds detection for BMW, Jeep brands and improves detection for other brands #7550

Merged
merged 26 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2100138
Improves detection for Amazon Fire TV 4-Series (2021)
liviuconcioiu Jan 6, 2024
8d9cc90
Adds detection for Redmi brand
liviuconcioiu Jan 6, 2024
b39bcf7
Adds detection for TCL 3-Series Fire TV (2023)
liviuconcioiu Jan 6, 2024
8666eac
Adds detection for TCL FHD Fire TV (2023)
liviuconcioiu Jan 6, 2024
409622b
Adds detection for TCL 4K Fire TV (2023)
liviuconcioiu Jan 6, 2024
145d197
Adds detection for Onida Fire TV (2019)
liviuconcioiu Jan 6, 2024
484354f
Improves detection for tv
liviuconcioiu Jan 6, 2024
0b4f918
Improves detection for Amazon
liviuconcioiu Jan 6, 2024
7e7c69e
Adds detection for Amazon Fire TV Stick 4K (2023)
liviuconcioiu Jan 6, 2024
25e3d7d
Adds detection for Amazon Fire TV 2-Series (2023)
liviuconcioiu Jan 6, 2024
b21f10a
Improves detection for Amazon Fire TV 2-Series (2023)
liviuconcioiu Jan 6, 2024
8c58d17
Improves regex for Sony PlayStation
liviuconcioiu Jan 6, 2024
36194d3
Adds detection for BMW brand
liviuconcioiu Jan 6, 2024
f0c3a48
Adds detection for Amazon Echo Show 15 (2021)
liviuconcioiu Jan 6, 2024
2296af0
Adds detection for Jeep brand
liviuconcioiu Jan 6, 2024
caafc86
Improves detection for Toshiba devices
liviuconcioiu Jan 7, 2024
dd76c64
Adds detection for Funai Fire TV 4K (2022)
liviuconcioiu Jan 7, 2024
c50b1fc
Adds detection for JVC Fire TV 4K (2021)
liviuconcioiu Jan 7, 2024
01491b6
Adds detection for Amazon Basics Fire TV 4K (2020)
liviuconcioiu Jan 7, 2024
d92a582
Adds detection for JVC Fire TV 2K (2020)
liviuconcioiu Jan 7, 2024
5523bc3
Adds detection for Onida Fire TV (2020)
liviuconcioiu Jan 7, 2024
4bdf7f0
Adds detection for Amazon Fire TV 4K (2021-2022)
liviuconcioiu Jan 7, 2024
7ed1c88
Merge branch 'master' into devices
liviuconcioiu Jan 9, 2024
cc54c85
Replace Redmi with Xiaomi
liviuconcioiu Jan 9, 2024
bf46bad
Rename TCL model
liviuconcioiu Jan 9, 2024
48a24a2
Merge branch 'master' into devices
liviuconcioiu Jan 23, 2024
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
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'B1' => 'Bush',
'4Q' => 'Bundy',
'Y8' => 'Bubblegum',
'BMW' => 'BMW',
'C9' => 'CAGI',
'CT' => 'Capitel',
'G3' => 'CG Mobile',
Expand Down Expand Up @@ -815,6 +816,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'JA' => 'JAY-Tech',
'KJ' => 'Jiake',
'JD' => 'Jedi',
'JEE' => 'Jeep',
'J6' => 'Jeka',
'JF' => 'JFone',
'JI' => 'Jiayu',
Expand Down Expand Up @@ -1314,6 +1316,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'RAY' => 'Raylandz',
'RC' => 'RCA Tablets',
'2R' => 'Reach',
'RED' => 'Redmi',
'REL' => 'RelNAT',
'RB' => 'Readboy',
'RE' => 'Realme',
Expand Down
12 changes: 12 additions & 0 deletions Tests/Parser/Device/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,15 @@
type: car browser
brand: Tesla
model: ""
-
user_agent: Mozilla/5.0 (Linux; Android 9; AFTLBT962E2) AppleWebKit/537.36 (KHTML, like Gecko) Silk/118.3.1 like Chrome/118.0.5993.155 Safari/537.36
device:
type: car browser
brand: BMW
model: Car (2022)
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 9; AFTLFT962X3 Build/PMAIN1)
device:
type: car browser
brand: Jeep
model: Wagoneer
36 changes: 36 additions & 0 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -953,3 +953,39 @@
model: QUAD-CORE T3 K2001M
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 9; AFTLBT962E2) AppleWebKit/537.36 (KHTML, like Gecko) Silk/118.3.1 like Chrome/118.0.5993.155 Safari/537.36
os:
name: Fire OS
version: "7"
platform: ""
client:
type: browser
name: Mobile Silk
version: 118.3.1
engine: Blink
engine_version: 118.0.5993.155
device:
type: car browser
brand: BMW
model: Car (2022)
os_family: Android
browser_family: Chrome
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 9; AFTLFT962X3 Build/PMAIN1)
os:
name: Fire OS
version: "7"
platform: ""
client:
type: browser
name: Android Browser
version: ""
engine: WebKit
engine_version: ""
device:
type: car browser
brand: Jeep
model: Wagoneer
os_family: Android
browser_family: Android Browser
8 changes: 4 additions & 4 deletions Tests/fixtures/podcasting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@
os_family: Android
browser_family: Unknown
-
user_agent: 'Amazon;AFTTI43;756a522d9f1648b89e76e80be654456a;;tpapi;3.202.356'
user_agent: Amazon;AFTTI43;756a522d9f1648b89e76e80be654456a;;tpapi;3.202.356
os:
name: Fire OS
version: ""
Expand All @@ -1992,9 +1992,9 @@
name: Amazon Fire
version: ""
device:
type: ""
brand: ""
model: ''
type: tv
brand: Amazon
model: Fire TV 4-Series (2021)
os_family: Android
browser_family: Unknown
-
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/smart_speaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,21 @@
model: ""
os_family: iOS
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 9; AEOHY) AppleWebKit/537.36 (KHTML, like Gecko) Silk/94.3.10 like Chrome/94.0.4606.126 Safari/537.36
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Mobile Silk
version: 94.3.10
engine: Blink
engine_version: 94.0.4606.126
device:
type: smart speaker
brand: Amazon
model: Echo Show 15 (2021)
os_family: Android
browser_family: Chrome
Loading
Loading