'Get status of all active downloads
:param ids: list of (mixed) downloader ids
Used to match the releases for this downloader as there could be
other downloaders active that it should ignore
:return: list of releases'

def getAllDownloadStatus(self, ids):

    log.debug('Checking    Deluge    download    status.')
    if (not self.connect()):
        return []
    release_downloads = ReleaseDownloadList(self)
    queue = self.drpc.get_alltorrents(ids)
    if (not queue):
        log.debug('Nothing    in    queue    or    error')
        return []
    for torrent_id in queue:
        torrent = queue[torrent_id]
        if (not ('hash' in torrent)):
            continue
        log.debug('name=%s    /    id=%s    /    save_path=%s    /    move_on_completed=%s    /    move_completed_path=%s    /    hash=%s    /    progress=%s    /    state=%s    /    eta=%s    /    ratio=%s    /    stop_ratio=%s    /    is_seed=%s    /    is_finished=%s    /    paused=%s', (torrent['name'], torrent['hash'], torrent['save_path'], torrent['move_on_completed'], torrent['move_completed_path'], torrent['hash'], torrent['progress'], torrent['state'], torrent['eta'], torrent['ratio'], torrent['stop_ratio'], torrent['is_seed'], torrent['is_finished'], torrent['paused']))
        status = 'busy'
        if (torrent['is_seed'] and ((tryFloat(torrent['ratio']) < tryFloat(torrent['stop_ratio'])) or (tryFloat(torrent['stop_ratio']) < 0))):
            status = 'seeding'
        elif (torrent['is_seed'] and torrent['is_finished'] and torrent['paused'] and (torrent['state'] == 'Paused')):
            status = 'completed'
        download_dir = sp(torrent['save_path'])
        if torrent['move_on_completed']:
            download_dir = torrent['move_completed_path']
        torrent_files = []
        for file_item in torrent['files']:
            torrent_files.append(sp(os.path.join(download_dir, file_item['path'])))
        release_downloads.append({'id': torrent['hash'], 'name': torrent['name'], 'status': status, 'original_status': torrent['state'], 'seed_ratio': torrent['ratio'], 'timeleft': str(timedelta(seconds=torrent['eta'])), 'folder': sp((download_dir if (len(torrent_files) == 1) else os.path.join(download_dir, torrent['name']))), 'files': torrent_files})
    return release_downloads
