Skip to content

Commit

Permalink
mpv-git: Update to 20241229 using Github Releases
Browse files Browse the repository at this point in the history
The previous Sourceforge mirror has not been receiving recent builds by
shinchiro. This commit update the checkver source to use the Github
releases API source. All the MPV build are built through Github Actions
and automatically released nightly. This is a more direct source than
downloading from Sourceforge.
  • Loading branch information
jack-mil committed Dec 29, 2024
1 parent 91b5df1 commit 7b43daf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions bucket/mpv-git.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/64bit/mpv-x86_64-20241229-git-83bb498.7z",
"hash": "sha1:2c538e4c04a9653b1b3d6316c5416bd396c3531b"
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20241229/mpv-x86_64-20241229-git-83bb498.7z",
"hash": "173dc8d5f2127571fbb7463f316548c4cf9878025ddaf35e1e467c77f037654b"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/32bit/mpv-i686-20241229-git-83bb498.7z",
"hash": "sha1:662c7b7d070ac5d7d66e60e8b5d73cd9a0f1c9a9"
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20241229/mpv-i686-20241229-git-83bb498.7z",
"hash": "881b5cbfc971a3ceba0a0ed70b8719f39c675757f5553c830e377e07e436dfc1"
}
},
"pre_install": "Remove-Item \"$dir\\updater.bat\"",
Expand All @@ -30,16 +30,17 @@
],
"persist": "portable_config",
"checkver": {
"sourceforge": "mpv-player-windows/64bit",
"url": "https://api.github.com/repositories/141023757/releases/latest",
"jsonpath": "$.assets..browser_download_url",
"regex": "mpv-x86_64-(\\d+)-git-(?<commit>[\\da-f]+)\\.7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/64bit/mpv-x86_64-$version-git-$matchCommit.7z"
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-x86_64-$version-git-$matchCommit.7z"
},
"32bit": {
"url": "https://downloads.sourceforge.net/project/mpv-player-windows/32bit/mpv-i686-$version-git-$matchCommit.7z"
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-i686-$version-git-$matchCommit.7z"
}
}
}
Expand Down

0 comments on commit 7b43daf

Please sign in to comment.