Skip to content

Commit

Permalink
Adds detection for Amazon Fire TV Stick 4K Max (2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 20, 2023
1 parent f25fba9 commit 860af1a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,21 @@
model: Fire TV (2020)
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; AFTKRT Build/RS8101.1854N; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.197 Mobile Safari/537.36 cordova-amazon-fireos/3.4.0 AmazonWebAppPlatform/3.4.0;2.0
os:
name: Fire OS
version: "8"
platform: ""
client:
type: browser
name: Chrome Webview
version: 112.0.5615.197
engine: Blink
engine_version: 112.0.5615.197
device:
type: tv
brand: Amazon
model: Fire TV Stick 4K Max (2023)
os_family: Android
browser_family: Chrome
5 changes: 4 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23104,7 +23104,7 @@ AmazonBasics:

# Kindle
Amazon:
regex: '(?:AFT[ABMNRST]|AFTSSS?|AFTKA|SD4930UR|AEO(?:BC|C[HW]|KN)|KF(?:OT|ONWI|TT|JWI|JWA|[DFS]OWI|A[PRSU]WI|T[BH]WI|TRP?WI|SAW[IA]|GIWI|KAWI|MAWI|MEWI|MUWI|SUWI))(?:[);/ ]|$)|Kindle|AlexaMediaPlayer|Amazon (?:Tate|Jem)|Silk/\d+\.\d+|Echo/1|.+FIRETVSTICK'
regex: '(?:AFT[ABMNRST]|AFTSSS?|AFTK(?:A|RT)|SD4930UR|AEO(?:BC|C[HW]|KN)|KF(?:OT|ONWI|TT|JWI|JWA|[DFS]OWI|A[PRSU]WI|T[BH]WI|TRP?WI|SAW[IA]|GIWI|KAWI|MAWI|MEWI|MUWI|SUWI))(?:[);/ ]|$)|Kindle|AlexaMediaPlayer|Amazon (?:Tate|Jem)|Silk/\d+\.\d+|Echo/1|.+FIRETVSTICK'
device: 'tablet'
models:
- regex: 'AFTA'
Expand Down Expand Up @@ -23140,6 +23140,9 @@ Amazon:
- regex: 'AFTKA'
model: 'Fire TV Stick 4K Max' # 2021
device: 'tv'
- regex: 'AFTKRT'
model: 'Fire TV Stick 4K Max (2023)'
device: 'tv'
- regex: 'KFFOWI(?:[);/ ]|$)'
model: 'Fire 7"'
- regex: 'KFMUWI(?:[);/ ]|$)'
Expand Down

0 comments on commit 860af1a

Please sign in to comment.