Skip to content

Commit

Permalink
Merge pull request #28 from OscarYeh/feat/mixerbox_ua
Browse files Browse the repository at this point in the history
Add MixerBox user agent
cavis authored Mar 24, 2021
2 parents 48f3fdf + 4491a1a commit 23a464d
Showing 8 changed files with 3,142 additions and 2,976 deletions.
18 changes: 18 additions & 0 deletions db/agents.json
Original file line number Diff line number Diff line change
@@ -1633,6 +1633,24 @@
"Zune/4.8"
]
},
{
"regex": "^MixerBox\\/.*Android",
"name": "MixerBox",
"type": "Mobile App",
"os": "Android",
"examples": [
"MixerBox/12.33 (Linux;Android 11) ExoPlayerLib/2.11.1"
]
},
{
"regex": "^MixerBox\\/.*iOS",
"name": "MixerBox",
"type": "Mobile App",
"os": "iOS",
"examples": [
"MixerBox/807.iOS (iPhone; iOS 14.4; en_US)"
]
},
{
"regex": "^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\\/.+(x86_64)",
"name": "Apple Podcasts",
5 changes: 4 additions & 1 deletion db/agents.lock.js
Original file line number Diff line number Diff line change
@@ -167,6 +167,8 @@ exports.agents = [
[/^Winamp/, 61, 35, 41],
[/^Xiaoyuzhou/, 123, 36, 43],
[/^Zune/, 24, 36, 41],
[/^MixerBox\/.*Android/, 133, 36, 42],
[/^MixerBox\/.*iOS/, 133, 36, 43],
[/^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\/.+(x86_64)/, 25, 35, 45],
[/^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\//, 25, 36, 43],
[/^itunesstored/, 25, 36, 43],
@@ -353,5 +355,6 @@ exports.tags = {
129: 'iVoox',
130: 'Audible',
131: 'Airr',
132: 'Podhero'
132: 'Podhero',
133: 'MixerBox'
};
15 changes: 14 additions & 1 deletion db/agents.lock.json
Original file line number Diff line number Diff line change
@@ -973,6 +973,18 @@
"type": "36",
"os": "41"
},
{
"regex": "^MixerBox\\/.*Android",
"name": "133",
"type": "36",
"os": "42"
},
{
"regex": "^MixerBox\\/.*iOS",
"name": "133",
"type": "36",
"os": "43"
},
{
"regex": "^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\\/.+(x86_64)",
"name": "25",
@@ -1409,6 +1421,7 @@
"129": "iVoox",
"130": "Audible",
"131": "Airr",
"132": "Podhero"
"132": "Podhero",
"133": "MixerBox"
}
}
9 changes: 9 additions & 0 deletions db/agents.lock.yml
Original file line number Diff line number Diff line change
@@ -636,6 +636,14 @@ agents:
name: '24'
type: '36'
os: '41'
- regex: ^MixerBox\/.*Android
name: '133'
type: '36'
os: '42'
- regex: ^MixerBox\/.*iOS
name: '133'
type: '36'
os: '43'
- regex: ^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\/.+(x86_64)
name: '25'
type: '35'
@@ -968,3 +976,4 @@ tags:
'130': Audible
'131': Airr
'132': Podhero
'133': MixerBox
12 changes: 12 additions & 0 deletions db/agents.yml
Original file line number Diff line number Diff line change
@@ -1122,6 +1122,18 @@ agents:
os: Windows
examples:
- Zune/4.8
- regex: '^MixerBox\/.*Android'
name: MixerBox
type: Mobile App
os: Android
examples:
- MixerBox/12.33 (Linux;Android 11) ExoPlayerLib/2.11.1
- regex: '^MixerBox\/.*iOS'
name: MixerBox
type: Mobile App
os: iOS
examples:
- MixerBox/807.iOS (iPhone; iOS 14.4; en_US)

# witness ye podcasts and despair
- regex: '^(Podcasts|Podcast’ler|Podcast|Podcaster|Podcasti|Podcastit|Podcastok|Podcasturi|Podcasty|Podkaster|Balados|Подкасти|Подкасты|פודקאסטים|البودكاست|पॉडकास्ट|พ็อดคาสท์|播客|팟캐스트)\/.+(x86_64)'
16 changes: 16 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1457,6 +1457,22 @@ <h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Xiaoy
<h5 class="card-title"><code>/^Zune/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Zune</span><span class="badge badge-pill badge-success">Mobile App</span><span class="badge badge-pill badge-info">Windows</span>
</h6><code class="examples">Zune/4.8
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^MixerBox\/.*Android/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">MixerBox</span><span class="badge badge-pill badge-success">Mobile App</span><span class="badge badge-pill badge-info">Android</span>
</h6><code class="examples">MixerBox/12.33 (Linux;Android 11) ExoPlayerLib/2.11.1
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^MixerBox\/.*iOS/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">MixerBox</span><span class="badge badge-pill badge-success">Mobile App</span><span class="badge badge-pill badge-info">iOS</span>
</h6><code class="examples">MixerBox/807.iOS (iPhone; iOS 14.4; en_US)
</code>
</div>
</div>
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prx-podagent",
"version": "0.1.10",
"version": "0.1.11",
"description": "User-agent parser for common podcast clients",
"main": "index.js",
"scripts": {
@@ -30,13 +30,12 @@
"chai": "^4.1.1",
"concurrently": "^4.1.1",
"csv": "^1.1.1",
"js-yaml": "^3.13.1",
"js-yaml": "^3.14.1",
"live-server": "^1.2.1",
"mocha": "^3.5.0",
"nodemon": "^1.19.1",
"pug": "^2.0.4"
},
"dependencies": {},
"resolutions": {
"diff": ">= 3.5.0",
"growl": ">= 1.10.0",
6,038 changes: 3,067 additions & 2,971 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 23a464d

Please sign in to comment.