From a131c66b952287f4231824ea1db7900c6d2fd697 Mon Sep 17 00:00:00 2001 From: neumann <> Date: Wed, 31 May 2017 13:40:45 +0000 Subject: [PATCH] 37_Spotify: fixed offset playContextByURI git-svn-id: https://svn.fhem.de/fhem/trunk@14436 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/37_Spotify.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 41cf25cd0..bfa45af48 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 37_Spotify: fixed offset playContextByURI - bugfix: 38_CO20: fixed reconnects, improved stability - feature: 37_Spotify: album cover, new attr, return error to reading - feature: 37_Spotify: trigger events on reading changes diff --git a/fhem/FHEM/37_Spotify.pm b/fhem/FHEM/37_Spotify.pm index fb5d8b3dd..63b6b4deb 100644 --- a/fhem/FHEM/37_Spotify.pm +++ b/fhem/FHEM/37_Spotify.pm @@ -574,7 +574,7 @@ sub Spotify_play($$$$$) { # any play command (colleciton or track) $data = {uris => $uris}; } else { - $data = {context_uri => $context_uri, {offset => {position => $position-1}}}; + $data = {context_uri => $context_uri, offset => {position => $position-1}}; } $device_id = Spotify_getTargetDeviceID($hash, $device_id, 1);