From ce53ea65db24086f00e3bb6246d770179005c2f3 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Wed, 14 Jul 2021 14:47:39 +0000 Subject: [PATCH] :tada: Release of add-on Spotify Connect 0.9.0 --- README.md | 6 ++-- spotify/CHANGELOG.md | 57 +++++++++++++++++++++++++++++------- spotify/DOCS.md | 20 +++++-------- spotify/README.md | 8 ++--- spotify/config.json | 19 ++++-------- spotify/translations/en.yaml | 25 ++++++++++++++++ 6 files changed, 92 insertions(+), 43 deletions(-) create mode 100644 spotify/translations/en.yaml diff --git a/README.md b/README.md index ef6abec2..2dab3c09 100644 --- a/README.md +++ b/README.md @@ -930,10 +930,10 @@ SOFTWARE. [ssh-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [ssh-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [ssh-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.8.2 -[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/v0.8.2/README.md +[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.9.0 +[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/v0.9.0/README.md [spotify-issue]: https://github.com/hassio-addons/addon-spotify-connect/issues -[spotify-version-shield]: https://img.shields.io/badge/version-v0.8.2-blue.svg +[spotify-version-shield]: https://img.shields.io/badge/version-v0.9.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 4248af36..0e93e573 100644 --- a/spotify/CHANGELOG.md +++ b/spotify/CHANGELOG.md @@ -1,14 +1,51 @@ -[Full Changelog][changelog] +## What’s changed -### 🔨 Changes +## 🚀 Enhancements -- ✏️ Fix docs link in README (#53) -- ⬆ Upgrades cargo to 0.44.1-0ubuntu1~18.04.1 -- ⬆ Upgrades rustc to 1.43.0+dfsg1+llvm-1~exp1ubuntu2~18.04.1 -- ⬆ Upgrades add-on base image to v5.2.2 +- Rewrite of add-on @frenck (#100) +- Use `cargo install` @giannello (#102) -[changelog]: https://github.com/hassio-addons/addon-spotify-connect/compare/v0.8.1...v0.8.2 +## 🧰 Maintenance -Questions? Join our Discord server! https://discord.me/hassioaddons -Enjoying my add-ons? Consider supporting my work: -https://github.com/sponsors/frenck or https://patreon.com/frenck \ No newline at end of file +- Cleanup repository @frenck (#66) +- Upgrade Code of Conduct @frenck (#68) +- Add new repository workflow @frenck (#69) + +## ⬆️ Dependency updates + +- ⬆️ Bump frenck/action-addon-linter from v1.3.1 to v1.4 @dependabot (#71) +- ⬆️ Bump actions/stale from v3.0.14 to v3.0.15 @dependabot (#72) +- ⬆️ Bump frenck/action-yamllint from v1.0.2 to v1.1 @dependabot (#73) +- ⬆️ Bump actionshub/markdownlint from 2.0.0 to 2.0.2 @dependabot (#75) +- ⬆️ Bump actions/cache from v2.1.3 to v2.1.4 @dependabot (#74) +- ⬆️ Bump actions/stale from v3.0.15 to v3.0.16 @dependabot (#76) +- ⬆️ Bump frenck/action-addon-linter from v1.4 to v2 @dependabot (#77) +- ⬆️ Bump release-drafter/release-drafter from v5.13.0 to v5.14.0 @dependabot (#79) +- ⬆️ Bump docker/build-push-action from v2.2.2 to v2.3.0 @dependabot (#80) +- ⬆️ Bump actions/stale from v3.0.16 to v3.0.17 @dependabot (#81) +- ⬆️ Bump actions/stale from v3.0.17 to v3.0.18 @dependabot (#83) +- ⬆️ Bump release-drafter/release-drafter from v5.14.0 to v5.15.0 @dependabot (#84) +- ⬆️ Bump ludeeus/action-shellcheck from 1.0.0 to 1.1.0 @dependabot (#89) +- ⬆️ Bump docker/build-push-action from v2.3.0 to v2.4.0 @dependabot (#90) +- ⬆️ Bump docker/setup-qemu-action from v1.0.1 to v1.0.2 @dependabot (#91) +- ⬆️ Bump docker/setup-buildx-action from v1.1.1 to v1.1.2 @dependabot (#92) +- ⬆️ Bump actions/cache from v2.1.4 to v2.1.5 @dependabot (#93) +- ⬆️ Bump brpaz/hadolint-action from v1.3.1 to v1.4.0 @dependabot (#95) +- ⬆️ Bump docker/setup-qemu-action from v1.0.2 to v1.1.0 @dependabot (#97) +- ⬆️ Bump docker/setup-buildx-action from v1.1.2 to v1.2.0 @dependabot (#96) +- ⬆️ Bump docker/login-action from v1.8.0 to v1.9.0 @dependabot (#98) +- ⬆️ Bump docker/setup-buildx-action from v1.2.0 to v1.3.0 @dependabot (#99) +- ⬆️ Bump brpaz/hadolint-action from v1.4.0 to v1.5.0 @dependabot (#104) +- ⬆️ Bump frenck/action-addon-linter from 2 to 2.1 @dependabot (#105) +- ⬆️ Bump actions/stale from 3.0.18 to 3.0.19 @dependabot (#106) +- ⬆️ Bump frenck/action-addon-information from 1.0.0 to 1.1 @dependabot (#108) +- ⬆️ Bump micnncim/action-label-syncer from 1.2.0 to 1.3.0 @dependabot (#109) +- ⬆️ Bump docker/build-push-action from 2.4.0 to 2.5.0 @dependabot (#113) +- ⬆️ Bump docker/setup-qemu-action from 1.1.0 to 1.2.0 @dependabot (#112) +- ⬆️ Bump actions/cache from 2.1.5 to 2.1.6 @dependabot (#114) +- ⬆️ Bump frenck/action-addon-information from 1.1 to 1.2.2 @dependabot (#116) +- ⬆️ Bump dessant/lock-threads from 2.0.3 to 2.1.1 @dependabot (#123) +- ⬆️ Bump docker/setup-buildx-action from 1.3.0 to 1.5.1 @dependabot (#125) +- ⬆️ Bump docker/build-push-action from 2.5.0 to 2.6.1 @dependabot (#121) +- ⬆️ Bump docker/login-action from 1.9.0 to 1.10.0 @dependabot (#119) +- ⬆️ Upgrades add-on base image to v10.0.0 @frenck (#126) diff --git a/spotify/DOCS.md b/spotify/DOCS.md index 046edaf0..157a0df3 100644 --- a/spotify/DOCS.md +++ b/spotify/DOCS.md @@ -47,7 +47,7 @@ dealing with an unknown issue. Possible values are: - `debug`: Shows detailed debug information. - `info`: Normal (usually) interesting events. - `warning`: Exceptional occurrences that are not errors. -- `error`: Runtime errors that do not require immediate action. +- `error`: Runtime errors that do not require immediate action. - `fatal`: Something went terribly wrong. Add-on becomes unusable. Please note that each level automatically includes log messages from a @@ -63,8 +63,6 @@ Spotify service. The name of your device (the Spotify Connect target), as shown on the official Spotify clients. -**Note**: _May only contain letters, numbers, hyphens (`-`) and dots (`.`) - ### Option: `bitrate` The bitrate Spotify should use. The higher, the better the sound quality, @@ -88,23 +86,20 @@ The password you use to login to your Spotify Premium account. ## Known issues and limitations -- This add-on does support ARM-based devices, nevertheless, they must - at least be an ARMv7 device. (Raspberry Pi 1 and Zero is not supported). - This add-on requires a Spotify Premium account. ## Changelog & Releases This repository keeps a change log using [GitHub's releases][releases] -functionality. The format of the log is based on -[Keep a Changelog][keepchangelog]. +functionality. Releases are based on [Semantic Versioning][semver], and use the format -of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented +of `MAJOR.MINOR.PATCH`. In a nutshell, the version will be incremented based on the following: -- ``MAJOR``: Incompatible or major changes. -- ``MINOR``: Backwards-compatible new features and enhancements. -- ``PATCH``: Backwards-compatible bugfixes and package updates. +- `MAJOR`: Incompatible or major changes. +- `MINOR`: Backwards-compatible new features and enhancements. +- `PATCH`: Backwards-compatible bugfixes and package updates. ## Support @@ -132,7 +127,7 @@ check [the contributor's page][contributors]. MIT License -Copyright (c) 2018-2020 Franck Nijhof +Copyright (c) 2018-2021 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 @@ -158,7 +153,6 @@ SOFTWARE. [forum]: https://community.home-assistant.io/t/home-assistant-community-add-on-spotify-connect/61210?u=frenck [frenck]: https://github.com/frenck [issue]: https://github.com/hassio-addons/addon-spotify-connect/issues -[keepchangelog]: http://keepachangelog.com/en/1.0.0/ [reddit]: https://reddit.com/r/homeassistant [releases]: https://github.com/hassio-addons/addon-spotify-connect/releases [semver]: http://semver.org/spec/v2.0.0.htm diff --git a/spotify/README.md b/spotify/README.md index db62a6ef..cf9c926a 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/2020.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2021.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.8.2-blue.svg -[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.8.2 -[screenshot]: https://github.com/hassio-addons/addon-spotify-connect/raw/master/images/screenshot.png \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.9.0-blue.svg +[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/v0.9.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.json b/spotify/config.json index c47fdda3..e7661306 100644 --- a/spotify/config.json +++ b/spotify/config.json @@ -1,34 +1,27 @@ { "name": "Spotify Connect", - "version": "0.8.2", + "version": "0.9.0", "slug": "spotify", "description": "Play Spotify music on your Home Assistant device", "url": "https://github.com/hassio-addons/addon-spotify-connect", - "startup": "services", "arch": [ "aarch64", "amd64", "armv7", "i386" ], - "map": [ - "config" - ], - "boot": "auto", - "hassio_api": true, - "hassio_role": "default", "host_network": true, "audio": true, "options": { - "name": "HomeAssistant", + "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?", - "name": "match(^[A-Za-z0-9-.]+$)?", - "bitrate": "list(96|160|320)" + "password": "password?" }, - "image": "hassioaddons/spotify-{arch}" + "image": "ghcr.io/hassio-addons/spotify/{arch}" } \ No newline at end of file diff --git a/spotify/translations/en.yaml b/spotify/translations/en.yaml new file mode 100644 index 00000000..94e5b721 --- /dev/null +++ b/spotify/translations/en.yaml @@ -0,0 +1,25 @@ +--- +configuration: + log_level: + name: Log level + description: >- + Controls the level of log details the add-on provides. + name: + name: Name + description: >- + The name of your device (the Spotify Connect target), as shown on + the official Spotify clients. + bitrate: + name: Bitrate + description: >- + The bitrate Spotify should use. The higher, the better the sound quality, + however, the add-on consumes more data. + username: + name: Spotify username + description: >- + An optional username that you use to login to your Spotify Premium + account. This can be helpful when experiencing discovery issues. + password: + name: Spotify password + description: >- + The password to log into your Spotify Premium account with.