/** * Remove a torrent from the download queue * * @param Torrent $torrent */ public function remove(Torrent $torrent, $localData = false) { $arguments = array('ids' => array($torrent->getId())); if ($localData) { $arguments['delete-local-data'] = true; } $this->getClient()->call('torrent-remove', $arguments); }