{
    "name": "Universal Media Server",
    "id": "ums",
    "packaging_format": 1,
    "description": {
        "en": "A DLNA, UPnP and HTTP(S) Media Server",
        "fr": "Un Serveur Multimedia DLNA, UPnP et HTTP(S)"
    },
    "version": "10.19.0~ynh1",
    "url": "www.universalmediaserver.com",
    "upstream": {
        "version": "10.19.0",
        "license": "GPL-2.0-or-later",
        "website": "www.universalmediaserver.com",
        "admindoc": "https://github.com/UniversalMediaServer/UniversalMediaServer/wiki",
        "code": "https://github.com/UniversalMediaServer"
    },
    "license": "GPL-3.0-or-later",
    "maintainer": {
        "name": "Krakinou",
        "email": "misterl56@hotmail.com"
    },
    "requirements": {
        "yunohost": ">= 4.2.0"
    },
    "multi_instance": false,
    "services": [
        "nginx"
    ],
    "arguments": {
        "install" : [
            {
                "name": "domain",
                "type": "domain",
                "help": {
                    "en": "UMS require its own subdomain",
                    "fr": "UMS a besoin de son propre sous-domaine"
                    }
            },
            {
                "name": "is_public",
                "type": "boolean",
                "default": true,
                "help": {
                  "en" : "Everybody will be able to access your media on the internet without connecting to Yunohost",
                  "fr" : "Tout le monde pourra voir vos media sans se connecter à Yunohost"
                }
            },
            {
                "name":"server_name",
                "type":"string",
                "example":"MyUMS",
                "default": "UniversalMediaServer",
                "ask": {
                    "en": "By which name should UMS be identified by your renderer",
                    "fr": "Par quel nom UMS doit-il être identifié par vos appareils"
                },
                "help": {
                    "en": "This has no impact on the way the server will work and is only use to identify it on the network",
                    "fr": "Ceci n a aucun impact sur le fonctionnement du serveur et sert uniquement à l identifier sur le réseau"
                }
            },
            {
                "name":"interface",
                "type": "string",
                "default": "eth0",
               "ask": {
                   "en" : "Which network interface do you want to use?",
                   "fr" : "Quel réseau souhaitez vous utiliser?"
               },
               "help": {
                 "en": "On lan, the interface is usually eth0, on wifi it s usually wlan0",
                 "fr": "En filaire, l interface est souvent eth0, en wifi wlan0"
               }
            }
        ]
    }
}
