mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-08 14:12:30 +02:00
Merge pull request #2725 from petruknw/master
aurral: v1.76.17-1 - fix config schema, add weekly_flow_folder option, clean up build.json
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.76.17-1
|
||||||
|
|
||||||
|
- Add `weekly_flow_folder` option (configurable subfolder for weekly flow files)
|
||||||
|
- Fix addon config schema (`env_vars` -> `environment`)
|
||||||
|
- Add image tag for alexbelgium build pipeline
|
||||||
|
|
||||||
## 1.76.17
|
## 1.76.17
|
||||||
|
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ This addon is based on the docker image <https://github.com/lklynet/aurral>
|
|||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `download_folder` | `/share/aurral/downloads` | Path where Aurral writes flow downloads. Must be under `/share`. |
|
| `download_folder` | `/share/aurral/downloads` | Path where Aurral writes flow downloads. Must be under `/share`. |
|
||||||
|
| `weekly_flow_folder` | `weekly-flow` | Subfolder name appended to `download_folder` for weekly flow files. The full path will be `download_folder/weekly_flow_folder`. |
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -18,6 +19,7 @@ This addon is based on the docker image <https://github.com/lklynet/aurral>
|
|||||||
2. Install this add-on.
|
2. Install this add-on.
|
||||||
3. Click the `Save` button to store your configuration.
|
3. Click the `Save` button to store your configuration.
|
||||||
4. Set the `download_folder` option to your preferred path.
|
4. Set the `download_folder` option to your preferred path.
|
||||||
5. Start the add-on.
|
5. Optionally set `weekly_flow_folder` to customise the weekly flow subfolder name.
|
||||||
6. Check the logs of the add-on to see if everything went well.
|
6. Start the add-on.
|
||||||
7. Open the webUI and complete onboarding.
|
7. Check the logs of the add-on to see if everything went well.
|
||||||
|
8. Open the webUI and complete onboarding.
|
||||||
|
|||||||
@@ -2,14 +2,5 @@
|
|||||||
"build_from": {
|
"build_from": {
|
||||||
"aarch64": "ghcr.io/lklynet/aurral:1.76.17",
|
"aarch64": "ghcr.io/lklynet/aurral:1.76.17",
|
||||||
"amd64": "ghcr.io/lklynet/aurral:1.76.17"
|
"amd64": "ghcr.io/lklynet/aurral:1.76.17"
|
||||||
},
|
|
||||||
"squash": false,
|
|
||||||
"labels": {
|
|
||||||
"io.hass.name": "Aurral",
|
|
||||||
"io.hass.description": "Self-hosted music discovery and request management for Lidarr",
|
|
||||||
"io.hass.arch": "{arch}",
|
|
||||||
"io.hass.type": "addon",
|
|
||||||
"io.hass.version": "dev",
|
|
||||||
"maintainer": "petruknw"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: Aurral
|
name: Aurral
|
||||||
version: "1.76.17"
|
version: "1.76.17-1"
|
||||||
slug: aurral
|
slug: aurral
|
||||||
description: >-
|
description: >-
|
||||||
Self-hosted music discovery, request management, flows, and playlist
|
Self-hosted music discovery, request management, flows, and playlist
|
||||||
@@ -9,6 +9,8 @@ arch:
|
|||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
|
|
||||||
|
image: ghcr.io/alexbelgium/aurral-{arch}
|
||||||
|
|
||||||
init: false
|
init: false
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
@@ -23,13 +25,10 @@ map:
|
|||||||
- share:rw
|
- share:rw
|
||||||
- media:rw
|
- media:rw
|
||||||
|
|
||||||
env_vars:
|
|
||||||
- name: WEEKLY_FLOW_FOLDER
|
|
||||||
description: "Path for Navidrome smart playlist files (weekly flow)"
|
|
||||||
required: false
|
|
||||||
|
|
||||||
options:
|
options:
|
||||||
download_folder: /share/aurral/downloads
|
download_folder: /share/aurral/downloads
|
||||||
|
weekly_flow_folder: weekly-flow
|
||||||
|
|
||||||
schema:
|
schema:
|
||||||
download_folder: str
|
download_folder: str
|
||||||
|
weekly_flow_folder: str
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Create the real directories in HA persistent storage that the symlinks point to
|
DOWNLOAD_FOLDER=$(bashio::config 'download_folder')
|
||||||
|
WEEKLY_FLOW_SUFFIX=$(bashio::config 'weekly_flow_folder')
|
||||||
|
|
||||||
|
export DOWNLOAD_FOLDER
|
||||||
|
export WEEKLY_FLOW_FOLDER="${DOWNLOAD_FOLDER}/${WEEKLY_FLOW_SUFFIX}"
|
||||||
|
|
||||||
|
# Create persistent directories in HA volumes
|
||||||
mkdir -p /config/data
|
mkdir -p /config/data
|
||||||
mkdir -p "${DOWNLOAD_FOLDER:-/share/aurral/downloads}"
|
mkdir -p "${DOWNLOAD_FOLDER}"
|
||||||
mkdir -p "${WEEKLY_FLOW_FOLDER:-/share/aurral/downloads/weekly-flow}"
|
mkdir -p "${WEEKLY_FLOW_FOLDER}"
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user