Transfers

{formatSpeed(totalDownloadSpeed)}
{#if torrents.length === 0}
Drop your .torrent file here
or use the buttons above
{:else}
{#each torrents as t (t.infoHash)}
openModal(t)}> {#if t.thumbnail} thumb e.target.classList.add("loaded")} /> {:else}
{/if}
{t.name}
{#if t.type === "youtube"}
Added: {formatDate(t.added)}
{/if}
{#if t.type !== "youtube"} {/if}
{#if t.type === "youtube"} Source: YouTube | Added: {t.added ? formatDate(t.added) : "Unknown"} {:else} Hash: {t.infoHash} | Tracker: {t.tracker ?? "Unknown"} | Added: {t.added ? formatDate(t.added) : "Unknown"} {/if}
{#if t.files && t.files.length}
{#each t.files as f}
{f.name}
{(f.length / 1e6).toFixed(1)} MB
{/each}
{/if}
{#if (t.progress || 0) < 1} {(t.progress * 100).toFixed(1)}% • {t.downloaded ? (t.downloaded / 1e6).toFixed(1) : 0} MB • {formatSpeed(t.downloadSpeed)} ↓ {#if t.type !== "youtube"} • {t.numPeers ?? 0} peers {/if} {:else} 100.0% • {(t.downloaded / 1e6).toFixed(1)} MB {/if}
{#if t.status === "error"}
Download failed
{/if}
{/each} {#if pageDragOverlay}
Drop to add torrent
{/if}
{/if}
{#if showModal && selectedVideo} {/if}