]> git.basschouten.com Git - openhab-addons.git/commit
[spotify] Various enhancements and fixes (#11370)
authorHilbrand Bouwkamp <hilbrand@h72.nl>
Sun, 24 Oct 2021 09:42:14 +0000 (11:42 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Oct 2021 09:42:14 +0000 (11:42 +0200)
commit196e4e2210e47a00d010fdebae6c7e5f9e4f4a4f
tree10847e6ef49cf64eac38a825827ac10385c7e8fb
parent3fc968a9800af83278d58825a74299881c2a493b
[spotify] Various enhancements and fixes (#11370)

Enhancements:
- Added play actions to start a track or other via a rule.
- Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus.
- Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl.
- Added offset and limit parameters to playlists channel (Closes #6843).

Fixes:
- Fixed invalid expire value set on ExpiringCache (Closes #10490).
- Improved handling Spotify API error messages (Closes #11308).
- Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes #7400).
- Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
bundles/org.openhab.binding.spotify/README.md
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/SpotifyBindingConstants.java
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/actions/SpotifyActions.java [new file with mode: 0644]
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/api/SpotifyApi.java
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/discovery/SpotifyDeviceDiscoveryService.java
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/handler/SpotifyBridgeHandler.java
bundles/org.openhab.binding.spotify/src/main/java/org/openhab/binding/spotify/internal/handler/SpotifyHandleCommands.java
bundles/org.openhab.binding.spotify/src/main/resources/OH-INF/config/config.xml [new file with mode: 0644]
bundles/org.openhab.binding.spotify/src/main/resources/OH-INF/i18n/spotify_en.properties [new file with mode: 0644]
bundles/org.openhab.binding.spotify/src/main/resources/OH-INF/thing/thing-types.xml