From 8afda7ef9532ff6b6d8533659ba2cbefcf0922f0 Mon Sep 17 00:00:00 2001 From: Xyqu Croes <115725034+cabritoGang@users.noreply.github.com> Date: Thu, 22 Jun 2023 23:33:12 +0200 Subject: [PATCH 1/3] MPC-HC@2.0.0: change download location The old JSON downloads MPC-HC from the original project website, which has been out of development since 2017. This new JSON downloads from the GitHub page of the developer who took over maintenance and development for this project. --- bucket/mpc-hc.json | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/bucket/mpc-hc.json b/bucket/mpc-hc.json index 44a4d607cc2cbd..e69adf7a8a9842 100644 --- a/bucket/mpc-hc.json +++ b/bucket/mpc-hc.json @@ -1,13 +1,12 @@ { - "version": "1.7.13", + "version": "2.0.0", "description": "An extremely light-weight, open source media player for Windows.", - "homepage": "https://mpc-hc.org", + "homepage": "https://github.com/clsid2/mpc-hc", "license": "GPL-3.0-only", "architecture": { "64bit": { - "url": "https://binaries.mpc-hc.org/MPC%20HomeCinema%20-%20x64/MPC-HC_v1.7.13_x64/MPC-HC.1.7.13.x64.7z", - "hash": "1ce281b255ba4cd0762aed63c59e0cfa5be471422bd89676af07f2e3bfc6a5c4", - "extract_dir": "MPC-HC.1.7.13.x64", + "url": "https://github.com/clsid2/mpc-hc/releases/download/2.0.0/MPC-HC.2.0.0.x64.zip", + "hash": "2e24c05a4cf10ef37a589c02aea4d4f08daca6191fdf9da35b840ff9a4558809", "bin": [ "mpc-hc64.exe", [ @@ -23,9 +22,8 @@ ] }, "32bit": { - "url": "https://binaries.mpc-hc.org/MPC%20HomeCinema%20-%20Win32/MPC-HC_v1.7.13_x86/MPC-HC.1.7.13.x86.7z", - "hash": "ae5f25f92f0586ce305fa909da98419e3ee3e0d55b08a7b7f246dec7b6a7d2f4", - "extract_dir": "MPC-HC.1.7.13.x86", + "url": "https://github.com/clsid2/mpc-hc/releases/download/2.0.0/MPC-HC.2.0.0.x86.zip", + "hash": "9e77432ad119098216dddda8aa615ba94247ebe9c666c69171c53369cd9e3a0f", "bin": "mpc-hc.exe", "shortcuts": [ [ @@ -36,13 +34,23 @@ } }, "pre_install": [ - "@('mpc-hc64.ini', 'mpc-hc.ini', 'default.mpcpl') | ForEach-Object {", + "@('mpc-hc64.ini', 'mpc-hc.ini') | ForEach-Object {", " if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType File | Out-Null }", "}" ], "persist": [ "mpc-hc64.ini", - "mpc-hc.ini", - "default.mpcpl" - ] + "mpc-hc.ini" + ], + "checkver": "github", + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/clsid2/mpc-hc/releases/download/$version/MPC-HC.$version.x64.zip" + }, + "32bit": { + "url": "https://github.com/clsid2/mpc-hc/releases/download/$version/MPC-HC.$version.x86.zip" + } + } + } } From 8eae4446f778f4323a54e24ad7e84eaa3ba9bb8f Mon Sep 17 00:00:00 2001 From: Xyqu Croes <115725034+cabritoGang@users.noreply.github.com> Date: Thu, 22 Jun 2023 23:51:02 +0200 Subject: [PATCH 2/3] Update mpc-hc.json Add auto-update Github link --- bucket/mpc-hc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/mpc-hc.json b/bucket/mpc-hc.json index e69adf7a8a9842..f6e6a7d5687db7 100644 --- a/bucket/mpc-hc.json +++ b/bucket/mpc-hc.json @@ -42,7 +42,7 @@ "mpc-hc64.ini", "mpc-hc.ini" ], - "checkver": "github", + "checkver": "https://github.com/clsid2/mpc-hc/releases/", "autoupdate": { "architecture": { "64bit": { From 30523d0eed877f0c8e876286b84d9b6417eea93e Mon Sep 17 00:00:00 2001 From: Xyqu Croes <115725034+cabritoGang@users.noreply.github.com> Date: Fri, 23 Jun 2023 00:10:38 +0200 Subject: [PATCH 3/3] Update mpc-hc.json revert last commit --- bucket/mpc-hc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/mpc-hc.json b/bucket/mpc-hc.json index f6e6a7d5687db7..e69adf7a8a9842 100644 --- a/bucket/mpc-hc.json +++ b/bucket/mpc-hc.json @@ -42,7 +42,7 @@ "mpc-hc64.ini", "mpc-hc.ini" ], - "checkver": "https://github.com/clsid2/mpc-hc/releases/", + "checkver": "github", "autoupdate": { "architecture": { "64bit": {