@if (torrent === null || torrent === undefined) {
} @else {
@if (activeTab === 0) {
{{ torrent | status }}
{{ torrent.retryCount }} / {{ torrent.torrentRetryAttempts }}
{{ torrent.hash }}
{{ torrent.priority || "" }}
{{ torrent.category || "(no category set)" }}
@switch (torrent.downloadClient) { @case (0) { Internal Downloader } @case (1) { Bezadd } @case (2) { Aria2c } @case (3) { Symlink Downloader } @case (4) { Synology DownloadStation } }
@switch (torrent.hostDownloadAction) { @case (0) { Download all files to host } @case (1) { Don't download files to host } }
@switch (torrent.downloadAction) { @case (0) { Download all files above a certain size } @case (1) { Download all available files on Real-Debrid above a certain size } @case (2) { Pick files I want to download } }
@switch (torrent.finishedAction) { @case (0) { Do nothing } @case (1) { Remove torrent from Real-Debrid and Real-Debrid Client } @case (2) { Remove torrent from Real-Debrid } @case (3) { Remove torrent from client } }
{{ torrent.downloadMinSize }}MB
{{ torrent.includeRegex }}
{{ torrent.excludeRegex }}
@if (!torrent.isFile) {
@if (!copied) { Click to copy magnet link to clipboard } @else { Link copied to clipboard! }
} @else {
Click to download torrent file
}
{{ torrent.added | date: "fullDate" }} {{ torrent.added | date: "mediumTime" }}
@if (torrent.filesSelected === null) { (no files selected yet) } @else { {{ torrent.filesSelected | date: "fullDate" }} {{ torrent.filesSelected | date: "mediumTime" }} }
@if (torrent.completed === null) { (not completed yet) } @else { {{ torrent.completed | date: "fullDate" }} {{ torrent.completed | date: "mediumTime" }} }
{{ torrent.rdId }}
{{ torrent.rdName }}
{{ torrent.rdSize | filesize }}
{{ torrent.rdHost }}
{{ torrent.rdSplit }}
{{ torrent.rdProgress || 0 }}%
@switch (torrent.rdStatus) { @case (0) { Processing } @case (1) { Waiting For File Selection } @case (2) { Downloading } @case (3) { Finished } @case (99) { Error } } ({{ torrent.rdStatusRaw }})
{{ torrent.rdAdded | date: "fullDate" }} {{ torrent.rdAdded | date: "mediumTime" }}
{{ torrent.rdEnded | date: "fullDate" }} {{ torrent.rdEnded | date: "mediumTime" }}
{{ torrent.rdSpeed || 0 }}
{{ torrent.rdSeeders || "0" }}
} @if (activeTab === 1) {
@for (file of torrent.files; track file.id) { }
ID Path Size Selected
{{ file.id }} {{ file.path }} {{ file.bytes | filesize }} @if (file.selected) { } @else { }
} @if (activeTab === 2) {
@for (download of torrent.downloads; track download.downloadId) { @let expanded = downloadExpanded[download.downloadId]; @if (expanded) { } }
Link Size Status
@if (!expanded) { } @else { } @if (download.link) { {{ download.link | decodeURI }} } @if (!download.link) { {{ download.path }} } {{ download.bytesTotal | filesize }} {{ download | downloadStatus }}
@if (download.error) {
{{ download.error }}
}
@if (download.link) { {{ download.link | decodeURI }} }
{{ download.path }}
{{ download.bytesDone | filesize }} / {{ download.bytesTotal | filesize }} ({{ download.speed | filesize }}/s)
{{ download.retryCount }} / {{ torrent.downloadRetryAttempts }}
@if (download.added) { {{ download.added | date: "fullDate" }} {{ download.added | date: "mediumTime" }} } @else { (not added yet) }
@if (download.downloadQueued) { {{ download.downloadQueued | date: "fullDate" }} {{ download.downloadQueued | date: "mediumTime" }} } @else { (not queued for downloading yet) }
@if (download.downloadStarted) { {{ download.downloadStarted | date: "fullDate" }} {{ download.downloadStarted | date: "mediumTime" }} } @else { (not started downloading yet) }
@if (download.downloadFinished) { {{ download.downloadFinished | date: "fullDate" }} {{ download.downloadFinished | date: "mediumTime" }} } @else { (not finished yet) }
@if (download.unpackingQueued) { {{ download.unpackingQueued | date: "fullDate" }} {{ download.unpackingQueued | date: "mediumTime" }} } @else { (not queued for unpacking yet) }
@if (download.unpackingStarted) { {{ download.unpackingStarted | date: "fullDate" }} {{ download.unpackingStarted | date: "mediumTime" }} } @else { (not started unpacking yet) }
@if (download.unpackingFinished) { {{ download.unpackingFinished | date: "fullDate" }} {{ download.unpackingFinished | date: "mediumTime" }} } @else { (not finished unpacking yet) }
@if (download.completed) { {{ download.completed | date: "fullDate" }} {{ download.completed | date: "mediumTime" }} } @else { (not completed yet) }
}
}