Skip to content

Commit

Permalink
Adds detection for allente brand
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 22, 2024
1 parent ccab1a1 commit fe9bd6c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ALS' => 'All Star',
'AA' => 'AllCall',
'3A' => 'AllDocube',
'ALL' => 'allente',
'A2' => 'Allview',
'ALI' => 'ALLINmobile',
'A7' => 'Allwinner',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7140,3 +7140,21 @@
model: QS02
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; Allente 1 Build/QTG1.200820.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.102 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Webview
version: 129.0.6668.102
engine: Blink
engine_version: 129.0.6668.102
device:
type: tv
brand: allente
model: Allente 1
os_family: Android
browser_family: Chrome
6 changes: 6 additions & 0 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6834,6 +6834,12 @@ AllDocube:
- regex: 'Power M3(?:[);/ ]|$)'
model: 'Power M3'

# allente (https://www.allente.se/)
allente:
regex: 'Allente 1(?:[);/ ]|$)'
device: 'tv'
model: 'Allente 1' # KAON MEDIA or KaonMedia

# Xsmart (xsmart.com.pk)
Xsmart:
regex: '(?:Xsmart (?:Nova 7|Mate 10)|CORE_X)(?:[);/ ]|$)'
Expand Down

0 comments on commit fe9bd6c

Please sign in to comment.