Compare commits
No commits in common. "39b3971bbe46fecec9cf4419b4b700c65b1a64a8" and "3a890301a5466376df13b5200739027cf371d6b5" have entirely different histories.
39b3971bbe
...
3a890301a5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "multi-hoster-uploader",
|
||||
"version": "2.5.2",
|
||||
"version": "2.5.1",
|
||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -1346,18 +1346,12 @@ async function startSelectedUpload() {
|
||||
const hosters = getSelectedHosters();
|
||||
if (hosters.length === 0) { alert('Bitte mindestens einen Hoster auswählen.'); uploading = false; updateQueueActionButtons(); return; }
|
||||
|
||||
const jobsToStart = queueJobs.filter((job) => selectedJobIds.has(job.id) && ['preview', 'queued', 'error', 'aborted', 'skipped'].includes(job.status));
|
||||
const jobsToStart = queueJobs.filter((job) => selectedJobIds.has(job.id) && (job.status === 'preview' || job.status === 'queued'));
|
||||
if (jobsToStart.length === 0) { uploading = false; updateQueueActionButtons(); return; }
|
||||
|
||||
try {
|
||||
jobsToStart.forEach(j => {
|
||||
j.status = 'queued';
|
||||
j.error = null;
|
||||
j.result = null;
|
||||
j.bytesUploaded = 0;
|
||||
j.speedKbs = 0;
|
||||
j.progress = 0;
|
||||
j.uploadId = null;
|
||||
if (j.status === 'preview') j.status = 'queued';
|
||||
});
|
||||
updateQueueActionButtons();
|
||||
renderQueueTable();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user