From 13bce4d60fbbc16e179aa3b800753849f6cfd58f Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Sun, 16 Feb 2025 19:05:52 +0000 Subject: [PATCH] :tada: Release of add-on Spotify Connect 0.14.0 --- README.md | 6 +++--- spotify/CHANGELOG.md | 29 ++++++++++++++++++++++------- spotify/DOCS.md | 15 ++++++++++++++- spotify/README.md | 6 +++--- spotify/config.yaml | 6 +++++- spotify/translations/en.yaml | 8 ++++++++ spotify/translations/hu.yaml | 4 ++++ spotify/translations/it.yaml | 4 ++++ 8 files changed, 63 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f8cc4289..d1090a55 100644 --- a/README.md +++ b/README.md @@ -1055,10 +1055,10 @@ SOFTWARE. [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-i386-shield]: https://img.shields.io/badge/i386-no-red.svg -[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.13.0 -[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/v0.13.0/README.md +[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.14.0 +[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/v0.14.0/README.md [spotify-issue]: https://github.com/hassio-addons/addon-spotify-connect/issues -[spotify-version-shield]: https://img.shields.io/badge/version-v0.13.0-blue.svg +[spotify-version-shield]: https://img.shields.io/badge/version-v0.14.0-blue.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-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg diff --git a/spotify/CHANGELOG.md b/spotify/CHANGELOG.md index d840f2e9..9513ee7c 100644 --- a/spotify/CHANGELOG.md +++ b/spotify/CHANGELOG.md @@ -1,16 +1,31 @@ ## What’s changed -## 🚨 Breaking changes +## ✨ New features -- Drop support for i386 @frenck ([#249](https://github.com/hassio-addons/addon-spotify-connect/pull/249)) +- Add librespot autoplay option @itsfolf ([#254](https://github.com/hassio-addons/addon-spotify-connect/pull/254)) +- Add librespot initial-volume option @spoetnik ([#276](https://github.com/hassio-addons/addon-spotify-connect/pull/276)) + +## 🐛 Bug fixes + +- Fix problem with declaring bash variable with dash @ImJustToNy ([#286](https://github.com/hassio-addons/addon-spotify-connect/pull/286)) +- fix: autoplay @ImJustToNy ([#287](https://github.com/hassio-addons/addon-spotify-connect/pull/287)) + +## 🚀 Enhancements + +- Remove unneeded volume checks @frenck ([#291](https://github.com/hassio-addons/addon-spotify-connect/pull/291)) ## 🧰 Maintenance -- Move coc and contributing to .github folder @frenck ([#247](https://github.com/hassio-addons/addon-spotify-connect/pull/247)) -- 🎆 Updates maintenance/license year to 2024 @frenck ([#255](https://github.com/hassio-addons/addon-spotify-connect/pull/255)) +- 🎆 Update copyright year to 2025 in license and documentation files @frenck ([#282](https://github.com/hassio-addons/addon-spotify-connect/pull/282)) ## ⬆️ Dependency updates -- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.3.1 @renovate ([#248](https://github.com/hassio-addons/addon-spotify-connect/pull/248)) -- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.3.2 @renovate ([#250](https://github.com/hassio-addons/addon-spotify-connect/pull/250)) -- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.3.3 @renovate ([#252](https://github.com/hassio-addons/addon-spotify-connect/pull/252)) +- ⬆️ Update librespot to 0.6.0 @[renovate[bot]](https://github.com/apps/renovate) ([#273](https://github.com/hassio-addons/addon-spotify-connect/pull/273)) +- ⬆️ Update alpine_3_18/git to v2.40.4-r0 @[renovate[bot]](https://github.com/apps/renovate) ([#280](https://github.com/hassio-addons/addon-spotify-connect/pull/280)) +- Upgrade base to 17.1.1 and resolve problems with building librespot 0.6.0 @ImJustToNy ([#281](https://github.com/hassio-addons/addon-spotify-connect/pull/281)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.1.2 @[renovate[bot]](https://github.com/apps/renovate) ([#283](https://github.com/hassio-addons/addon-spotify-connect/pull/283)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.1.3 @[renovate[bot]](https://github.com/apps/renovate) ([#284](https://github.com/hassio-addons/addon-spotify-connect/pull/284)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.1.5 @[renovate[bot]](https://github.com/apps/renovate) ([#285](https://github.com/hassio-addons/addon-spotify-connect/pull/285)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.2.0 @[renovate[bot]](https://github.com/apps/renovate) ([#288](https://github.com/hassio-addons/addon-spotify-connect/pull/288)) +- ⬆️: migrate renovate config @[renovate[bot]](https://github.com/apps/renovate) ([#290](https://github.com/hassio-addons/addon-spotify-connect/pull/290)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v17.2.1 @[renovate[bot]](https://github.com/apps/renovate) ([#289](https://github.com/hassio-addons/addon-spotify-connect/pull/289)) diff --git a/spotify/DOCS.md b/spotify/DOCS.md index a363e63c..b73e12fd 100644 --- a/spotify/DOCS.md +++ b/spotify/DOCS.md @@ -35,8 +35,10 @@ Example add-on configuration: log_level: info name: HomeAssistant bitrate: 320 +initial_volume: 50 username: frenck@example.com password: MySpotifyPassword +autoplay: true ``` **Note**: _This is just an example, don't copy and paste it! Create your own!_ @@ -74,6 +76,13 @@ however, the add-on consumes more data. 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` **IMPORTANT**: _This requires a Spotify Premium account!_ @@ -88,6 +97,10 @@ to disallow guests on your network to use the add-on. The password you use to login to your Spotify Premium account. +### Option: `autoplay` + +Whether Spotify should autoplay similar songs when reaching the end of the queue. + ## Known issues and limitations - This add-on requires a Spotify Premium account. @@ -131,7 +144,7 @@ check [the contributor's page][contributors]. MIT License -Copyright (c) 2018-2024 Franck Nijhof +Copyright (c) 2018-2025 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/spotify/README.md b/spotify/README.md index af9c9b0d..fef92c29 100644 --- a/spotify/README.md +++ b/spotify/README.md @@ -45,10 +45,10 @@ If you are more interested in stable releases of our add-ons: [forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-spotify-connect/61210?u=frenck [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors]: https://github.com/sponsors/frenck -[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-v0.13.0-blue.svg -[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.13.0 +[release-shield]: https://img.shields.io/badge/version-v0.14.0-blue.svg +[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.14.0 [screenshot]: https://github.com/hassio-addons/addon-spotify-connect/raw/main/images/screenshot.png \ No newline at end of file diff --git a/spotify/config.yaml b/spotify/config.yaml index 3049b9dc..57bf7ef2 100644 --- a/spotify/config.yaml +++ b/spotify/config.yaml @@ -1,5 +1,5 @@ name: Spotify Connect -version: 0.13.0 +version: 0.14.0 slug: spotify description: Play Spotify music on your Home Assistant device url: https://github.com/hassio-addons/addon-spotify-connect @@ -14,10 +14,14 @@ init: false options: name: Home Assistant bitrate: 160 + initial_volume: 50 + autoplay: true schema: log_level: list(trace|debug|info|notice|warning|error|fatal)? name: str bitrate: list(96|160|320) username: str? password: password? + autoplay: bool + initial_volume: match(^([0-9]|[1-9][0-9]|100)$)? image: ghcr.io/hassio-addons/spotify/{arch} diff --git a/spotify/translations/en.yaml b/spotify/translations/en.yaml index 94e5b721..4d5056c9 100644 --- a/spotify/translations/en.yaml +++ b/spotify/translations/en.yaml @@ -14,6 +14,10 @@ configuration: description: >- The bitrate Spotify should use. The higher, the better the sound quality, however, the add-on consumes more data. + initial_volume: + name: Initial Volume + description: >- + Initial volume in % from 0-100. username: name: Spotify username description: >- @@ -23,3 +27,7 @@ configuration: name: Spotify password description: >- The password to log into your Spotify Premium account with. + autoplay: + name: Autoplay + description: >- + Whether Spotify should autoplay similar songs at the end of the queue. diff --git a/spotify/translations/hu.yaml b/spotify/translations/hu.yaml index 96406a0a..b4403f37 100644 --- a/spotify/translations/hu.yaml +++ b/spotify/translations/hu.yaml @@ -14,6 +14,10 @@ configuration: description: >- 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. + initial_volume: + name: Kezdeti térfogat + description: >- + Kezdeti térfogat %-ban 0-100 között. username: name: Spotify felhasználónév description: >- diff --git a/spotify/translations/it.yaml b/spotify/translations/it.yaml index 88e723dd..aacd7292 100644 --- a/spotify/translations/it.yaml +++ b/spotify/translations/it.yaml @@ -14,6 +14,10 @@ configuration: description: >- Il bitrate che Spotify dovrebbe usare. Piú é alto, migliore é la qualitá sonora, tuttavia, l'add-on consumerá piú banda. + initial_volume: + name: Volume Iniziale + description: >- + Volume iniziale in % da 0 a 100. username: name: Spotify username description: >-