{
    "version": "20260421",
    "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."
    ],
    "suggest": {
        "yt-dlp": "yt-dlp"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20260421/mpv-x86_64-20260421-git-5921fe5.7z",
            "hash": "8d700603c1c14356a7df35bb7f6099a39ba6def6ed939658f15ae337d5047dd6"
        },
        "32bit": {
            "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20260421/mpv-i686-20260421-git-5921fe5.7z",
            "hash": "ebe1c7285819ab771e06b9ebf08a06c18075cc9dee263289ff3d4c599639d694"
        },
        "arm64": {
            "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20260421/mpv-aarch64-20260421-git-5921fe5.7z",
            "hash": "68130737554379d1ef6fa593c1bb31c265a38594e5de319ffd86e6be2b154194"
        }
    },
    "pre_install": "Remove-Item \"$dir\\updater.bat\"",
    "env_add_path": ".",
    "shortcuts": [
        [
            "mpv.exe",
            "mpv"
        ]
    ],
    "persist": "portable_config",
    "checkver": {
        "github": "https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/releases/latest",
        "jsonpath": "$.assets..browser_download_url",
        "regex": "mpv-x86_64-(\\d+)-git-(?<commit>[\\da-f]+)\\.7z"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-x86_64-$version-git-$matchCommit.7z"
            },
            "32bit": {
                "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-i686-$version-git-$matchCommit.7z"
            },
            "arm64": {
                "url": "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/$version/mpv-aarch64-$version-git-$matchCommit.7z"
            }
        }
    }
}
