Compare commits
No commits in common. "b93617ace9146f443a8281924e1944a0b41bb603" and "05fae3209d8a7fe431831182176fdaa67fbc380b" have entirely different histories.
b93617ace9
...
05fae3209d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "multi-hoster-uploader",
|
||||
"version": "3.3.57",
|
||||
"version": "3.3.56",
|
||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -1800,12 +1800,10 @@ function _markSkippedJobs(result) {
|
||||
|
||||
async function startSelectedUpload() {
|
||||
if (uploading) {
|
||||
const addable = queueJobs.filter(j => selectedJobIds.has(j.id) && isStartableQueueStatus(j.status));
|
||||
if (addable.length === 0) {
|
||||
if (selectedJobIds.size > 0) showCopyToast('Keine startbaren Jobs ausgewählt (alle laufen schon oder sind fertig).');
|
||||
return;
|
||||
}
|
||||
{
|
||||
// Batch already running — add selected jobs (queued/error/aborted/skipped) to running batch
|
||||
// Upload-manager has duplicate protection (skips jobs already tracked)
|
||||
const addable = queueJobs.filter(j => selectedJobIds.has(j.id) && ['queued', 'error', 'aborted', 'skipped'].includes(j.status));
|
||||
if (addable.length > 0) {
|
||||
addable.forEach(j => {
|
||||
j.status = 'queued'; j.error = null; j.result = null;
|
||||
j.bytesUploaded = 0; j.speedKbs = 0; j.progress = 0; j.uploadId = null;
|
||||
@ -1850,6 +1848,7 @@ async function startSelectedUpload() {
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
uploading = true; // set immediately to prevent double-click race
|
||||
updateQueueActionButtons();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user