feat: 플레이리스트 실패 항목 재시도 버튼 + API
실패한 다운로드는 영상 레코드가 남아 같은 ID 재등록이 막혔고, 진행 화면의 "개별로 다시 시도" 안내에 실제 버튼이 없었다. 실패 행에 "재시도" 버튼을 추가하고 POST /op/job/:id/retry 로 같은 ID·URL·자르기 설정으로 새 잡을 시작한다. retryDownloadJob 은 기존 영상 레코드를 재사용(레코드가 지워졌으면 같은 ID로 복원) 하므로 UNIQUE 충돌 없이 재시도된다. 연령 제한 영상은 쿠키 등록 후 재시도하면 받힌다. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
This commit is contained in:
@@ -505,7 +505,7 @@ body.siteBody.centerLayout { display: flex; align-items: center; justify-content
|
||||
.progressList { list-style: none; margin: 0; padding: 0;
|
||||
display: flex; flex-direction: column; gap: 8px; }
|
||||
.progressRow {
|
||||
display: grid; grid-template-columns: 1fr 180px auto; align-items: center;
|
||||
display: grid; grid-template-columns: 1fr 180px auto auto; align-items: center;
|
||||
gap: 12px; background: var(--bg-card); border: 1px solid var(--border);
|
||||
border-radius: 10px; padding: 10px 14px;
|
||||
}
|
||||
@@ -516,9 +516,11 @@ body.siteBody.centerLayout { display: flex; align-items: center; justify-content
|
||||
.progressBar { width: 100%; height: 10px; }
|
||||
.progressBar.progressBarError::-webkit-progress-value { background: #e5534b; }
|
||||
.progressMsg { font-size: 12px; white-space: nowrap; text-align: right; }
|
||||
.progressRetry { padding: 4px 12px; font-size: 12px; white-space: nowrap; justify-self: end; }
|
||||
.progressRowDone { border-color: #2ea043; }
|
||||
.progressRowError { border-color: #e5534b; }
|
||||
@media (max-width: 640px) {
|
||||
.progressRow { grid-template-columns: 1fr; gap: 6px; }
|
||||
.progressMsg { text-align: left; }
|
||||
.progressRetry { justify-self: start; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user