{
    "name": "Kodi",
    "id": "kodi",
    "packaging_format": 1,
    "description": {
        "en": "Media center that brings all your digital media together",
        "fr": "Centre multimédia qui rassemble tous vos médias numériques"
    },
    "version": "19.1~ynh1",
    "url": "https://kodi.tv",
    "upstream": {
        "license": "GPL-2.0",
        "website": "https://kodi.tv",
        "admindoc": "https://kodi.wiki/view/Main_Page",
        "code": "https://github.com/xbmc",
        "cpe": "cpe:2.3:a:kodi:kodi"
    },
    "license": "GPL-2.0",
    "maintainer": {
        "name": "Sylvain Cecchetto",
        "email": "cecchetto.sylvain@me.com",
        "url": "blog.cecchettosylvain.fr"
    },
    "requirements": {
        "yunohost": ">= 4.3.0"
    },
    "multi_instance": false,
    "services": [
        "nginx"
    ],
    "arguments": {
        "install": [
            {
                "name": "domain",
                "type": "domain"
            },
            {
                "name": "path",
                "type": "path",
                "example": "/kodi",
                "default": "/kodi"
            },
            {
                "name": "launch_on_boot",
                "type": "boolean",
                "ask": {
                    "en": "Launch Kodi at YunoHost server startup",
                    "fr": "Démarrer Kodi au démarrage du serveur YunoHost"
                },
                "default": true
            },
            {
                "name": "open_webserver_port",
                "type": "boolean",
                "ask": {
                    "en": "Open port 8080 in order to use a smartphone Kodi remote app on your local network",
                    "fr": "Ouvrir le port 8080 afin de pouvoir utiliser une application smartphone de télécommande Kodi sur le réseau local"
                },
                "default": false
            }
        ]
    }
}