mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-04 19:11:22 +00:00
Migrate JSON add-on config to YAML (#99)
This commit is contained in:
parent
2743a55eef
commit
72204b77ce
4 changed files with 35 additions and 35 deletions
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"build_from": {
|
||||
"aarch64": "ghcr.io/hassio-addons/debian-base/aarch64:5.1.1",
|
||||
"amd64": "ghcr.io/hassio-addons/debian-base/amd64:5.1.1",
|
||||
"armv7": "ghcr.io/hassio-addons/debian-base/armv7:5.1.1",
|
||||
"i386": "ghcr.io/hassio-addons/debian-base/i386:5.1.1"
|
||||
}
|
||||
}
|
6
airsonos/build.yaml
Normal file
6
airsonos/build.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:5.1.1
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:5.1.1
|
||||
armv7: ghcr.io/hassio-addons/debian-base/armv7:5.1.1
|
||||
i386: ghcr.io/hassio-addons/debian-base/i386:5.1.1
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"name": "AirSonos",
|
||||
"version": "dev",
|
||||
"slug": "airsonos",
|
||||
"description": "AirPlay capabilities for your Sonos (and UPnP) devices.",
|
||||
"url": "https://github.com/hassio-addons/addon-airsonos",
|
||||
"startup": "services",
|
||||
"init": false,
|
||||
"arch": ["aarch64", "amd64", "armv7", "i386"],
|
||||
"hassio_api": true,
|
||||
"host_network": true,
|
||||
"map": ["config:rw"],
|
||||
"options": {
|
||||
"port": 49152,
|
||||
"latency_rtp": 1000,
|
||||
"latency_http": 2000,
|
||||
"drift": false
|
||||
},
|
||||
"schema": {
|
||||
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
|
||||
"address": "str?",
|
||||
"port": "port",
|
||||
"latency_rtp": "int",
|
||||
"latency_http": "int",
|
||||
"drift": "bool"
|
||||
}
|
||||
}
|
29
airsonos/config.yaml
Normal file
29
airsonos/config.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
name: AirSonos
|
||||
version: dev
|
||||
slug: airsonos
|
||||
description: AirPlay capabilities for your Sonos (and UPnP) devices.
|
||||
url: https://github.com/hassio-addons/addon-airsonos
|
||||
startup: services
|
||||
init: false
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
- armv7
|
||||
- i386
|
||||
hassio_api: true
|
||||
host_network: true
|
||||
map:
|
||||
- config:rw
|
||||
options:
|
||||
port: 49152
|
||||
latency_rtp: 1000
|
||||
latency_http: 2000
|
||||
drift: false
|
||||
schema:
|
||||
log_level: list(trace|debug|info|notice|warning|error|fatal)?
|
||||
address: str?
|
||||
port: port
|
||||
latency_rtp: int
|
||||
latency_http: int
|
||||
drift: bool
|
Loading…
Add table
Add a link
Reference in a new issue