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:
parent
1bc8fb37a1
commit
d26010e1f2
@ -575,7 +575,8 @@ sub Spotify_play($$$$$) { # any play command (colleciton or track)
|
|||||||
|
|
||||||
$data = {uris => $uris};
|
$data = {uris => $uris};
|
||||||
} else {
|
} 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);
|
$device_id = Spotify_getTargetDeviceID($hash, $device_id, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user