|
@ -1,6 +1,5 @@ |
|
|
import diskusage from "diskusage"; |
|
|
import diskusage from "diskusage"; |
|
|
import { readdir } from "fs/promises"; |
|
|
import { readdir } from "fs/promises"; |
|
|
import Application from "../../Application" |
|
|
|
|
|
import { MovieTicket, MovieTorrent } from "@autoplex/database"; |
|
|
import { MovieTicket, MovieTorrent } from "@autoplex/database"; |
|
|
import Supervisor from "../Supervisor"; |
|
|
import Supervisor from "../Supervisor"; |
|
|
import TorrentClientIpc, { TorrentClientConnectionError } from "./TorrentClientIpc" |
|
|
import TorrentClientIpc, { TorrentClientConnectionError } from "./TorrentClientIpc" |
|
@ -49,8 +48,6 @@ export default class TorrentManager extends TorrentClientIpc |
|
|
this.log("Booting the torrent manager"); |
|
|
this.log("Booting the torrent manager"); |
|
|
await super.boot(); |
|
|
await super.boot(); |
|
|
await this.loadDisks(); |
|
|
await this.loadDisks(); |
|
|
console.log("Sending test request...") |
|
|
|
|
|
console.log("Response is:", await this.test("test value")); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Interface methods ---------------------------------------------------------------------------
|
|
|
// Interface methods ---------------------------------------------------------------------------
|
|
|