From 9cc08ad91afc56dacb10141a23e25c75f24447e6 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Mon, 10 May 2021 17:55:39 +0000 Subject: [PATCH] :arrow_up: Updating add-on Spotify Connect to a820a4f --- README.md | 6 +- spotify/CHANGELOG.md | 225 ++++++++++++++++++++++++++++++++++- spotify/DOCS.md | 20 ++-- spotify/README.md | 8 +- spotify/config.json | 19 +-- spotify/translations/en.yaml | 25 ++++ 6 files changed, 265 insertions(+), 38 deletions(-) create mode 100644 spotify/translations/en.yaml diff --git a/README.md b/README.md index 387fa30ca..6f822d746 100644 --- a/README.md +++ b/README.md @@ -953,10 +953,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/57d017d -[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/57d017d/README.md +[addon-spotify]: https://github.com/hassio-addons/addon-spotify-connect/tree/a820a4f +[addon-doc-spotify]: https://github.com/hassio-addons/addon-spotify-connect/blob/a820a4f/README.md [spotify-issue]: https://github.com/hassio-addons/addon-spotify-connect/issues -[spotify-version-shield]: https://img.shields.io/badge/version-57d017d-blue.svg +[spotify-version-shield]: https://img.shields.io/badge/version-a820a4f-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 f9649c9cb..92b6be105 100644 --- a/spotify/CHANGELOG.md +++ b/spotify/CHANGELOG.md @@ -1,5 +1,220 @@ -# Changelog since v0.8.1 -- ⬆ Upgrades add-on base image to v5.2.2 -- ⬆ Upgrades rustc to 1.43.0+dfsg1+llvm-1~exp1ubuntu2~18.04.1 -- ⬆ Upgrades cargo to 0.44.1-0ubuntu1~18.04.1 -- ✏️ Fix docs link in README (#53) +# Changelog since v0.8.2 +- ⬆️ Bump brpaz/hadolint-action from v1.4.0 to v1.5.0 (#104) + +Bumps [brpaz/hadolint-action](https://github.com/brpaz/hadolint-action) from v1.4.0 to v1.5.0. +- [Release notes](https://github.com/brpaz/hadolint-action/releases) +- [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc) +- [Commits](https://github.com/brpaz/hadolint-action/compare/v1.4.0...c27bd9edc1e95eed30474db8f295ff5807ebca14) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- Rewrite of add-on (#100) +- ⬆️ Bump docker/setup-buildx-action from v1.2.0 to v1.3.0 (#99) + +Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from v1.2.0 to v1.3.0. +- [Release notes](https://github.com/docker/setup-buildx-action/releases) +- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.2.0...0d135e0c2fc0dba0729c1a47ecfcf5a3c7f8579e) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/login-action from v1.8.0 to v1.9.0 (#98) + +Bumps [docker/login-action](https://github.com/docker/login-action) from v1.8.0 to v1.9.0. +- [Release notes](https://github.com/docker/login-action/releases) +- [Commits](https://github.com/docker/login-action/compare/v1.8.0...28218f9b04b4f3f62068d7b6ce6ca5b26e35336c) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/setup-buildx-action from v1.1.2 to v1.2.0 (#96) + +Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from v1.1.2 to v1.2.0. +- [Release notes](https://github.com/docker/setup-buildx-action/releases) +- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.1.2...012185ccbeb554a7f5f987bea0f1a73519b3cdf5) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/setup-qemu-action from v1.0.2 to v1.1.0 (#97) + +Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from v1.0.2 to v1.1.0. +- [Release notes](https://github.com/docker/setup-qemu-action/releases) +- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.0.2...c308fdd69d26ed66f4506ebd74b180abe5362145) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump brpaz/hadolint-action from v1.3.1 to v1.4.0 (#95) + +Bumps [brpaz/hadolint-action](https://github.com/brpaz/hadolint-action) from v1.3.1 to v1.4.0. +- [Release notes](https://github.com/brpaz/hadolint-action/releases) +- [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc) +- [Commits](https://github.com/brpaz/hadolint-action/compare/v1.3.1...473e36ba306c199243ffe4f1e652a8b60a8fa296) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actions/cache from v2.1.4 to v2.1.5 (#93) + +Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5. +- [Release notes](https://github.com/actions/cache/releases) +- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/setup-buildx-action from v1.1.1 to v1.1.2 (#92) + +Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from v1.1.1 to v1.1.2. +- [Release notes](https://github.com/docker/setup-buildx-action/releases) +- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.1.1...2a4b53665e15ce7d7049afb11ff1f70ff1610609) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/setup-qemu-action from v1.0.1 to v1.0.2 (#91) + +Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from v1.0.1 to v1.0.2. +- [Release notes](https://github.com/docker/setup-qemu-action/releases) +- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.0.1...25f0500ff22e406f7191a2a8ba8cda16901ca018) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump docker/build-push-action from v2.3.0 to v2.4.0 (#90) + +Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v2.3.0 to v2.4.0. +- [Release notes](https://github.com/docker/build-push-action/releases) +- [Commits](https://github.com/docker/build-push-action/compare/v2.3.0...e1b7f96249f2e4c8e4ac1519b9608c0d48944a1f) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump ludeeus/action-shellcheck from 1.0.0 to 1.1.0 (#89) + +Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 1.0.0 to 1.1.0. +- [Release notes](https://github.com/ludeeus/action-shellcheck/releases) +- [Commits](https://github.com/ludeeus/action-shellcheck/compare/1.0.0...94e0aab03ca135d11a35e5bfc14e6746dc56e7e9) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump release-drafter/release-drafter from v5.14.0 to v5.15.0 (#84) + +Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.14.0 to v5.15.0. +- [Release notes](https://github.com/release-drafter/release-drafter/releases) +- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.14.0...fe52e97d262833ae07d05efaf1a239df3f1b5cd4) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actions/stale from v3.0.17 to v3.0.18 (#83) + +Bumps [actions/stale](https://github.com/actions/stale) from v3.0.17 to v3.0.18. +- [Release notes](https://github.com/actions/stale/releases) +- [Commits](https://github.com/actions/stale/compare/v3.0.17...3b3c3f03cd4d8e2b61e179ef744a0d20efbe90b4) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆ Bump actions/stale from v3.0.16 to v3.0.17 (#81) +- ⬆️ Bump docker/build-push-action from v2.2.2 to v2.3.0 (#80) + +Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v2.2.2 to v2.3.0. +- [Release notes](https://github.com/docker/build-push-action/releases) +- [Commits](https://github.com/docker/build-push-action/compare/v2.2.2...9379083e426e2e84abb80c8c091f5cdeb7d3fd7a) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump release-drafter/release-drafter from v5.13.0 to v5.14.0 (#79) + +Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.13.0 to v5.14.0. +- [Release notes](https://github.com/release-drafter/release-drafter/releases) +- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.13.0...e5ccf147077e46b0225a80bbe314d795d77bb7a2) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump frenck/action-addon-linter from v1.4 to v2 (#77) + +Bumps [frenck/action-addon-linter](https://github.com/frenck/action-addon-linter) from v1.4 to v2. +- [Release notes](https://github.com/frenck/action-addon-linter/releases) +- [Commits](https://github.com/frenck/action-addon-linter/compare/v1.4...5fde0909bcbbf702c477a7705950d8acf939ab1b) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actions/stale from v3.0.15 to v3.0.16 (#76) + +Bumps [actions/stale](https://github.com/actions/stale) from v3.0.15 to v3.0.16. +- [Release notes](https://github.com/actions/stale/releases) +- [Commits](https://github.com/actions/stale/compare/v3.0.15...9d6f46564a515a9ea11e7762ab3957ee58ca50da) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actions/cache from v2.1.3 to v2.1.4 (#74) + +Bumps [actions/cache](https://github.com/actions/cache) from v2.1.3 to v2.1.4. +- [Release notes](https://github.com/actions/cache/releases) +- [Commits](https://github.com/actions/cache/compare/v2.1.3...26968a09c0ea4f3e233fdddbafd1166051a095f6) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actionshub/markdownlint from 2.0.0 to 2.0.2 (#75) + +Bumps [actionshub/markdownlint](https://github.com/actionshub/markdownlint) from 2.0.0 to 2.0.2. +- [Release notes](https://github.com/actionshub/markdownlint/releases) +- [Changelog](https://github.com/actionshub/markdownlint/blob/master/CHANGELOG.md) +- [Commits](https://github.com/actionshub/markdownlint/compare/2.0.0...4668c0321d5e398f4776e88e0f87d203dec0fd99) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump frenck/action-yamllint from v1.0.2 to v1.1 (#73) + +Bumps [frenck/action-yamllint](https://github.com/frenck/action-yamllint) from v1.0.2 to v1.1. +- [Release notes](https://github.com/frenck/action-yamllint/releases) +- [Commits](https://github.com/frenck/action-yamllint/compare/v1.0.2...e21bcc770907b7207a05453ca9f1eb7129c945d1) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump actions/stale from v3.0.14 to v3.0.15 (#72) + +Bumps [actions/stale](https://github.com/actions/stale) from v3.0.14 to v3.0.15. +- [Release notes](https://github.com/actions/stale/releases) +- [Commits](https://github.com/actions/stale/compare/v3.0.14...86561461b92875de77a8b2d2e75f004c826e8f45) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- ⬆️ Bump frenck/action-addon-linter from v1.3.1 to v1.4 (#71) + +Bumps [frenck/action-addon-linter](https://github.com/frenck/action-addon-linter) from v1.3.1 to v1.4. +- [Release notes](https://github.com/frenck/action-addon-linter/releases) +- [Commits](https://github.com/frenck/action-addon-linter/compare/v1.3.1...c82c5e9ca0ce5fc9b15756f1c0e39531b95d11b0) + +Signed-off-by: dependabot[bot] + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +- Add new repository workflow (#69) + +* Add new repository workflow + +* Prettified Code! + +* Address add-on lint errors + +* Migrate Docker build arguments + +* Documentation tweaks + +Co-authored-by: frenck +- Upgrade Code of Conduct (#68) +- Happy New Year (#67) +- Cleanup repository (#66) diff --git a/spotify/DOCS.md b/spotify/DOCS.md index 046edaf01..157a0df3d 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 935e3e98f..0298d1329 100644 --- a/spotify/README.md +++ b/spotify/README.md @@ -48,10 +48,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-57d017d-blue.svg -[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/57d017d -[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-a820a4f-blue.svg +[release]: https://github.com/hassio-addons/addon-spotify-connect/tree/a820a4f +[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 15a711d9c..89f863eae 100644 --- a/spotify/config.json +++ b/spotify/config.json @@ -1,34 +1,27 @@ { "name": "Spotify Connect", - "version": "57d017d", + "version": "a820a4f", "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 000000000..94e5b7211 --- /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.