2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

37_Spotify: fixed artist

git-svn-id: https://svn.fhem.de/fhem/trunk@14484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
neumann 2017-06-09 05:33:50 +00:00
parent 1bc8fb37a1
commit d26010e1f2

View File

@ -575,7 +575,8 @@ 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};
$data->{offset} = {position => $position-1} if($position > 1);
}
$device_id = Spotify_getTargetDeviceID($hash, $device_id, 1);