public function removeTracks(array $positions): bool
    {
        $data = $this->soap("AVTransport", "ReorderTracksInSavedQueue", [
            "UpdateID"              =>  $this->getUpdateID(),
            "TrackList"             =>  implode(",", $positions),
            "NewPositionList"       =>  "",
        ]);
        $this->updateId = $data["NewUpdateID"];

        return ($data["QueueLengthChange"] == (count($positions) * -1));
    }
public function removeTracks(array $positions): bool
    {
        $data = $this->soap("AVTransport", "ReorderTracksInSavedQueue", [
            "UpdateID"              =>  $this->getUpdateID(),
            "TrackList"             =>  implode(",", $positions),
            "NewPositionList"       =>  "",
        ]);
        $this->updateId = $data["NewUpdateID"];

        return ($data["QueueLengthChange"] == (count($positions) * -1));
    }
public function removeTracks ( array $ positions ) : bool { $ data = $ this -> soap ( "AVTransport" , "ReorderTracksInSavedQueue" , [ "UpdateID" => $ this -> getUpdateID ( ) , "TrackList" => implode ( "," , $ positions ) , "NewPositionList" => "" , ] ) ; $ this -> updateId = $ data [ "NewUpdateID" ] ; return ( $ data [ "QueueLengthChange" ] == ( count ( $ positions ) * - 1 ) ) ; }
Remove tracks from the playlist.

@param int[] $positions The zero-based positions of the tracks to remove

@return bool
Remove tracks from the playlist .