<% const formValues = typeof values === 'object' && values ? values : {}; const selectedMode = formValues.mode === 'video' ? 'video' : 'series'; const isSeries = selectedMode === 'series'; const episodeLimit = typeof maxSeriesEpisodes === 'number' ? maxSeriesEpisodes : 500; const destination = typeof outputDir === 'string' ? outputDir : 'Configured media folder'; const submissionError = typeof formError === 'string' ? formError : ''; const savedToken = typeof tokenStatus === 'object' && tokenStatus ? tokenStatus : { available: false, state: 'unknown' }; const languages = [['engsub', 'English subtitles'], ['engdub', 'English dub'], ['gersub', 'German subtitles'], ['gerdub', 'German dub']]; %> <%- include('partials/header', { activePage: 'download' }) %>

YOUR DOWNLOAD LIBRARY

New download

Queue a series or a single episode. Your workers take it from here.

View queue

Download details

Fields marked * are required
<% if (submissionError) { %> <% } %>

<%= isSeries ? 'Enter the title without season or episode numbers. Season, episode and language are added automatically. Leave blank to use the series ID.' : 'Enter a filename without .mp4. Leave blank to use the series ID, episode and language.' %>

<%= savedToken.available ? 'Token saved' : savedToken.state === 'invalid' ? 'Replacement needed' : savedToken.state === 'missing' ? 'No token saved' : 'Saved token checked on submission' %>

<%= savedToken.available ? 'Leave the field blank to reuse it. Download access is checked again every time you add to the queue.' : savedToken.state === 'invalid' ? 'The saved token was rejected. Paste a fresh token to continue.' : savedToken.state === 'missing' ? 'Paste a token once. After a successful access check, it is saved for future submissions.' : savedToken.state === 'unavailable' ? 'Saved-token status is unavailable. Submission will retry the check before adding any jobs.' : 'Leave blank to try the saved token, or paste a replacement.' %>

<% if (savedToken.lastValidatedAt && Number.isFinite(new Date(savedToken.lastValidatedAt).getTime())) { %>

Last access check:

<% } %>

Paste the cookie value only. A working token is stored in MongoDB and is never sent back to the browser. The first episode's source is checked before any jobs are added.

Downloads start when a worker is available.
<%- include('partials/footer') %>