generated from ScoopInstaller/BucketTemplate
/
jellyfin-ffmpeg.json
35 lines (35 loc) · 1.58 KB
/
jellyfin-ffmpeg.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"version": "6.0.1-6",
"description": "A complete, cross-platform solution to record, convert and stream audio and video. (Jellyfin build)",
"homepage": "https://github.com/jellyfin/jellyfin-ffmpeg/",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v6.0.1-6/jellyfin-ffmpeg_6.0.1-6-portable_win64.zip",
"hash": "0947acf5945456adae2a09539421e5862045c97d322af50343acc46894c6ed6d"
}
},
"checkver": {
"script": [
"$cont = (Invoke-RestMethod -UseBasicParsing -Method Get -Headers @{'Accept'='application/vnd.github+json';'Accept-Encoding'='gzip'} -MaximumRedirection 0 -Uri 'https://api.github.com/repos/jellyfin/jellyfin-ffmpeg/releases?per_page=3')",
":OuterLoop foreach ($release in $cont) {",
" $basever = $release.tag_name.TrimStart('v')",
" if ([int]($basever -split '\\.', 2)[0] -lt 6) { continue }",
" foreach ($asset in $release.assets) {",
" if ($asset.name -eq \"jellyfin-ffmpeg_$basever-portable_win64.zip\") {",
" Write-Output $basever",
" break OuterLoop",
" }",
" }",
"}"
],
"regex": "([\\d\\.-]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v$version/jellyfin-ffmpeg_$version-portable_win64.zip"
}
}
}
}