⬆️ Updating add-on Spotify Connect to 199c7e0

This commit is contained in:
Community Hass.io Add-ons Bot 2025-02-12 11:44:50 +00:00
parent 821797bdb8
commit 4f3f1b4da4
8 changed files with 60 additions and 6 deletions

View file

@ -1050,10 +1050,10 @@ SOFTWARE.
[sonarr-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [sonarr-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[sonarr-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [sonarr-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg
[sonarr-i386-shield]: https://img.shields.io/badge/i386-no-red.svg [sonarr-i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/6417abb [addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/199c7e0
[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/6417abb/README.md [addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/199c7e0/README.md
[spotify-issue]: https://github.com/hassio-addons/addon-spotify-connect/issues [spotify-issue]: https://github.com/hassio-addons/addon-spotify-connect/issues
[spotify-version-shield]: https://img.shields.io/badge/version-6417abb-blue.svg [spotify-version-shield]: https://img.shields.io/badge/version-199c7e0-blue.svg
[spotify-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [spotify-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[spotify-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [spotify-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[spotify-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [spotify-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg

View file

@ -1,4 +1,36 @@
# Changelog since v0.13.0 # Changelog since v0.13.0
- Add librespot initial-volume option (#276)
* Adds initial-volume option.
* Adds initial-volume option.
* add constraints to ensure values stay within the valid range of 0-100
* Fixed translation issues.
* validate that the initial-volume value is within the valid range (0-100) before passing it to librespot.
* Improved documentation.
* Prettified Code!
* Update DOCS.md
Removed irrelevant description about behavior with different backends
* Update DOCS.md
* Update en.yaml
* Update hu.yaml
* Update it.yaml
---------
Co-authored-by: spoetnik <spoetnik@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.1.3 (#284) - ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.1.3 (#284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

View file

@ -35,6 +35,7 @@ Example add-on configuration:
log_level: info log_level: info
name: HomeAssistant name: HomeAssistant
bitrate: 320 bitrate: 320
initial-volume: 50
username: frenck@example.com username: frenck@example.com
password: MySpotifyPassword password: MySpotifyPassword
autoplay: true autoplay: true
@ -75,6 +76,13 @@ however, the add-on consumes more data.
Valid values: `96`, `160` (default) or `320`. Valid values: `96`, `160` (default) or `320`.
### Option: `initial-volume`
Initial volume in % from 0-100. This setting takes effect when the addon starts or
recovers from a crash.
initial-volume: 50 # Optional
### Option: `username` ### Option: `username`
**IMPORTANT**: _This requires a Spotify Premium account!_ **IMPORTANT**: _This requires a Spotify Premium account!_

View file

@ -52,6 +52,6 @@ If you are more interested in stable releases of our add-ons:
[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png
[patreon]: https://www.patreon.com/frenck [patreon]: https://www.patreon.com/frenck
[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg
[release-shield]: https://img.shields.io/badge/version-6417abb-blue.svg [release-shield]: https://img.shields.io/badge/version-199c7e0-blue.svg
[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/6417abb [release]: https://github.com/hassio-addons/addon-spotify-connect/tree/199c7e0
[screenshot]: https://github.com/hassio-addons/addon-spotify-connect/raw/main/images/screenshot.png [screenshot]: https://github.com/hassio-addons/addon-spotify-connect/raw/main/images/screenshot.png

View file

@ -1,5 +1,5 @@
name: Spotify Connect name: Spotify Connect
version: 6417abb version: 199c7e0
slug: spotify slug: spotify
description: Play Spotify music on your Home Assistant device description: Play Spotify music on your Home Assistant device
url: https://github.com/hassio-addons/addon-spotify-connect url: https://github.com/hassio-addons/addon-spotify-connect
@ -14,6 +14,7 @@ init: false
options: options:
name: Home Assistant name: Home Assistant
bitrate: 160 bitrate: 160
initial-volume: 50
schema: schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)? log_level: list(trace|debug|info|notice|warning|error|fatal)?
name: str name: str
@ -21,4 +22,5 @@ schema:
username: str? username: str?
password: password? password: password?
autoplay: bool autoplay: bool
initial-volume: match(^([0-9]|[1-9][0-9]|100)$)?
image: ghcr.io/hassio-addons/spotify/{arch} image: ghcr.io/hassio-addons/spotify/{arch}

View file

@ -14,6 +14,10 @@ configuration:
description: >- description: >-
The bitrate Spotify should use. The higher, the better the sound quality, The bitrate Spotify should use. The higher, the better the sound quality,
however, the add-on consumes more data. however, the add-on consumes more data.
initial-volume:
name: Initial Volume
description: >-
Initial volume in % from 0-100.
username: username:
name: Spotify username name: Spotify username
description: >- description: >-

View file

@ -14,6 +14,10 @@ configuration:
description: >- description: >-
A Spotify által használt bitráta beállítása. Minél magasabb, annál jobb A Spotify által használt bitráta beállítása. Minél magasabb, annál jobb
minőségű, viszont ez nagyobb adatforgalommal jár. minőségű, viszont ez nagyobb adatforgalommal jár.
initial-volume:
name: Kezdeti térfogat
description: >-
Kezdeti térfogat %-ban 0-100 között.
username: username:
name: Spotify felhasználónév name: Spotify felhasználónév
description: >- description: >-

View file

@ -14,6 +14,10 @@ configuration:
description: >- description: >-
Il bitrate che Spotify dovrebbe usare. Piú é alto, migliore é la qualitá sonora, Il bitrate che Spotify dovrebbe usare. Piú é alto, migliore é la qualitá sonora,
tuttavia, l'add-on consumerá piú banda. tuttavia, l'add-on consumerá piú banda.
initial-volume:
name: Volume Iniziale
description: >-
Volume iniziale in % da 0 a 100.
username: username:
name: Spotify username name: Spotify username
description: >- description: >-