mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
37_Spotify: transferPlayback optional field
git-svn-id: https://svn.fhem.de/fhem/trunk@14427 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8e5fdd2482
commit
31bb21adf2
@ -408,7 +408,6 @@ sub Spotify_setShuffle($$) { # set the shuffle mode
|
||||
|
||||
sub Spotify_transferPlayback($$) { # transfer the current playback to another device
|
||||
my ($hash, $device_id) = @_;
|
||||
return 'wrong syntax: set <name> transferPlayback [ <target_device_id / target_device_name> ]' if(!defined $device_id);
|
||||
$device_id = Spotify_getTransferTargetDeviceID($hash, $device_id);
|
||||
return 'device not found' if(!defined $device_id);
|
||||
my @device_ids = ($device_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user