Skip to content

Commit 3dd88ef

Browse files
authored
Detect new brands: Alps, Prology, Smarty, Porsche, Polestar, DF, QTECH, NavRoad, Vankyo and Detect devices for existing brands: Hisense, Starwind, Viumee, NYX Mobile, Hi, Hotwav, Mecool, Shivaki, Telefunken, Nomi, SUNWIND, LG (#6958)
* feat(device) detect new brand Alps: FF-5000 feat(device) detect new brand Prology: MPC-70 feat(device) detect new brand Polestar (issue #6957) feat(device) detect brand Hisense: HiSmart 4K ATV4 feat(device) detect brand Starwind feat(device) detect brand Viumee: EV7 Pro feat(device) detect brand NYX Mobile: Argon feat(device) detect brand Hi: Boost Go (HMR5012) feat(device) detect model H10 Play for unknown brand feat(app) detect app Quick Search TV * feat(device) detect new brand QTECH: QMP K8 feat(device) detect brand Hotwav: Pearl K2 Prime feat(device) detect brand Mecool: BB2 feat(device) detect brand Shivaki: STV-32LED30C feat(device) detect brand Telefunken: TF-LED32S75T2S feat(device) detect brand Prology: MPC-50, MPC-65, MPC-110DSP * feat(device) detect new brand NavRoad: Nexo Smarty, Nexo Handy, Nexo Smart Duo, Movio 2 feat(device) detect new brand Smarty: Mini 7, Mini 7L, Maxi 10L feat(device) detect brand LG: U (LG-F820L) feat(device) detect brand SUNWIND: Sky 9 E201 3G feat(device) detect brand Nomi: Stella Plus (C10105) feat(device) added test for brand Lenovo: IdeaTab A3000 (A3000-H) * feat(device) detect new brand Vankyo: MatrixPad S10, MatrixPad S8, MatrixPad S7 feat(device) detect brand NavRoad: Nexo Evo feat(device) added test for brand Samsung: Galaxy Note 9 (SM-N960U1) * feat(device) detect new brand Porsche (Rear Seat Entertainment) feat(device) detect new brand DF: Jaguar 01, Saturn 02, Saturn 02C, Tiger 01, Puma 01
1 parent 0c55203 commit 3dd88ef

File tree

8 files changed

+846
-30
lines changed

8 files changed

+846
-30
lines changed

Parser/Device/AbstractDeviceParser.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ abstract class AbstractDeviceParser extends AbstractParser
114114
'1A' => 'Alba',
115115
'AL' => 'Alcatel',
116116
'20' => 'Alcor',
117+
'XY' => 'Alps',
117118
'7L' => 'ALDI NORD',
118119
'6L' => 'ALDI SÜD',
119120
'3L' => 'Alfawise',
@@ -294,6 +295,7 @@ abstract class AbstractDeviceParser extends AbstractParser
294295
'DS' => 'Desay',
295296
'DW' => 'DeWalt',
296297
'DX' => 'DEXP',
298+
'8D' => 'DF',
297299
'DG' => 'Dialog',
298300
'DI' => 'Dicam',
299301
'D4' => 'Digi',
@@ -735,6 +737,7 @@ abstract class AbstractDeviceParser extends AbstractParser
735737
'6N' => 'Navitech',
736738
'7V' => 'Navitel',
737739
'N3' => 'Navon',
740+
'7R' => 'NavRoad',
738741
'NP' => 'Naomi Phone',
739742
'NE' => 'NEC',
740743
'8N' => 'Necnot',
@@ -855,6 +858,7 @@ abstract class AbstractDeviceParser extends AbstractParser
855858
'0X' => 'POPTEL',
856859
'PS' => 'Positivo',
857860
'3P' => 'Positivo BGH',
861+
'3F' => 'Porsche',
858862
'P3' => 'PPTV',
859863
'FP' => 'Premio',
860864
'PR' => 'Prestigio',
@@ -863,16 +867,19 @@ abstract class AbstractDeviceParser extends AbstractParser
863867
'2P' => 'Prixton',
864868
'PF' => 'PROFiLO',
865869
'P6' => 'Proline',
870+
'5O' => 'Prology',
866871
'P1' => 'ProScan',
867872
'P7' => 'Protruly',
868873
'R0' => 'ProVision',
874+
'7O' => 'Polestar',
869875
'PU' => 'PULID',
870876
'Q7' => 'Q-Box',
871877
'QH' => 'Q-Touch',
872878
'QB' => 'Q.Bell',
873879
'QI' => 'Qilive',
874880
'QM' => 'QMobile',
875881
'QT' => 'Qtek',
882+
'Q9' => 'QTECH',
876883
'QA' => 'Quantum',
877884
'QU' => 'Quechua',
878885
'QO' => 'Qumo',
@@ -969,6 +976,7 @@ abstract class AbstractDeviceParser extends AbstractParser
969976
'80' => 'SMARTEC',
970977
'SC' => 'Smartfren',
971978
'S7' => 'Smartisan',
979+
'3Y' => 'Smarty',
972980
'HH' => 'Smooth Mobile',
973981
'1Q' => 'Smotreshka',
974982
'SF' => 'Softbank',
@@ -1115,6 +1123,7 @@ abstract class AbstractDeviceParser extends AbstractParser
11151123
'WV' => 'VAVA',
11161124
'VA' => 'Vastking',
11171125
'VP' => 'Vargo',
1126+
'VC' => 'Vankyo',
11181127
'VB' => 'VC',
11191128
'VN' => 'Venso',
11201129
'UV' => 'Venturer',

Tests/fixtures/car_browser.yml

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,129 @@
269269
model: F9212B
270270
os_family: Android
271271
browser_family: Chrome
272+
-
273+
user_agent: Mozilla/5.0 (Linux; Android 9; FF-5000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
274+
os:
275+
name: Android
276+
version: "9"
277+
platform: ""
278+
client:
279+
type: browser
280+
name: Chrome Mobile
281+
version: 95.0.4638.74
282+
engine: Blink
283+
engine_version: ""
284+
device:
285+
type: car browser
286+
brand: Alps
287+
model: FF-5000
288+
os_family: Android
289+
browser_family: Chrome
290+
-
291+
user_agent: Mozilla/5.0 (Linux; Android 9; MPC-70) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
292+
os:
293+
name: Android
294+
version: "9"
295+
platform: ""
296+
client:
297+
type: browser
298+
name: Chrome Mobile
299+
version: 95.0.4638.74
300+
engine: Blink
301+
engine_version: ""
302+
device:
303+
type: car browser
304+
brand: Prology
305+
model: MPC-70
306+
os_family: Android
307+
browser_family: Chrome
308+
-
309+
user_agent: Dalvik/2.1.0 (Linux; U; Android 10; Polestar Build/QA1A.210116.001)
310+
os:
311+
name: Android
312+
version: "10"
313+
platform: ""
314+
client:
315+
type: browser
316+
name: Android Browser
317+
version: ""
318+
engine: WebKit
319+
engine_version: ""
320+
device:
321+
type: car browser
322+
brand: Polestar
323+
model: ""
324+
os_family: Android
325+
browser_family: Android Browser
326+
-
327+
user_agent: Mozilla/5.0 (Linux; Android 4.4; MPC-50) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36
328+
os:
329+
name: Android
330+
version: "4.4"
331+
platform: ""
332+
client:
333+
type: browser
334+
name: Chrome Mobile
335+
version: 76.0.3809.132
336+
engine: Blink
337+
engine_version: ""
338+
device:
339+
type: car browser
340+
brand: Prology
341+
model: MPC-50
342+
os_family: Android
343+
browser_family: Chrome
344+
-
345+
user_agent: Mozilla/5.0 (Linux; U; Android 4.1.1; ru-ru; MPC-65 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
346+
os:
347+
name: Android
348+
version: 4.1.1
349+
platform: ""
350+
client:
351+
type: browser
352+
name: Android Browser
353+
version: ""
354+
engine: WebKit
355+
engine_version: "534.30"
356+
device:
357+
type: car browser
358+
brand: Prology
359+
model: MPC-65
360+
os_family: Android
361+
browser_family: Android Browser
362+
-
363+
user_agent: Mozilla/5.0 (Linux; Android 8; MPC-110DSP Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36
364+
os:
365+
name: Android
366+
version: "8"
367+
platform: ""
368+
client:
369+
type: browser
370+
name: Chrome Mobile
371+
version: 61.0.3163.98
372+
engine: Blink
373+
engine_version: ""
374+
device:
375+
type: car browser
376+
brand: Prology
377+
model: MPC-110DSP
378+
os_family: Android
379+
browser_family: Chrome
380+
-
381+
user_agent: Mozilla/5.0 (Linux; Android 5.1; Porsche Rear Seat Entertainment Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.77 Safari/537.36
382+
os:
383+
name: Android
384+
version: "5.1"
385+
platform: ""
386+
client:
387+
type: browser
388+
name: Chrome
389+
version: 55.0.2883.77
390+
engine: Blink
391+
engine_version: ""
392+
device:
393+
type: car browser
394+
brand: Porsche
395+
model: ""
396+
os_family: Android
397+
browser_family: Chrome

Tests/fixtures/phablet.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7754,3 +7754,21 @@
77547754
model: S16 Pro
77557755
os_family: Android
77567756
browser_family: Chrome
7757+
-
7758+
user_agent: Mozilla/5.0 (Linux; Android 9; SM-N960U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
7759+
os:
7760+
name: Android
7761+
version: "9"
7762+
platform: ""
7763+
client:
7764+
type: browser
7765+
name: Chrome Mobile
7766+
version: 96.0.4664.104
7767+
engine: Blink
7768+
engine_version: ""
7769+
device:
7770+
type: phablet
7771+
brand: Samsung
7772+
model: Galaxy Note 9
7773+
os_family: Android
7774+
browser_family: Chrome

Tests/fixtures/smartphone-28.yml

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5141,3 +5141,147 @@
51415141
model: Stellar Max
51425142
os_family: Android
51435143
browser_family: Chrome
5144+
-
5145+
user_agent: Mozilla/5.0 (Linux; Android 9; EV7_Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
5146+
os:
5147+
name: Android
5148+
version: "9"
5149+
platform: ""
5150+
client:
5151+
type: browser
5152+
name: Chrome Mobile
5153+
version: 96.0.4664.92
5154+
engine: Blink
5155+
engine_version: ""
5156+
device:
5157+
type: smartphone
5158+
brand: Viumee
5159+
model: EV7 Pro
5160+
os_family: Android
5161+
browser_family: Chrome
5162+
-
5163+
user_agent: Mozilla/5.0 (Linux; Android 9; HMR5012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
5164+
os:
5165+
name: Android
5166+
version: "9"
5167+
platform: ""
5168+
client:
5169+
type: browser
5170+
name: Chrome Mobile
5171+
version: 93.0.4577.62
5172+
engine: Blink
5173+
engine_version: ""
5174+
device:
5175+
type: smartphone
5176+
brand: Hi
5177+
model: Boost Go
5178+
os_family: Android
5179+
browser_family: Chrome
5180+
-
5181+
user_agent: Mozilla/5.0 (Linux; Android 9; ARGON) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
5182+
os:
5183+
name: Android
5184+
version: "9"
5185+
platform: ""
5186+
client:
5187+
type: browser
5188+
name: Chrome Mobile
5189+
version: 74.0.3729.136
5190+
engine: Blink
5191+
engine_version: ""
5192+
device:
5193+
type: smartphone
5194+
brand: NYX Mobile
5195+
model: Argon
5196+
os_family: Android
5197+
browser_family: Chrome
5198+
-
5199+
user_agent: Mozilla/5.0 (Linux; Android 9; Pearl K2 Prime) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
5200+
os:
5201+
name: Android
5202+
version: "9"
5203+
platform: ""
5204+
client:
5205+
type: browser
5206+
name: Chrome Mobile
5207+
version: 70.0.3538.80
5208+
engine: Blink
5209+
engine_version: ""
5210+
device:
5211+
type: smartphone
5212+
brand: Hotwav
5213+
model: Pearl K2 Prime
5214+
os_family: Android
5215+
browser_family: Chrome
5216+
-
5217+
user_agent: Mozilla/5.0 (Linux; Android 9; QMP_K8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36
5218+
os:
5219+
name: Android
5220+
version: "9"
5221+
platform: ""
5222+
client:
5223+
type: browser
5224+
name: Chrome Mobile
5225+
version: 86.0.4240.99
5226+
engine: Blink
5227+
engine_version: ""
5228+
device:
5229+
type: smartphone
5230+
brand: QTECH
5231+
model: QMP K8
5232+
os_family: Android
5233+
browser_family: Chrome
5234+
-
5235+
user_agent: Mozilla/5.0 (Linux; U; Android 6.0.1; en-US; LG-F820L Build/MXB48T) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.0.1306 Mobile Safari/537.36
5236+
os:
5237+
name: Android
5238+
version: 6.0.1
5239+
platform: ""
5240+
client:
5241+
type: browser
5242+
name: UC Browser
5243+
version: 13.4.0.1306
5244+
engine: WebKit
5245+
engine_version: "537.36"
5246+
device:
5247+
type: smartphone
5248+
brand: LG
5249+
model: U
5250+
os_family: Android
5251+
browser_family: Unknown
5252+
-
5253+
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; NEXO Smarty Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
5254+
os:
5255+
name: Android
5256+
version: 4.4.2
5257+
platform: ""
5258+
client:
5259+
type: browser
5260+
name: Chrome Webview
5261+
version: 30.0.0.0
5262+
engine: Blink
5263+
engine_version: ""
5264+
device:
5265+
type: smartphone
5266+
brand: NavRoad
5267+
model: Nexo Smarty
5268+
os_family: Android
5269+
browser_family: Chrome
5270+
-
5271+
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; NEXO handy Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
5272+
os:
5273+
name: Android
5274+
version: 4.4.2
5275+
platform: ""
5276+
client:
5277+
type: browser
5278+
name: Chrome Webview
5279+
version: 30.0.0.0
5280+
engine: Blink
5281+
engine_version: ""
5282+
device:
5283+
type: smartphone
5284+
brand: NavRoad
5285+
model: Nexo Handy
5286+
os_family: Android
5287+
browser_family: Chrome

0 commit comments

Comments
 (0)