def _handle_transmission(self, torrent, queue_id):

        if torrent.magnet_link is not None:
            link = torrent.magnet_link
        elif torrent.torrent_link is not None:
            link = torrent.torrent_link
        else:
            self._handle_manual_download(torrent, queue_id)
            return

        directory = self._create_directory(queue_id)
        torrents = self.transmission.add_torrent(link, directory)

        torrent_queue = TorrentQueue(id=queue_id)
        torrent_queue.update_value(
            status=u'FOUND', torrent_hash=torrents.hashString
        )