mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding real debrid downloads
This commit is contained in:
parent
a1e41ea464
commit
13644c60e8
3 changed files with 203 additions and 46 deletions
|
@ -8,9 +8,9 @@ import { QueryDeepPartialEntity } from "typeorm/query-builder/QueryPartialEntity
|
|||
import { calculateETA } from "./helpers";
|
||||
import axios from "axios";
|
||||
import {
|
||||
type CancelDownloadPayload,
|
||||
type StartDownloadPayload,
|
||||
type PauseDownloadPayload,
|
||||
CancelDownloadPayload,
|
||||
StartDownloadPayload,
|
||||
PauseDownloadPayload,
|
||||
LibtorrentStatus,
|
||||
LibtorrentPayload,
|
||||
} from "./types";
|
||||
|
@ -67,6 +67,7 @@ export class TorrentDownloader {
|
|||
bytesDownloaded,
|
||||
fileSize,
|
||||
progress,
|
||||
status: "active",
|
||||
};
|
||||
|
||||
await gameRepository.update(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue