Skip to content

Commit

Permalink
Adds detection for All Star brand
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 13, 2024
1 parent 85b1d0b commit ff427ee
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 @@ -139,6 +139,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'6L' => 'ALDI SÜD',
'3L' => 'Alfawise',
'4A' => 'Aligator',
'ALS' => 'All Star',
'AA' => 'AllCall',
'3A' => 'AllDocube',
'A2' => 'Allview',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,21 @@
model: ATV85UHDW-0122
os_family: Other Mobile
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; ASSTV55WF4K; 04.50.62; 0x00000001; DTV_C20P); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, ASSTV55WF4K, wireless)
os:
name: webOS
version: "5"
platform: ""
client:
type: browser
name: LG Browser
version: 8.00.00
engine: Blink
engine_version: 68.0.3440.106
device:
type: tv
brand: All Star
model: ASSTV55WF4K
os_family: Other Mobile
browser_family: Unknown
6 changes: 6 additions & 0 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,12 @@ Alba:
device: 'tablet'
model: '$1'

# All Star or AllStar or AllStar Tech (https://www.allstartech.it/)
All Star:
regex: '(ASSTV[A-Z0-9]+)'
device: 'tv'
model: '$1'

# AllCall
AllCall:
regex: 'AllCall_|Heat[34]|SHINE 12T?|(?:Rio_X|S5500)(?:[);/ ]|$)|Hot ?[125][^;/]+ Build'
Expand Down

0 comments on commit ff427ee

Please sign in to comment.