From 15c80d41ceb32a0efe78238ff3d377d38c244580 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 10 Nov 2021 20:20:55 +0100 Subject: [PATCH] Migrate JSON config to YAML --- spotify/build.json | 8 -------- spotify/build.yaml | 6 ++++++ spotify/config.json | 21 --------------------- spotify/config.yaml | 22 ++++++++++++++++++++++ 4 files changed, 28 insertions(+), 29 deletions(-) delete mode 100644 spotify/build.json create mode 100644 spotify/build.yaml delete mode 100755 spotify/config.json create mode 100644 spotify/config.yaml diff --git a/spotify/build.json b/spotify/build.json deleted file mode 100644 index fac2275..0000000 --- a/spotify/build.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "build_from": { - "aarch64": "ghcr.io/hassio-addons/base/aarch64:10.0.1", - "amd64": "ghcr.io/hassio-addons/base/amd64:10.0.1", - "armv7": "ghcr.io/hassio-addons/base/armv7:10.0.1", - "i386": "ghcr.io/hassio-addons/base/i386:10.0.1" - } -} diff --git a/spotify/build.yaml b/spotify/build.yaml new file mode 100644 index 0000000..e810215 --- /dev/null +++ b/spotify/build.yaml @@ -0,0 +1,6 @@ +--- +build_from: + aarch64: ghcr.io/hassio-addons/base/aarch64:10.0.1 + amd64: ghcr.io/hassio-addons/base/amd64:10.0.1 + armv7: ghcr.io/hassio-addons/base/armv7:10.0.1 + i386: ghcr.io/hassio-addons/base/i386:10.0.1 diff --git a/spotify/config.json b/spotify/config.json deleted file mode 100755 index 0e93cf2..0000000 --- a/spotify/config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "Spotify Connect", - "version": "dev", - "slug": "spotify", - "description": "Play Spotify music on your Home Assistant device", - "url": "https://github.com/hassio-addons/addon-spotify-connect", - "arch": ["aarch64", "amd64", "armv7", "i386"], - "host_network": true, - "audio": true, - "options": { - "name": "Home Assistant", - "bitrate": 160 - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", - "name": "str", - "bitrate": "list(96|160|320)", - "username": "str?", - "password": "password?" - } -} diff --git a/spotify/config.yaml b/spotify/config.yaml new file mode 100644 index 0000000..3f01f40 --- /dev/null +++ b/spotify/config.yaml @@ -0,0 +1,22 @@ +--- +name: Spotify Connect +version: dev +slug: spotify +description: Play Spotify music on your Home Assistant device +url: https://github.com/hassio-addons/addon-spotify-connect +arch: + - aarch64 + - amd64 + - armv7 + - i386 +host_network: true +audio: true +options: + name: Home Assistant + bitrate: 160 +schema: + log_level: list(trace|debug|info|notice|warning|error|fatal)? + name: str + bitrate: list(96|160|320) + username: str? + password: password?