Skip to content

Commit

Permalink
mpv: Change source
Browse files Browse the repository at this point in the history
  • Loading branch information
Youxikong committed May 30, 2024
1 parent 3aa4ec7 commit 0a4b095
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 23 deletions.
32 changes: 9 additions & 23 deletions bucket/mpv/mpv.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "20240529",
"version": "20240530",
"description": "Video player based on MPlayer/mplayer2 (builds by shinchiro)",
"homepage": "https://mpv.io",
"license": "LGPL-2.1-or-later,GPL-2.0-or-later",
Expand All @@ -16,27 +16,13 @@
"architecture": {
"64bit": {
"url": [
"https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240529/mpv-x86_64-v3-20240529-git-7ff6cf8.7z",
"https://github.com/mitzsch/mpv-winbuild/releases/download/2024-05-30-c296824/mpv-x86_64-v3-20240530-git-3334a3b.7z",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/mpv.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/profiles.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/script-opts.conf"
],
"hash": [
"3265fae7c86513c68ea8a563cfc662d23af337a76dbefb92974bcd061c62d6c8",
"b722865bd7f1358ef27255466aa4fcc1f19d26e9858cd526b274b5bb2e6a208a",
"B1E5B0CBC9FF91C39C8404F9CE7C0055B6826EF48C9E82285047028E6BA032CC",
"7A7FFDE284446354009DD043D58C61BB9E413BF8E07347D8BF28F48E722271EF"
]
},
"32bit": {
"url": [
"https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240529/mpv-i686-20240529-git-7ff6cf8.7z",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/mpv.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/profiles.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/script-opts.conf"
],
"hash": [
"59ac20e3c4364ab417c167d30899a17e869d0d8488c603a34ec42bbef4dc10fa",
"1f22b6c07d8b06b1c1e3f4a66332852e9142cffa21b12be2f197fbcb63c7aeb0",
"b722865bd7f1358ef27255466aa4fcc1f19d26e9858cd526b274b5bb2e6a208a",
"B1E5B0CBC9FF91C39C8404F9CE7C0055B6826EF48C9E82285047028E6BA032CC",
"7A7FFDE284446354009DD043D58C61BB9E413BF8E07347D8BF28F48E722271EF"
Expand All @@ -56,18 +42,18 @@
],
"persist": "portable_config",
"checkver": {
"url": "https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/releases/latest",
"url": "https://api.github.com/repos/mitzsch/mpv-winbuild/releases/latest",
"jsonpath": "$.assets[*].browser_download_url",
"regex": "mpv-x86_64-v3-(\\d+)-git-(?<commit>[\\da-f]+)\\.7z"
"regex": "download/(?<tag>\\d+-\\d+-\\d+-[\\da-f]+)/mpv-x86_64-v3-(\\d+)-git-(?<commit>[\\da-f]+)\\.7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-x86_64-v3-$version-git-$matchCommit.7z"
},
"32bit": {
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-i686-$version-git-$matchCommit.7z"
"url": "https://github.com/mitzsch/mpv-winbuild/releases/download/$matchTag/mpv-x86_64-v3-$version-git-$matchCommit.7z"
}
},
"hash": {
"url": "https://github.com/mitzsch/mpv-winbuild/releases/download/$matchTag/sha256.txt"
}
}
}
73 changes: 73 additions & 0 deletions deprecated/mpv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"version": "20240529",
"description": "Video player based on MPlayer/mplayer2 (builds by shinchiro)",
"homepage": "https://mpv.io",
"license": "LGPL-2.1-or-later,GPL-2.0-or-later",
"notes": [
"To set and unset file type associations and AutoPlay handlers, run '$dir\\installer\\mpv-install.bat' and '$dir\\installer\\mpv-uninstall.bat' as administrator, respectively.",
"You can use Icaros ('nonportable/icaros-np') to enable thumbnails for all media types.",
"Modify '$dir\\portable_config\\settings.conf' to configure"
],
"suggest": {
"yt-dlp": "yt-dlp",
"ffmpeg": "ffmpeg",
"uosc": "self/uosc"
},
"architecture": {
"64bit": {
"url": [
"https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240529/mpv-x86_64-v3-20240529-git-7ff6cf8.7z",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/mpv.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/profiles.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/script-opts.conf"
],
"hash": [
"3265fae7c86513c68ea8a563cfc662d23af337a76dbefb92974bcd061c62d6c8",
"b722865bd7f1358ef27255466aa4fcc1f19d26e9858cd526b274b5bb2e6a208a",
"B1E5B0CBC9FF91C39C8404F9CE7C0055B6826EF48C9E82285047028E6BA032CC",
"7A7FFDE284446354009DD043D58C61BB9E413BF8E07347D8BF28F48E722271EF"
]
},
"32bit": {
"url": [
"https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240529/mpv-i686-20240529-git-7ff6cf8.7z",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/mpv.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/profiles.conf",
"https://raw.githubusercontent.com/Youxikong/selfscoop/master/scripts/script-opts.conf"
],
"hash": [
"59ac20e3c4364ab417c167d30899a17e869d0d8488c603a34ec42bbef4dc10fa",
"b722865bd7f1358ef27255466aa4fcc1f19d26e9858cd526b274b5bb2e6a208a",
"B1E5B0CBC9FF91C39C8404F9CE7C0055B6826EF48C9E82285047028E6BA032CC",
"7A7FFDE284446354009DD043D58C61BB9E413BF8E07347D8BF28F48E722271EF"
]
}
},
"post_install": [
"'mpv.conf','profiles.conf','script-opts.conf' | foreach { Move-Item $dir\\$_ -Destination $dir\\portable_config -Force }",
"if ( !( Test-Path $dir\\portable_config\\settings.conf ) ) { New-Item -Path $dir\\portable_config\\settings.conf | Out-Null }"
],
"env_add_path": ".",
"shortcuts": [
[
"mpv.exe",
"mpv"
]
],
"persist": "portable_config",
"checkver": {
"url": "https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/releases/latest",
"jsonpath": "$.assets[*].browser_download_url",
"regex": "mpv-x86_64-v3-(\\d+)-git-(?<commit>[\\da-f]+)\\.7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-x86_64-v3-$version-git-$matchCommit.7z"
},
"32bit": {
"url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-i686-$version-git-$matchCommit.7z"
}
}
}
}

0 comments on commit 0a4b095

Please sign in to comment.