From 28fce7e021017e6ef6b78a91f0f6249ad910f624 Mon Sep 17 00:00:00 2001 From: Gautham Varma K <43441192+GauthamVarmaK@users.noreply.github.com> Date: Tue, 2 Nov 2021 19:24:13 +0530 Subject: [PATCH] :art: Migrate JSON add-on config to YAML --- tvheadend/build.json | 9 --------- tvheadend/build.yaml | 7 +++++++ tvheadend/config.json | 28 ---------------------------- tvheadend/config.yaml | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 37 deletions(-) delete mode 100644 tvheadend/build.json create mode 100644 tvheadend/build.yaml delete mode 100644 tvheadend/config.json create mode 100644 tvheadend/config.yaml diff --git a/tvheadend/build.json b/tvheadend/build.json deleted file mode 100644 index a95c1a6e..00000000 --- a/tvheadend/build.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "build_from": { - "aarch64": "ghcr.io/hassio-addons/base/aarch64:10.1.1", - "amd64": "ghcr.io/hassio-addons/base/amd64:10.1.1", - "armhf": "ghcr.io/hassio-addons/base/armhf:10.1.1", - "armv7": "ghcr.io/hassio-addons/base/armv7:10.1.1", - "i386": "ghcr.io/hassio-addons/base/i386:10.1.1" - } -} diff --git a/tvheadend/build.yaml b/tvheadend/build.yaml new file mode 100644 index 00000000..260f6768 --- /dev/null +++ b/tvheadend/build.yaml @@ -0,0 +1,7 @@ +--- +build_from: + aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.1 + amd64: ghcr.io/hassio-addons/base/amd64:10.1.1 + armhf: ghcr.io/hassio-addons/base/armhf:10.1.1 + armv7: ghcr.io/hassio-addons/base/armv7:10.1.1 + i386: ghcr.io/hassio-addons/base/i386:10.1.1 diff --git a/tvheadend/config.json b/tvheadend/config.json deleted file mode 100644 index cdba8e81..00000000 --- a/tvheadend/config.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "TVHeadend", - "version": "dev", - "stage": "experimental", - "slug": "tvheadend", - "description": "TV streaming server and recorder.", - "url": "https://github.com/GauthamVarmaK/addon-tvheadend", - "arch": ["aarch64", "amd64", "armhf", "armv7", "i386"], - "webui": "http://[HOST]:[PORT:9981]/", - "devices": ["/dev/dvb/", "/dev/dri/"], - "ports": { - "9981/tcp": 9981, - "9982/tcp": 9982 - }, - "ports_description": { - "9981/tcp": "TVH Web Interface", - "9982/tcp": "TVH HTSP" - }, - "map": ["config:rw"], - "options": { - "system_packages": [], - "init_commands": [] - }, - "schema": { - "system_packages": ["str"], - "init_commands": ["str"] - } -} diff --git a/tvheadend/config.yaml b/tvheadend/config.yaml new file mode 100644 index 00000000..543808f0 --- /dev/null +++ b/tvheadend/config.yaml @@ -0,0 +1,32 @@ +name: TVHeadend +version: dev +stage: experimental +slug: tvheadend +description: TV streaming server and recorder. +url: 'https://github.com/GauthamVarmaK/addon-tvheadend' +arch: + - aarch64 + - amd64 + - armhf + - armv7 + - i386 +webui: 'http://[HOST]:[PORT:9981]/' +devices: + - /dev/dvb/ + - /dev/dri/ +ports: + 9981/tcp: 9981 + 9982/tcp: 9982 +ports_description: + 9981/tcp: TVH Web Interface + 9982/tcp: TVH HTSP +map: + - 'config:rw' +options: + system_packages: [] + init_commands: [] +schema: + system_packages: + - str + init_commands: + - str