Compare commits
No commits in common. "ead6f971158aec247763543aa47c71f0b7b4a32c" and "6bd49d80b118aced92ae81e5cc673421f55574d9" have entirely different histories.
ead6f97115
...
6bd49d80b1
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "multi-hoster-uploader",
|
||||
"version": "2.6.1",
|
||||
"version": "2.6.0",
|
||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -1354,8 +1354,8 @@ function _markSkippedJobs(result) {
|
||||
|
||||
async function startSelectedUpload() {
|
||||
if (uploading) {
|
||||
// Batch already running — only add error/aborted/skipped jobs (not already-queued ones)
|
||||
const retryable = queueJobs.filter(j => selectedJobIds.has(j.id) && ['error', 'aborted', 'skipped'].includes(j.status));
|
||||
// Batch already running — add selected jobs to the running batch
|
||||
const retryable = queueJobs.filter(j => selectedJobIds.has(j.id) && ['queued', 'error', 'aborted', 'skipped'].includes(j.status));
|
||||
if (retryable.length > 0) {
|
||||
retryable.forEach(j => {
|
||||
j.status = 'queued'; j.error = null; j.result = null;
|
||||
@ -1367,13 +1367,6 @@ async function startSelectedUpload() {
|
||||
});
|
||||
_markSkippedJobs(result);
|
||||
persistQueueStateSoon();
|
||||
showCopyToast(`${retryable.length} Jobs zum laufenden Upload hinzugefügt`);
|
||||
} else {
|
||||
// All selected jobs are already queued/uploading — just inform user
|
||||
const waiting = queueJobs.filter(j => selectedJobIds.has(j.id) && j.status === 'queued');
|
||||
if (waiting.length > 0) {
|
||||
showCopyToast(`${waiting.length} Jobs warten bereits auf ihren Upload-Slot`);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user