diff --git a/backend/api/routes/jobs.py b/backend/api/routes/jobs.py index a27185b1..28aeff76 100644 --- a/backend/api/routes/jobs.py +++ b/backend/api/routes/jobs.py @@ -18,6 +18,7 @@ from typing import List, Optional, Dict, Any from fastapi import APIRouter, HTTPException, BackgroundTasks, Depends, Request, UploadFile, File from datetime import datetime, timezone +from google.cloud.exceptions import NotFound from backend.utils.request_helpers import get_client_ip from backend.models.job import Job, JobCreate, JobResponse, JobStatus from backend.models.requests import ( @@ -1646,6 +1647,17 @@ DOWNLOAD_FILENAME_SUFFIXES = { } +def _cleanup_temp_file(path: Optional[str]) -> None: + """Best-effort removal of a temp file created for a download that failed + before streaming started (so it never reaches the iterator's cleanup).""" + if not path: + return + try: + os.unlink(path) + except OSError: + pass + + @router.get("/{job_id}/download/{category}/{file_key}") async def download_file( job_id: str, @@ -1719,6 +1731,11 @@ async def download_file( else: filename = gcs_path.split('/')[-1] # Fallback to original + # Created below with delete=False; the streaming iterator's finally removes it + # on the happy path. If download/setup raises before streaming starts, the + # except handlers below unlink it so failed (e.g. 404) requests don't leak + # temp files and fill local disk. + tmp_path = None try: # Download to temp file and stream storage = StorageService() @@ -1754,7 +1771,16 @@ async def download_file( 'Content-Disposition': content_disposition } ) + except NotFound: + # The recorded output is gone from GCS (e.g. a stale download link hit + # mid-reprocess after a visibility change / edit deleted the finals). This + # is "not found", not a server error — return 404 and log at warning so it + # doesn't trip the error-monitor. + _cleanup_temp_file(tmp_path) + logger.warning(f"Download requested for missing object {gcs_path}") + raise HTTPException(status_code=404, detail=t(locale, "jobs.fileNoLongerAvailable")) except Exception as e: + _cleanup_temp_file(tmp_path) logger.error(f"Error downloading {gcs_path}: {e}") raise HTTPException(status_code=500, detail=f"Error downloading file: {e}") diff --git a/backend/services/storage_service.py b/backend/services/storage_service.py index 2d4dd785..8f06d1ce 100644 --- a/backend/services/storage_service.py +++ b/backend/services/storage_service.py @@ -55,6 +55,12 @@ class StorageService: blob.download_to_filename(destination_path) logger.info(f"Downloaded gs://{settings.gcs_bucket_name}/{source_path} to {destination_path}") return destination_path + except NotFound: + # A missing object is a routine "not found", not a server-side failure. + # Log at warning so it doesn't trip the error-monitor, and let the caller + # decide how to surface it (e.g. the download route returns HTTP 404). + logger.warning(f"Object not found downloading {source_path}") + raise except Exception as e: logger.error(f"Error downloading file {source_path}: {e}") raise diff --git a/backend/services/visibility_change_service.py b/backend/services/visibility_change_service.py index f1bd4bda..84ad212d 100644 --- a/backend/services/visibility_change_service.py +++ b/backend/services/visibility_change_service.py @@ -141,7 +141,11 @@ class VisibilityChangeService: f"jobs/{job_id}/videos/with_vocals.mov", ]: try: - storage.delete_file(path) + # Best-effort delete over a template of possible artifacts; many of + # these intermediates legitimately never existed for a given render + # path. ignore_missing keeps a 404 a quiet no-op instead of a noisy + # ERROR log (which would otherwise trip the error-monitor). + storage.delete_file(path, ignore_missing=True) except Exception: pass diff --git a/backend/tests/test_change_visibility.py b/backend/tests/test_change_visibility.py index c698362e..9ccf8371 100644 --- a/backend/tests/test_change_visibility.py +++ b/backend/tests/test_change_visibility.py @@ -179,6 +179,37 @@ class TestChangeToPublic: mock_worker.trigger_screens_worker.assert_called_once_with("test-123") mock_theme.assert_called_once_with(job_id="test-123", theme_id="nomad") + @pytest.mark.asyncio + async def test_intermediate_deletes_ignore_missing(self): + """Best-effort deletes of intermediate render artifacts must pass + ignore_missing=True so absent .mov/.mkv files are a quiet no-op instead + of a noisy ERROR log that trips the error-monitor (regression).""" + mock_job_manager = MagicMock() + mock_job_ref = MagicMock() + mock_job_manager.firestore.db.collection.return_value.document.return_value = mock_job_ref + + service = VisibilityChangeService(job_manager=mock_job_manager) + job = _make_job(is_private=True, state_data={}) + + with patch("backend.services.visibility_change_service.VisibilityChangeService._delete_distributed_outputs", new_callable=AsyncMock), \ + patch("backend.services.visibility_change_service.StorageService") as mock_storage_cls, \ + patch("backend.api.routes.file_upload._prepare_theme_for_job", return_value=("jobs/test-123/style/style_params.json", {"bg": "bg.png"}, None)), \ + patch("backend.services.worker_service.get_worker_service") as mock_worker_svc: + + mock_storage = MagicMock() + mock_storage_cls.return_value = mock_storage + mock_worker = MagicMock() + mock_worker.trigger_screens_worker = AsyncMock(return_value=True) + mock_worker_svc.return_value = mock_worker + + await service.change_to_public("test-123", job, "user@example.com") + + assert mock_storage.delete_file.call_count > 0 + for call in mock_storage.delete_file.call_args_list: + assert call.kwargs.get("ignore_missing") is True, ( + f"delete_file called without ignore_missing=True: {call}" + ) + @pytest.mark.asyncio async def test_resets_styles_to_nomad_theme(self): mock_job_manager = MagicMock() diff --git a/backend/tests/test_storage_service.py b/backend/tests/test_storage_service.py index 7202b054..73e4da4c 100644 --- a/backend/tests/test_storage_service.py +++ b/backend/tests/test_storage_service.py @@ -206,9 +206,34 @@ class TestStorageServiceDownload: with pytest.raises(Exception) as exc_info: service.download_file("missing/file.flac", "/local/path") - + assert "File not found" in str(exc_info.value) - + + @patch("backend.services.storage_service.storage.Client") + @patch("backend.services.storage_service.settings") + def test_download_file_missing_reraises_notfound(self, mock_settings, mock_client_class): + """A 404 from GCS re-raises NotFound (so callers can map it to HTTP 404) + and is logged at warning, not error, to avoid tripping the error-monitor.""" + from google.cloud.exceptions import NotFound + + mock_settings.google_cloud_project = "test-project" + mock_settings.gcs_bucket_name = "test-bucket" + + mock_blob = Mock() + mock_blob.download_to_filename.side_effect = NotFound("No such object") + mock_bucket = Mock() + mock_bucket.blob.return_value = mock_blob + mock_client = Mock() + mock_client.bucket.return_value = mock_bucket + mock_client_class.return_value = mock_client + + service = StorageService() + with patch("backend.services.storage_service.logger") as mock_logger: + with pytest.raises(NotFound): + service.download_file("jobs/abc/finals/lossy_4k_mp4.mp4", "/local/path") + mock_logger.error.assert_not_called() + mock_logger.warning.assert_called_once() + @patch("backend.services.storage_service.storage.Client") @patch("backend.services.storage_service.settings") def test_download_json(self, mock_settings, mock_client_class): diff --git a/backend/translations/.en-snapshot.json b/backend/translations/.en-snapshot.json index 15b9e65e..23936018 100644 --- a/backend/translations/.en-snapshot.json +++ b/backend/translations/.en-snapshot.json @@ -14,6 +14,7 @@ "authError": "Authentication error: no user identity available", "noDefaultTheme": "No default theme configured. Please contact support or specify a theme_id.", "notFound": "Job not found", + "fileNoLongerAvailable": "File no longer available", "noPermissionAccess": "You don't have permission to access this job", "noPermissionEdit": "You don't have permission to edit this job", "noPermissionDelete": "You don't have permission to delete this job", diff --git a/backend/translations/ar.json b/backend/translations/ar.json index c72157eb..32850722 100644 --- a/backend/translations/ar.json +++ b/backend/translations/ar.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection غير صالح. يجب أن يكون واحدًا من: {valid_selections}", "instrumentalSelected": "تم تحديد المسار الموسيقي. بدأ إنشاء الفيديو.", "instrumentalSelectionError": "خطأ في تحديد المسار الموسيقي للمهمة {job_id}: {error}", - "downloadUrlsError": "خطأ في الحصول على روابط التنزيل: {error}" + "downloadUrlsError": "خطأ في الحصول على روابط التنزيل: {error}", + "fileNoLongerAvailable": "الملف لم يعد متاحاً" }, "review": { "jobNotFound": "المهمة غير موجودة", diff --git a/backend/translations/ca.json b/backend/translations/ca.json index c1e9ce75..ca8b8baf 100644 --- a/backend/translations/ca.json +++ b/backend/translations/ca.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection no vàlid. Ha de ser un de: {valid_selections}", "instrumentalSelected": "Pista instrumental seleccionada. S'ha iniciat la generació del vídeo.", "instrumentalSelectionError": "Error en seleccionar la pista instrumental per a la tasca {job_id}: {error}", - "downloadUrlsError": "Error en obtenir els URL de descàrrega: {error}" + "downloadUrlsError": "Error en obtenir els URL de descàrrega: {error}", + "fileNoLongerAvailable": "El fitxer ja no està disponible" }, "review": { "jobNotFound": "Tasca no trobada", diff --git a/backend/translations/cs.json b/backend/translations/cs.json index 7d0bfcff..bd277f06 100644 --- a/backend/translations/cs.json +++ b/backend/translations/cs.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Neplatné instrumental_selection. Musí být jedno z: {valid_selections}", "instrumentalSelected": "Instrumentál vybrán. Začalo generování videa.", "instrumentalSelectionError": "Chyba při výběru instrumentálu pro úlohu {job_id}: {error}", - "downloadUrlsError": "Chyba při získávání adres URL ke stažení: {error}" + "downloadUrlsError": "Chyba při získávání adres URL ke stažení: {error}", + "fileNoLongerAvailable": "Soubor již není dostupný" }, "review": { "jobNotFound": "Úloha nebyla nalezena", diff --git a/backend/translations/da.json b/backend/translations/da.json index ad1d3dec..1ba25cff 100644 --- a/backend/translations/da.json +++ b/backend/translations/da.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Ugyldig instrumental_selection. Skal være en af: {valid_selections}", "instrumentalSelected": "Instrumental valgt. Videogenerering er startet.", "instrumentalSelectionError": "Fejl ved valg af instrumental for job {job_id}: {error}", - "downloadUrlsError": "Fejl ved hentning af download-URL'er: {error}" + "downloadUrlsError": "Fejl ved hentning af download-URL'er: {error}", + "fileNoLongerAvailable": "Filen er ikke længere tilgængelig" }, "review": { "jobNotFound": "Jobbet blev ikke fundet", diff --git a/backend/translations/de.json b/backend/translations/de.json index 7c63e5f9..1973be68 100644 --- a/backend/translations/de.json +++ b/backend/translations/de.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Ungültige instrumental_selection. Muss eines der folgenden sein: {valid_selections}", "instrumentalSelected": "Instrumental ausgewählt. Video-Generierung gestartet.", "instrumentalSelectionError": "Fehler bei der Auswahl des Instrumentals für Auftrag {job_id}: {error}", - "downloadUrlsError": "Fehler beim Abrufen der Download-URLs: {error}" + "downloadUrlsError": "Fehler beim Abrufen der Download-URLs: {error}", + "fileNoLongerAvailable": "Datei nicht mehr verfügbar" }, "review": { "jobNotFound": "Auftrag nicht gefunden", diff --git a/backend/translations/el.json b/backend/translations/el.json index a7a0467d..9ecfbdac 100644 --- a/backend/translations/el.json +++ b/backend/translations/el.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Μη έγκυρο instrumental_selection. Πρέπει να είναι ένα από τα: {valid_selections}", "instrumentalSelected": "Το instrumental επιλέχθηκε. Ξεκίνησε η δημιουργία βίντεο.", "instrumentalSelectionError": "Σφάλμα κατά την επιλογή instrumental για την εργασία {job_id}: {error}", - "downloadUrlsError": "Σφάλμα κατά τη λήψη των URL λήψης: {error}" + "downloadUrlsError": "Σφάλμα κατά τη λήψη των URL λήψης: {error}", + "fileNoLongerAvailable": "Το αρχείο δεν είναι πλέον διαθέσιμο" }, "review": { "jobNotFound": "Η εργασία δεν βρέθηκε", diff --git a/backend/translations/en.json b/backend/translations/en.json index 15b9e65e..23936018 100644 --- a/backend/translations/en.json +++ b/backend/translations/en.json @@ -14,6 +14,7 @@ "authError": "Authentication error: no user identity available", "noDefaultTheme": "No default theme configured. Please contact support or specify a theme_id.", "notFound": "Job not found", + "fileNoLongerAvailable": "File no longer available", "noPermissionAccess": "You don't have permission to access this job", "noPermissionEdit": "You don't have permission to edit this job", "noPermissionDelete": "You don't have permission to delete this job", diff --git a/backend/translations/es.json b/backend/translations/es.json index d7c88607..2594b54e 100644 --- a/backend/translations/es.json +++ b/backend/translations/es.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection inválido. Debe ser uno de: {valid_selections}", "instrumentalSelected": "Instrumental seleccionado. Generación de video iniciada.", "instrumentalSelectionError": "Error al seleccionar el instrumental para el trabajo {job_id}: {error}", - "downloadUrlsError": "Error al obtener las URLs de descarga: {error}" + "downloadUrlsError": "Error al obtener las URLs de descarga: {error}", + "fileNoLongerAvailable": "El archivo ya no está disponible" }, "review": { "jobNotFound": "Trabajo no encontrado", diff --git a/backend/translations/fi.json b/backend/translations/fi.json index e6ebc3b1..88f0c965 100644 --- a/backend/translations/fi.json +++ b/backend/translations/fi.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Virheellinen instrumental_selection. Täytyy olla jokin näistä: {valid_selections}", "instrumentalSelected": "Instrumentaali valittu. Videon luonti aloitettu.", "instrumentalSelectionError": "Virhe valittaessa instrumentaalia työlle {job_id}: {error}", - "downloadUrlsError": "Virhe haettaessa latausosoitteita: {error}" + "downloadUrlsError": "Virhe haettaessa latausosoitteita: {error}", + "fileNoLongerAvailable": "Tiedosto ei ole enää saatavilla" }, "review": { "jobNotFound": "Työtä ei löytynyt", diff --git a/backend/translations/fr.json b/backend/translations/fr.json index b504e81d..b697012e 100644 --- a/backend/translations/fr.json +++ b/backend/translations/fr.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection invalide. Doit être l'un de : {valid_selections}", "instrumentalSelected": "Instrumental sélectionné. La génération de la vidéo a commencé.", "instrumentalSelectionError": "Erreur lors de la sélection de l'instrumental pour la tâche {job_id} : {error}", - "downloadUrlsError": "Erreur lors de l'obtention des URL de téléchargement : {error}" + "downloadUrlsError": "Erreur lors de l'obtention des URL de téléchargement : {error}", + "fileNoLongerAvailable": "Le fichier n'est plus disponible" }, "review": { "jobNotFound": "Tâche introuvable", diff --git a/backend/translations/he.json b/backend/translations/he.json index 4f44d334..a6aede86 100644 --- a/backend/translations/he.json +++ b/backend/translations/he.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "בחירת instrumental_selection לא חוקית. חייב להיות אחד מ: {valid_selections}", "instrumentalSelected": "הפלייבק נבחר. יצירת הווידאו התחילה.", "instrumentalSelectionError": "שגיאה בבחירת פלייבק עבור המשימה {job_id}: {error}", - "downloadUrlsError": "שגיאה בקבלת כתובות ההורדה: {error}" + "downloadUrlsError": "שגיאה בקבלת כתובות ההורדה: {error}", + "fileNoLongerAvailable": "הקובץ אינו זמין יותר" }, "review": { "jobNotFound": "המשימה לא נמצאה", diff --git a/backend/translations/hi.json b/backend/translations/hi.json index 1d5d5ead..c3e7f2e0 100644 --- a/backend/translations/hi.json +++ b/backend/translations/hi.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "अमान्य instrumental_selection। इनमें से एक होना चाहिए: {valid_selections}", "instrumentalSelected": "इंस्ट्रुमेंटल चुना गया। वीडियो जनरेशन शुरू हो गया है।", "instrumentalSelectionError": "जॉब {job_id} के लिए इंस्ट्रुमेंटल चुनने में त्रुटि: {error}", - "downloadUrlsError": "डाउनलोड URLs प्राप्त करने में त्रुटि: {error}" + "downloadUrlsError": "डाउनलोड URLs प्राप्त करने में त्रुटि: {error}", + "fileNoLongerAvailable": "फ़ाइल अब उपलब्ध नहीं है" }, "review": { "jobNotFound": "जॉब नहीं मिली", diff --git a/backend/translations/hr.json b/backend/translations/hr.json index c938a195..8fb4d442 100644 --- a/backend/translations/hr.json +++ b/backend/translations/hr.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Nevažeći instrumental_selection. Mora biti jedno od: {valid_selections}", "instrumentalSelected": "Instrumental je odabran. Generiranje videa je započelo.", "instrumentalSelectionError": "Pogreška pri odabiru instrumentala za zadatak {job_id}: {error}", - "downloadUrlsError": "Pogreška pri dohvaćanju URL-ova za preuzimanje: {error}" + "downloadUrlsError": "Pogreška pri dohvaćanju URL-ova za preuzimanje: {error}", + "fileNoLongerAvailable": "Datoteka više nije dostupna" }, "review": { "jobNotFound": "Zadatak nije pronađen", diff --git a/backend/translations/hu.json b/backend/translations/hu.json index 4fbef84c..590611d6 100644 --- a/backend/translations/hu.json +++ b/backend/translations/hu.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Érvénytelen instrumental_selection. A következők egyike kell legyen: {valid_selections}", "instrumentalSelected": "Instrumentális sáv kiválasztva. A videó generálása megkezdődött.", "instrumentalSelectionError": "Hiba a(z) {job_id} feladat instrumentális sávjának kiválasztásakor: {error}", - "downloadUrlsError": "Hiba a letöltési URL-ek lekérésekor: {error}" + "downloadUrlsError": "Hiba a letöltési URL-ek lekérésekor: {error}", + "fileNoLongerAvailable": "A fájl már nem elérhető" }, "review": { "jobNotFound": "A feladat nem található", diff --git a/backend/translations/id.json b/backend/translations/id.json index 311bd29f..4a5d54e8 100644 --- a/backend/translations/id.json +++ b/backend/translations/id.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection tidak valid. Harus salah satu dari: {valid_selections}", "instrumentalSelected": "Instrumental dipilih. Pembuatan video dimulai.", "instrumentalSelectionError": "Kesalahan saat memilih instrumental untuk tugas {job_id}: {error}", - "downloadUrlsError": "Kesalahan saat mendapatkan URL unduhan: {error}" + "downloadUrlsError": "Kesalahan saat mendapatkan URL unduhan: {error}", + "fileNoLongerAvailable": "File sudah tidak tersedia" }, "review": { "jobNotFound": "Tugas tidak ditemukan", diff --git a/backend/translations/it.json b/backend/translations/it.json index dafe251d..8ba69682 100644 --- a/backend/translations/it.json +++ b/backend/translations/it.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection non valido. Deve essere uno tra: {valid_selections}", "instrumentalSelected": "Strumentale selezionata. Generazione del video avviata.", "instrumentalSelectionError": "Errore durante la selezione della strumentale per il lavoro {job_id}: {error}", - "downloadUrlsError": "Errore durante il recupero degli URL di download: {error}" + "downloadUrlsError": "Errore durante il recupero degli URL di download: {error}", + "fileNoLongerAvailable": "File non più disponibile" }, "review": { "jobNotFound": "Lavoro non trovato", diff --git a/backend/translations/ja.json b/backend/translations/ja.json index 146beb74..d572f486 100644 --- a/backend/translations/ja.json +++ b/backend/translations/ja.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "無効な instrumental_selection です。次のいずれかである必要があります: {valid_selections}", "instrumentalSelected": "インストゥルメンタルが選択されました。動画の生成を開始しました。", "instrumentalSelectionError": "ジョブ {job_id} のインストゥルメンタル選択中にエラーが発生しました: {error}", - "downloadUrlsError": "ダウンロードURLの取得中にエラーが発生しました: {error}" + "downloadUrlsError": "ダウンロードURLの取得中にエラーが発生しました: {error}", + "fileNoLongerAvailable": "ファイルはご利用いただけなくなりました" }, "review": { "jobNotFound": "ジョブが見つかりません", diff --git a/backend/translations/ko.json b/backend/translations/ko.json index 61df24f1..402d330e 100644 --- a/backend/translations/ko.json +++ b/backend/translations/ko.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "잘못된 instrumental_selection입니다. 다음 중 하나여야 합니다: {valid_selections}", "instrumentalSelected": "반주가 선택되었습니다. 비디오 생성이 시작되었습니다.", "instrumentalSelectionError": "작업 {job_id}의 반주 선택 중 오류 발생: {error}", - "downloadUrlsError": "다운로드 URL을 가져오는 중 오류 발생: {error}" + "downloadUrlsError": "다운로드 URL을 가져오는 중 오류 발생: {error}", + "fileNoLongerAvailable": "파일을 더 이상 사용할 수 없습니다" }, "review": { "jobNotFound": "작업을 찾을 수 없습니다", diff --git a/backend/translations/ms.json b/backend/translations/ms.json index eb8eedb5..6640f6c2 100644 --- a/backend/translations/ms.json +++ b/backend/translations/ms.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection tidak sah. Mesti salah satu daripada: {valid_selections}", "instrumentalSelected": "Instrumental dipilih. Penjanaan video bermula.", "instrumentalSelectionError": "Ralat memilih instrumental untuk tugasan {job_id}: {error}", - "downloadUrlsError": "Ralat mendapatkan URL muat turun: {error}" + "downloadUrlsError": "Ralat mendapatkan URL muat turun: {error}", + "fileNoLongerAvailable": "Fail tidak lagi tersedia" }, "review": { "jobNotFound": "Tugasan tidak dijumpai", diff --git a/backend/translations/nb.json b/backend/translations/nb.json index 094a0562..6168111f 100644 --- a/backend/translations/nb.json +++ b/backend/translations/nb.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Ugyldig instrumental_selection. Må være en av: {valid_selections}", "instrumentalSelected": "Instrumental valgt. Videogenerering startet.", "instrumentalSelectionError": "Feil ved valg av instrumental for jobb {job_id}: {error}", - "downloadUrlsError": "Feil ved henting av nedlastings-URL-er: {error}" + "downloadUrlsError": "Feil ved henting av nedlastings-URL-er: {error}", + "fileNoLongerAvailable": "Filen er ikke lenger tilgjengelig" }, "review": { "jobNotFound": "Jobben ble ikke funnet", diff --git a/backend/translations/nl.json b/backend/translations/nl.json index 9b3ff06e..a8d9ba2d 100644 --- a/backend/translations/nl.json +++ b/backend/translations/nl.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Ongeldige instrumental_selection. Moet een van de volgende zijn: {valid_selections}", "instrumentalSelected": "Instrumental geselecteerd. Videogeneratie is gestart.", "instrumentalSelectionError": "Fout bij het selecteren van instrumental voor taak {job_id}: {error}", - "downloadUrlsError": "Fout bij het ophalen van download-URL's: {error}" + "downloadUrlsError": "Fout bij het ophalen van download-URL's: {error}", + "fileNoLongerAvailable": "Bestand niet meer beschikbaar" }, "review": { "jobNotFound": "Taak niet gevonden", diff --git a/backend/translations/pl.json b/backend/translations/pl.json index d8b247f0..6162c630 100644 --- a/backend/translations/pl.json +++ b/backend/translations/pl.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Nieprawidłowe instrumental_selection. Musi to być jedno z: {valid_selections}", "instrumentalSelected": "Wybrano podkład. Rozpoczęto generowanie wideo.", "instrumentalSelectionError": "Błąd podczas wybierania podkładu dla zadania {job_id}: {error}", - "downloadUrlsError": "Błąd podczas pobierania linków: {error}" + "downloadUrlsError": "Błąd podczas pobierania linków: {error}", + "fileNoLongerAvailable": "Plik nie jest już dostępny" }, "review": { "jobNotFound": "Nie znaleziono zadania", diff --git a/backend/translations/pt.json b/backend/translations/pt.json index f2c72492..e7e46a52 100644 --- a/backend/translations/pt.json +++ b/backend/translations/pt.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection inválido. Deve ser um de: {valid_selections}", "instrumentalSelected": "Instrumental selecionado. Geração de vídeo iniciada.", "instrumentalSelectionError": "Erro ao selecionar instrumental para o job {job_id}: {error}", - "downloadUrlsError": "Erro ao obter URLs de download: {error}" + "downloadUrlsError": "Erro ao obter URLs de download: {error}", + "fileNoLongerAvailable": "O arquivo não está mais disponível" }, "review": { "jobNotFound": "Job não encontrado", diff --git a/backend/translations/ro.json b/backend/translations/ro.json index 20127a58..0603d7a8 100644 --- a/backend/translations/ro.json +++ b/backend/translations/ro.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection invalid. Trebuie să fie unul dintre: {valid_selections}", "instrumentalSelected": "Instrumental selectat. A început generarea videoclipului.", "instrumentalSelectionError": "Eroare la selectarea instrumentalului pentru jobul {job_id}: {error}", - "downloadUrlsError": "Eroare la obținerea adreselor URL de descărcare: {error}" + "downloadUrlsError": "Eroare la obținerea adreselor URL de descărcare: {error}", + "fileNoLongerAvailable": "Fișierul nu mai este disponibil" }, "review": { "jobNotFound": "Jobul nu a fost găsit", diff --git a/backend/translations/ru.json b/backend/translations/ru.json index 2679daa3..8c998035 100644 --- a/backend/translations/ru.json +++ b/backend/translations/ru.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Недопустимый instrumental_selection. Должно быть одно из: {valid_selections}", "instrumentalSelected": "Инструментал выбран. Началась генерация видео.", "instrumentalSelectionError": "Ошибка при выборе инструментала для задачи {job_id}: {error}", - "downloadUrlsError": "Ошибка при получении URL-адресов для скачивания: {error}" + "downloadUrlsError": "Ошибка при получении URL-адресов для скачивания: {error}", + "fileNoLongerAvailable": "Файл больше недоступен" }, "review": { "jobNotFound": "Задача не найдена", diff --git a/backend/translations/sk.json b/backend/translations/sk.json index fc1e9b7e..c5b1a653 100644 --- a/backend/translations/sk.json +++ b/backend/translations/sk.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Neplatný výber inštrumentálu. Musí byť jeden z: {valid_selections}", "instrumentalSelected": "Inštrumentál bol vybraný. Začalo sa generovanie videa.", "instrumentalSelectionError": "Chyba pri výbere inštrumentálu pre úlohu {job_id}: {error}", - "downloadUrlsError": "Chyba pri získavaní adries URL na stiahnutie: {error}" + "downloadUrlsError": "Chyba pri získavaní adries URL na stiahnutie: {error}", + "fileNoLongerAvailable": "Súbor už nie je dostupný" }, "review": { "jobNotFound": "Úloha sa nenašla", diff --git a/backend/translations/sv.json b/backend/translations/sv.json index eebfd9a6..18132e6d 100644 --- a/backend/translations/sv.json +++ b/backend/translations/sv.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Ogiltigt instrumental_selection. Måste vara en av: {valid_selections}", "instrumentalSelected": "Instrumental vald. Videogenereringen har startat.", "instrumentalSelectionError": "Fel vid val av instrumental för jobb {job_id}: {error}", - "downloadUrlsError": "Fel vid hämtning av nedladdningslänkar: {error}" + "downloadUrlsError": "Fel vid hämtning av nedladdningslänkar: {error}", + "fileNoLongerAvailable": "Filen är inte längre tillgänglig" }, "review": { "jobNotFound": "Jobbet hittades inte", diff --git a/backend/translations/th.json b/backend/translations/th.json index 8fa14856..6dd3d9c8 100644 --- a/backend/translations/th.json +++ b/backend/translations/th.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection ไม่ถูกต้อง ต้องเป็นหนึ่งใน: {valid_selections}", "instrumentalSelected": "เลือกดนตรีบรรเลงแล้ว กำลังเริ่มสร้างวิดีโอ", "instrumentalSelectionError": "เกิดข้อผิดพลาดในการเลือกดนตรีบรรเลงสำหรับงาน {job_id}: {error}", - "downloadUrlsError": "เกิดข้อผิดพลาดในการรับ URL สำหรับดาวน์โหลด: {error}" + "downloadUrlsError": "เกิดข้อผิดพลาดในการรับ URL สำหรับดาวน์โหลด: {error}", + "fileNoLongerAvailable": "ไฟล์ไม่พร้อมใช้งานแล้ว" }, "review": { "jobNotFound": "ไม่พบงาน", diff --git a/backend/translations/tl.json b/backend/translations/tl.json index ebbb507e..8bc411da 100644 --- a/backend/translations/tl.json +++ b/backend/translations/tl.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Mali ang instrumental_selection. Dapat isa sa: {valid_selections}", "instrumentalSelected": "Napili na ang instrumental. Nagsimula na ang paggawa ng video.", "instrumentalSelectionError": "Error sa pagpili ng instrumental para sa job {job_id}: {error}", - "downloadUrlsError": "Error sa pagkuha ng mga download URL: {error}" + "downloadUrlsError": "Error sa pagkuha ng mga download URL: {error}", + "fileNoLongerAvailable": "Hindi na available ang file" }, "review": { "jobNotFound": "Hindi nahanap ang job", diff --git a/backend/translations/tr.json b/backend/translations/tr.json index 41581531..40b79b32 100644 --- a/backend/translations/tr.json +++ b/backend/translations/tr.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Geçersiz instrumental_selection. Şunlardan biri olmalıdır: {valid_selections}", "instrumentalSelected": "Enstrümantal seçildi. Video oluşturma başladı.", "instrumentalSelectionError": "{job_id} işi için enstrümantal seçme hatası: {error}", - "downloadUrlsError": "İndirme URL'lerini alma hatası: {error}" + "downloadUrlsError": "İndirme URL'lerini alma hatası: {error}", + "fileNoLongerAvailable": "Dosya artık mevcut değil" }, "review": { "jobNotFound": "İş bulunamadı", diff --git a/backend/translations/uk.json b/backend/translations/uk.json index f73c0d30..ac6a45c6 100644 --- a/backend/translations/uk.json +++ b/backend/translations/uk.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "Недійсний instrumental_selection. Має бути одним із: {valid_selections}", "instrumentalSelected": "Інструментал вибрано. Розпочато генерацію відео.", "instrumentalSelectionError": "Помилка вибору інструменталу для завдання {job_id}: {error}", - "downloadUrlsError": "Помилка отримання URL-адрес для завантаження: {error}" + "downloadUrlsError": "Помилка отримання URL-адрес для завантаження: {error}", + "fileNoLongerAvailable": "Файл більше недоступний" }, "review": { "jobNotFound": "Завдання не знайдено", diff --git a/backend/translations/vi.json b/backend/translations/vi.json index 6ef082d0..227bff09 100644 --- a/backend/translations/vi.json +++ b/backend/translations/vi.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "instrumental_selection không hợp lệ. Phải là một trong: {valid_selections}", "instrumentalSelected": "Đã chọn nhạc nền. Đã bắt đầu tạo video.", "instrumentalSelectionError": "Lỗi khi chọn nhạc nền cho công việc {job_id}: {error}", - "downloadUrlsError": "Lỗi khi lấy URL tải xuống: {error}" + "downloadUrlsError": "Lỗi khi lấy URL tải xuống: {error}", + "fileNoLongerAvailable": "Tệp không còn khả dụng" }, "review": { "jobNotFound": "Không tìm thấy công việc", diff --git a/backend/translations/zh.json b/backend/translations/zh.json index 7a701580..65b64435 100644 --- a/backend/translations/zh.json +++ b/backend/translations/zh.json @@ -47,7 +47,8 @@ "invalidInstrumentalSelection": "无效的 instrumental_selection。必须是以下之一:{valid_selections}", "instrumentalSelected": "已选择伴奏。已开始生成视频。", "instrumentalSelectionError": "为任务 {job_id} 选择伴奏时出错:{error}", - "downloadUrlsError": "获取下载 URL 时出错:{error}" + "downloadUrlsError": "获取下载 URL 时出错:{error}", + "fileNoLongerAvailable": "文件已不可用" }, "review": { "jobNotFound": "未找到任务", diff --git a/frontend/__tests__/job-status.test.ts b/frontend/__tests__/job-status.test.ts index 35d787ee..17e18c64 100644 --- a/frontend/__tests__/job-status.test.ts +++ b/frontend/__tests__/job-status.test.ts @@ -2,7 +2,7 @@ * Unit tests for job-status.ts utility functions */ -import { getJobStep, formatStepIndicator, isBlockingStatus, isNotifiableBlockingStatus, getJobProgressPercent, sortJobsByDate, isAutoRetryPending, shouldShowJobOnDashboard, JobStep, STATUS_CONFIG } from '../lib/job-status'; +import { getJobStep, formatStepIndicator, isBlockingStatus, isNotifiableBlockingStatus, getJobProgressPercent, sortJobsByDate, isAutoRetryPending, isWaitingForEncodingCapacity, isVisibilityChangeInProgress, shouldShowJobOnDashboard, JobStep, STATUS_CONFIG } from '../lib/job-status'; import type { Job } from '../lib/api'; // Helper to create a minimal Job object for testing @@ -598,6 +598,38 @@ describe('isAutoRetryPending', () => { }); }); +describe('isWaitingForEncodingCapacity', () => { + it('returns true when parked in render_pending_capacity', () => { + expect(isWaitingForEncodingCapacity(createJob('render_pending_capacity'))).toBe(true); + }); + + it('returns true during an in-flight retry attempt (status flips) with breadcrumb', () => { + const meta = { render_pending_capacity: { attempt_count: 2 } }; + expect(isWaitingForEncodingCapacity(createJob('rendering_video', meta))).toBe(true); + expect(isWaitingForEncodingCapacity(createJob('review_complete', meta))).toBe(true); + }); + + it('returns false for a normal render with no capacity breadcrumb', () => { + expect(isWaitingForEncodingCapacity(createJob('rendering_video'))).toBe(false); + expect(isWaitingForEncodingCapacity(createJob('review_complete', { render_pending_capacity: {} }))).toBe(false); + }); + + it('does not show the note after the render succeeds even if the breadcrumb lingers', () => { + const meta = { render_pending_capacity: { attempt_count: 3 } }; + expect(isWaitingForEncodingCapacity(createJob('encoding', meta))).toBe(false); + expect(isWaitingForEncodingCapacity(createJob('packaging', meta))).toBe(false); + expect(isWaitingForEncodingCapacity(createJob('complete', meta))).toBe(false); + }); +}); + +describe('isVisibilityChangeInProgress', () => { + it('returns true only when the flag is set', () => { + expect(isVisibilityChangeInProgress(createJob('rendering_video', { visibility_change_in_progress: true }))).toBe(true); + expect(isVisibilityChangeInProgress(createJob('rendering_video'))).toBe(false); + expect(isVisibilityChangeInProgress(createJob('complete', {}))).toBe(false); + }); +}); + describe('shouldShowJobOnDashboard', () => { it('shows normal (non-audio-selection) jobs', () => { expect(shouldShowJobOnDashboard({ status: 'complete' })).toBe(true); diff --git a/frontend/components/__tests__/OutputLinks.test.tsx b/frontend/components/__tests__/OutputLinks.test.tsx index 953dfa98..81d25932 100644 --- a/frontend/components/__tests__/OutputLinks.test.tsx +++ b/frontend/components/__tests__/OutputLinks.test.tsx @@ -86,6 +86,48 @@ describe('OutputLinks', () => { expect(screen.getByText('YouTube')).toBeInTheDocument() }) + it('hides GCS downloads + distribution links during a private->public re-render', () => { + // Making public deletes the finals and re-renders (status leaves + // "complete"), so the now-stale download + distribution links must go. + const reRenderJob: Job = { + ...baseJob, + status: 'rendering_video', + state_data: { + ...baseJob.state_data, + visibility_change_in_progress: true, + }, + } + + render() + + expect(screen.queryByText('4K Video')).not.toBeInTheDocument() + expect(screen.queryByText('720p Video')).not.toBeInTheDocument() + expect(screen.queryByText('YouTube')).not.toBeInTheDocument() + expect(screen.queryByText('Dropbox')).not.toBeInTheDocument() + }) + + it('keeps GCS downloads but hides distribution links during a public->private change', () => { + // Making private is the fast path: it keeps the GCS finals and stays + // "complete", only tearing down + redistributing YouTube/Dropbox. + const toPrivateJob: Job = { + ...baseJob, + status: 'complete', + state_data: { + ...baseJob.state_data, + visibility_change_in_progress: true, + }, + } + + render() + + // Finals still available for download + expect(screen.getByText('4K Video')).toBeInTheDocument() + expect(screen.getByText('720p Video')).toBeInTheDocument() + // Distribution links torn down / redistributing + expect(screen.queryByText('YouTube')).not.toBeInTheDocument() + expect(screen.queryByText('Dropbox')).not.toBeInTheDocument() + }) + it('shows Dropbox link when dropbox_link is in state_data', () => { render() diff --git a/frontend/components/job/JobCard.tsx b/frontend/components/job/JobCard.tsx index 60b6ab16..b33082a0 100644 --- a/frontend/components/job/JobCard.tsx +++ b/frontend/components/job/JobCard.tsx @@ -4,14 +4,14 @@ import { useState } from "react" import { useTranslations, useLocale } from 'next-intl' import { Job } from "@/lib/api" import { Button } from "@/components/ui/button" -import { Zap } from "lucide-react" +import { Zap, Globe } from "lucide-react" import { JobActions } from "./JobActions" import { AdminJobActions } from "./AdminJobActions" import { OutputLinks } from "./OutputLinks" import { AudioSearchDialog } from "../audio-search/AudioSearchDialog" import { DurationCostConfirm } from "./DurationCostConfirm" import { BuyCreditsDialog } from "@/components/credits/BuyCreditsDialog" -import { getJobStep, formatStepIndicator, getJobProgressPercent } from "@/lib/job-status" +import { getJobStep, formatStepIndicator, getJobProgressPercent, isWaitingForEncodingCapacity, isVisibilityChangeInProgress } from "@/lib/job-status" import { useAuth } from "@/lib/auth" import { useDurationConfirm } from "@/hooks/use-duration-confirm" @@ -30,9 +30,22 @@ function StatusIndicator({ job }: { job: Job }) { : tStatus(label as any) const formattedStatus = formatStepIndicator(step, total, translatedLabel) + // When the render is parked waiting for GCE encoding capacity, the status label + // itself already reads "waiting for encoding server" (render_pending_capacity). + // During the brief in-flight retry attempts the status flips to rendering, so + // append a small note there too, keeping the user informed that the delay is + // capacity, not a hang. + const showCapacityNote = + isWaitingForEncodingCapacity(job) && job.status?.toLowerCase() !== "render_pending_capacity" + return ( {formattedStatus} + {showCapacityNote && ( + + {t('waitingForEncodingServer')} + + )} {isBlocking && ( {t('actionNeeded')} @@ -222,6 +235,17 @@ export function JobCard({ job, onRefresh, showAdminControls }: JobCardProps) { {/* Progress bar for active jobs */} + {/* Visibility change (private -> public) in progress: the track is being + re-rendered with default branding and republished. Outputs are deleted + for the duration, so set expectations up front (~15-30 min) rather than + letting a "complete" track silently revert to a generic processing state. */} + {isVisibilityChangeInProgress(job) && !isComplete && ( +
+ + {t('makingPublicInProgress')} +
+ )} + {/* Error message — only shown when the job is actually in a failed state. Completed jobs may carry a stale error_message from a transient failure that was auto-retried; we don't want to alarm users about diff --git a/frontend/components/job/OutputLinks.tsx b/frontend/components/job/OutputLinks.tsx index 2739c70e..8a4ebc6d 100644 --- a/frontend/components/job/OutputLinks.tsx +++ b/frontend/components/job/OutputLinks.tsx @@ -74,13 +74,23 @@ export function OutputLinks({ job, onJobUpdated }: OutputLinksProps) { // Check if outputs have been deleted by admin const outputsDeleted = !!job.outputs_deleted_at - // Filter external links based on tenant features (and outputs not deleted) - const showYoutubeLink = features.youtube_upload && youtubeUrl && !outputsDeleted - const showDropboxLink = features.dropbox_upload && dropboxUrl && !outputsDeleted + // A visibility change tears down the distribution links (YouTube/Dropbox) in + // BOTH directions while it redistributes, so any recorded external URLs are + // stale for the duration. The private -> public path additionally deletes the + // GCS finals and re-renders (status leaves "complete"); the fast public -> + // private path keeps the finals and stays "complete", so its downloads remain + // valid. Distinguish the two by status so we only hide GCS downloads during + // the re-render. + const visibilityChangeInProgress = !!job.state_data?.visibility_change_in_progress + const visibilityReRenderInProgress = visibilityChangeInProgress && job.status !== "complete" + const outputsUnavailable = outputsDeleted || visibilityReRenderInProgress + + // Filter external links based on tenant features (and outputs available) + const showYoutubeLink = features.youtube_upload && youtubeUrl && !outputsDeleted && !visibilityChangeInProgress + const showDropboxLink = features.dropbox_upload && dropboxUrl && !outputsDeleted && !visibilityChangeInProgress // Visibility change: available for completed consumer jobs (not tenant) const isPrivate = !!job.is_private - const visibilityChangeInProgress = !!job.state_data?.visibility_change_in_progress const canChangeVisibility = job.status === "complete" && !tenantId && !visibilityChangeInProgress const copyToClipboard = useCallback(async (url: string) => { @@ -178,10 +188,10 @@ export function OutputLinks({ job, onJobUpdated }: OutputLinksProps) { } }, [job.job_id, isPrivate, onJobUpdated]) - const hasOutputs = showYoutubeLink || showDropboxLink || (downloadUrls && Object.keys(downloadUrls).length > 0) + const hasOutputs = showYoutubeLink || showDropboxLink || (!outputsUnavailable && downloadUrls && Object.keys(downloadUrls).length > 0) - // Check if we have any downloads (and outputs haven't been deleted) - const hasDownloads = !outputsDeleted && downloadUrls && ( + // Check if we have any downloads (and outputs are currently available) + const hasDownloads = !outputsUnavailable && downloadUrls && ( downloadUrls?.finals?.lossy_720p_mp4 || downloadUrls?.finals?.lossy_4k_mp4 || downloadUrls?.finals?.with_vocals_mp4 || diff --git a/frontend/lib/job-status.ts b/frontend/lib/job-status.ts index c5df3411..859cf6ed 100644 --- a/frontend/lib/job-status.ts +++ b/frontend/lib/job-status.ts @@ -25,6 +25,40 @@ export function isAutoRetryPending(job: Pick): boolean { return expiresAt > Date.now(); } +/** + * Returns true when a job is stuck waiting for GCE encoding-worker capacity. + * + * The canonical signal is the `render_pending_capacity` status (parked, auto- + * retried every 5 min). During the retry cycle the status briefly flips to + * `review_complete`/`rendering_video` while an attempt is in flight, so we also + * treat those as "waiting" when the persistent `state_data.render_pending_capacity` + * breadcrumb (attempt_count >= 1) is present. Scoped to the render step so the + * lingering breadcrumb never shows the note after the render succeeds and the + * job moves on to encoding/packaging/complete. + */ +export function isWaitingForEncodingCapacity(job: Pick): boolean { + const status = job.status?.toLowerCase() || ""; + if (status === "render_pending_capacity") return true; + if (status === "review_complete" || status === "rendering_video") { + const meta = job.state_data?.render_pending_capacity as + | { attempt_count?: number } + | undefined; + return !!meta && Number(meta.attempt_count ?? 0) >= 1; + } + return false; +} + +/** + * Returns true while a private -> public visibility change is re-rendering and + * republishing the track. Backed by `state_data.visibility_change_in_progress`, + * set synchronously when the change starts and cleared when the job completes. + * The track's outputs (finals, distribution links) are deleted for the duration, + * so download buttons must be suppressed and the user told to wait (~15-30 min). + */ +export function isVisibilityChangeInProgress(job: Pick): boolean { + return !!job.state_data?.visibility_change_in_progress; +} + export interface JobStep { step: number; total: number; diff --git a/frontend/messages/ar.json b/frontend/messages/ar.json index b319ac72..a17c458b 100644 --- a/frontend/messages/ar.json +++ b/frontend/messages/ar.json @@ -594,7 +594,7 @@ "lyrics": "الكلمات", "confirmDurationCost": "تأكيد التكلفة", "findingAudioSources": "جارٍ البحث عن مصادر الصوت (إعادة المحاولة)", - "waitingForCapacity": "في انتظار توفر السعة (إعادة المحاولة)" + "waitingForCapacity": "في انتظار خادم الترميز (جاري إعادة المحاولة)" }, "jobCard": { "actionNeeded": "إجراء مطلوب", @@ -606,7 +606,9 @@ "autoSelect": "سيتم التحديد التلقائي", "willAutoSelectFirst": "سيتم التحديد التلقائي للأول", "noOutputsAvailable": "لا توجد مخرجات متاحة بعد", - "confirmCost": "تأكيد التكلفة" + "confirmCost": "تأكيد التكلفة", + "makingPublicInProgress": "يتم الآن جعل هذا المسار عاماً — تتم إعادة المعالجة بالعلامة التجارية الافتراضية وإعادة النشر. يستغرق هذا عادةً من 15 إلى 30 دقيقة.", + "waitingForEncodingServer": "(في انتظار توفر خادم الترميز)" }, "jobActions": { "delete": "حذف", diff --git a/frontend/messages/ca.json b/frontend/messages/ca.json index 2829ec79..f034c99d 100644 --- a/frontend/messages/ca.json +++ b/frontend/messages/ca.json @@ -594,7 +594,7 @@ "lyrics": "Lletres", "confirmDurationCost": "Confirma el cost", "findingAudioSources": "Cercant fonts d'àudio (reintentant)", - "waitingForCapacity": "Esperant disponibilitat (reintentant)" + "waitingForCapacity": "Esperant el servidor de codificació (reintentant)" }, "jobCard": { "actionNeeded": "Acció necessària", @@ -606,7 +606,9 @@ "autoSelect": "Se seleccionarà automàticament", "willAutoSelectFirst": "Se seleccionarà automàticament el primer", "noOutputsAvailable": "Encara no hi ha sortides disponibles", - "confirmCost": "Confirmar cost" + "confirmCost": "Confirmar cost", + "makingPublicInProgress": "Fent pública aquesta pista — renderitzant de nou amb la marca predeterminada i republicant. Això sol trigar 15–30 minuts.", + "waitingForEncodingServer": "(esperant la disponibilitat del servidor de codificació)" }, "jobActions": { "delete": "Suprimeix", diff --git a/frontend/messages/cs.json b/frontend/messages/cs.json index 8969992d..abc6b7bd 100644 --- a/frontend/messages/cs.json +++ b/frontend/messages/cs.json @@ -594,7 +594,7 @@ "lyrics": "Text", "confirmDurationCost": "Potvrdit cenu", "findingAudioSources": "Hledání zdrojů zvuku (opakování pokusu)", - "waitingForCapacity": "Čekání na volnou kapacitu (opakování pokusu)" + "waitingForCapacity": "Čeká se na kódovací server (opakovaný pokus)" }, "jobCard": { "actionNeeded": "Vyžadována akce", @@ -606,7 +606,9 @@ "autoSelect": "Automaticky se vybere", "willAutoSelectFirst": "Automaticky se vybere první", "noOutputsAvailable": "Zatím nejsou k dispozici žádné výstupy", - "confirmCost": "Potvrdit cenu" + "confirmCost": "Potvrdit cenu", + "makingPublicInProgress": "Zveřejňujeme tuto skladbu — znovu ji renderujeme s výchozím brandingem a publikujeme. Obvykle to trvá 15–30 minut.", + "waitingForEncodingServer": "(čeká se na dostupnost kódovacího serveru)" }, "jobActions": { "delete": "Smazat", diff --git a/frontend/messages/da.json b/frontend/messages/da.json index 1dce8953..8167d474 100644 --- a/frontend/messages/da.json +++ b/frontend/messages/da.json @@ -594,7 +594,7 @@ "lyrics": "Sangtekster", "confirmDurationCost": "Bekræft pris", "findingAudioSources": "Finder lydkilder (prøver igen)", - "waitingForCapacity": "Venter på kapacitet (prøver igen)" + "waitingForCapacity": "Venter på kodningsserver (prøver igen)" }, "jobCard": { "actionNeeded": "Handling påkrævet", @@ -606,7 +606,9 @@ "autoSelect": "Vil automatisk vælge", "willAutoSelectFirst": "Vil automatisk vælge første", "noOutputsAvailable": "Ingen outputs tilgængelige endnu", - "confirmCost": "Bekræft pris" + "confirmCost": "Bekræft pris", + "makingPublicInProgress": "Gør dette nummer offentligt — gen-renderer med standardbranding og genudgiver. Det tager normalt 15–30 minutter.", + "waitingForEncodingServer": "(venter på, at kodningsserveren bliver ledig)" }, "jobActions": { "delete": "Slet", diff --git a/frontend/messages/de.json b/frontend/messages/de.json index 88ff5b79..c1425a48 100644 --- a/frontend/messages/de.json +++ b/frontend/messages/de.json @@ -594,7 +594,7 @@ "lyrics": "Text", "confirmDurationCost": "Kosten bestätigen", "findingAudioSources": "Suche nach Audioquellen (erneuter Versuch)", - "waitingForCapacity": "Warten auf Kapazität (erneuter Versuch)" + "waitingForCapacity": "Warten auf Kodierungsserver (erneuter Versuch)" }, "jobCard": { "actionNeeded": "Aktion erforderlich", @@ -606,7 +606,9 @@ "autoSelect": "Wird automatisch ausgewählt", "willAutoSelectFirst": "Wird automatisch das Erste auswählen", "noOutputsAvailable": "Noch keine Ausgaben verfügbar", - "confirmCost": "Kosten bestätigen" + "confirmCost": "Kosten bestätigen", + "makingPublicInProgress": "Dieser Track wird öffentlich gemacht — erneutes Rendern mit Standard-Branding und erneute Veröffentlichung. Das dauert in der Regel 15–30 Minuten.", + "waitingForEncodingServer": "(Warten auf Verfügbarkeit des Kodierungsservers)" }, "jobActions": { "delete": "Löschen", diff --git a/frontend/messages/el.json b/frontend/messages/el.json index 639cfa32..cca35ddd 100644 --- a/frontend/messages/el.json +++ b/frontend/messages/el.json @@ -594,7 +594,7 @@ "lyrics": "Στίχοι", "confirmDurationCost": "Επιβεβαίωση κόστους", "findingAudioSources": "Εύρεση πηγών ήχου (επαναπροσπάθεια)", - "waitingForCapacity": "Αναμονή για διαθεσιμότητα (επαναπροσπάθεια)" + "waitingForCapacity": "Αναμονή για διακομιστή κωδικοποίησης (νέα προσπάθεια)" }, "jobCard": { "actionNeeded": "Απαιτείται ενέργεια", @@ -606,7 +606,9 @@ "autoSelect": "Θα γίνει αυτόματη επιλογή", "willAutoSelectFirst": "Θα γίνει αυτόματη επιλογή του πρώτου", "noOutputsAvailable": "Δεν υπάρχουν διαθέσιμα αποτελέσματα ακόμα", - "confirmCost": "Επιβεβαίωση κόστους" + "confirmCost": "Επιβεβαίωση κόστους", + "makingPublicInProgress": "Κάνουμε αυτό το κομμάτι δημόσιο — επαναδημιουργία με την προεπιλεγμένη επωνυμία και αναδημοσίευση. Αυτό συνήθως διαρκεί 15–30 λεπτά.", + "waitingForEncodingServer": "(αναμονή για διαθεσιμότητα διακομιστή κωδικοποίησης)" }, "jobActions": { "delete": "Διαγραφή", diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 78f23d11..7b524b5e 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -557,7 +557,7 @@ "selectAudioSource": "Select audio source", "downloadingAudio": "Downloading audio", "findingAudioSources": "Finding audio sources (retrying)", - "waitingForCapacity": "Waiting for capacity (retrying)", + "waitingForCapacity": "Waiting for encoding server (retrying)", "downloading": "Downloading", "editAudio": "Edit audio", "editingAudio": "Editing audio", @@ -598,6 +598,8 @@ }, "jobCard": { "actionNeeded": "Action needed", + "waitingForEncodingServer": "(waiting for encoding server availability)", + "makingPublicInProgress": "Making this track public — re-rendering with default branding and republishing. This usually takes 15–30 minutes.", "reviewLyrics": "Review Lyrics", "editAudio": "Edit Audio", "selectAudio": "Select Audio", diff --git a/frontend/messages/es.json b/frontend/messages/es.json index 4daad5d0..bab7080c 100644 --- a/frontend/messages/es.json +++ b/frontend/messages/es.json @@ -594,7 +594,7 @@ "lyrics": "Letras", "confirmDurationCost": "Confirmar costo", "findingAudioSources": "Buscando fuentes de audio (reintentando)", - "waitingForCapacity": "Esperando capacidad (reintentando)" + "waitingForCapacity": "Esperando al servidor de codificación (reintentando)" }, "jobCard": { "actionNeeded": "Acción necesaria", @@ -606,7 +606,9 @@ "autoSelect": "Seleccionará automáticamente", "willAutoSelectFirst": "Seleccionará automáticamente el primero", "noOutputsAvailable": "No hay salidas disponibles aún", - "confirmCost": "Confirmar costo" + "confirmCost": "Confirmar costo", + "makingPublicInProgress": "Haciendo pública esta pista — re-renderizando con la marca predeterminada y republicando. Esto normalmente tarda de 15 a 30 minutos.", + "waitingForEncodingServer": "(esperando disponibilidad del servidor de codificación)" }, "jobActions": { "delete": "Eliminar", diff --git a/frontend/messages/fi.json b/frontend/messages/fi.json index df369b1f..b05605d7 100644 --- a/frontend/messages/fi.json +++ b/frontend/messages/fi.json @@ -594,7 +594,7 @@ "lyrics": "Sanoitukset", "confirmDurationCost": "Vahvista hinta", "findingAudioSources": "Etsitään äänilähteitä (yritetään uudelleen)", - "waitingForCapacity": "Odotetaan kapasiteettia (yritetään uudelleen)" + "waitingForCapacity": "Odotetaan enkoodauspalvelinta (yritetään uudelleen)" }, "jobCard": { "actionNeeded": "Toimenpiteitä tarvitaan", @@ -606,7 +606,9 @@ "autoSelect": "Valitsee automaattisesti", "willAutoSelectFirst": "Valitsee automaattisesti ensimmäisen", "noOutputsAvailable": "Ei tulosteita vielä saatavilla", - "confirmCost": "Vahvista hinta" + "confirmCost": "Vahvista hinta", + "makingPublicInProgress": "Kappaleesta tehdään julkinen — se renderöidään uudelleen oletusbrändäyksellä ja julkaistaan uudestaan. Tämä kestää yleensä 15–30 minuuttia.", + "waitingForEncodingServer": "(odotetaan enkoodauspalvelimen vapautumista)" }, "jobActions": { "delete": "Poista", diff --git a/frontend/messages/fr.json b/frontend/messages/fr.json index ca7ffec0..41c3b4d3 100644 --- a/frontend/messages/fr.json +++ b/frontend/messages/fr.json @@ -594,7 +594,7 @@ "lyrics": "Paroles", "confirmDurationCost": "Confirmer le coût", "findingAudioSources": "Recherche de sources audio (nouvelle tentative)", - "waitingForCapacity": "En attente de disponibilité (nouvelle tentative)" + "waitingForCapacity": "En attente du serveur d'encodage (nouvelle tentative)" }, "jobCard": { "actionNeeded": "Action requise", @@ -606,7 +606,9 @@ "autoSelect": "Sélectionnera automatiquement", "willAutoSelectFirst": "Sélectionnera automatiquement le premier", "noOutputsAvailable": "Aucune sortie disponible pour le moment", - "confirmCost": "Confirmer le coût" + "confirmCost": "Confirmer le coût", + "makingPublicInProgress": "Nous rendons cette piste publique — nouveau rendu avec l'image de marque par défaut et republication. Cela prend généralement 15 à 30 minutes.", + "waitingForEncodingServer": "(en attente de la disponibilité du serveur d'encodage)" }, "jobActions": { "delete": "Supprimer", diff --git a/frontend/messages/he.json b/frontend/messages/he.json index d68e9538..b3664fa9 100644 --- a/frontend/messages/he.json +++ b/frontend/messages/he.json @@ -594,7 +594,7 @@ "lyrics": "מילים", "confirmDurationCost": "אישור עלות", "findingAudioSources": "מחפש מקורות שמע (מנסה שוב)", - "waitingForCapacity": "ממתין למשאבים פנויים (מנסה שוב)" + "waitingForCapacity": "ממתין לשרת הקידוד (מנסה שוב)" }, "jobCard": { "actionNeeded": "נדרשת פעולה", @@ -606,7 +606,9 @@ "autoSelect": "יבחר אוטומטית", "willAutoSelectFirst": "יבחר אוטומטית ראשון", "noOutputsAvailable": "אין פלטים זמינים עדיין", - "confirmCost": "אישור עלות" + "confirmCost": "אישור עלות", + "makingPublicInProgress": "הופך את הרצועה הזו לציבורית — מעבד מחדש עם מיתוג ברירת המחדל ומפרסם מחדש. זה בדרך כלל לוקח 15–30 דקות.", + "waitingForEncodingServer": "(ממתין לזמינות שרת הקידוד)" }, "jobActions": { "delete": "מחק", diff --git a/frontend/messages/hi.json b/frontend/messages/hi.json index cce3c6a7..f4dc9c32 100644 --- a/frontend/messages/hi.json +++ b/frontend/messages/hi.json @@ -594,7 +594,7 @@ "lyrics": "लिरिक्स", "confirmDurationCost": "लागत की पुष्टि करो", "findingAudioSources": "ऑडियो स्रोत खोज रहे हैं (फिर से कोशिश कर रहे हैं)", - "waitingForCapacity": "क्षमता का इंतज़ार कर रहे हैं (फिर से कोशिश कर रहे हैं)" + "waitingForCapacity": "एनकोडिंग सर्वर का इंतज़ार किया जा रहा है (फिर से कोशिश की जा रही है)" }, "jobCard": { "actionNeeded": "एक्शन की ज़रूरत है", @@ -606,7 +606,9 @@ "autoSelect": "अपने आप सिलेक्ट करेगा", "willAutoSelectFirst": "अपने आप पहला सिलेक्ट करेगा", "noOutputsAvailable": "अभी तक कोई आउटपुट उपलब्ध नहीं है", - "confirmCost": "लागत की पुष्टि करो" + "confirmCost": "लागत की पुष्टि करो", + "makingPublicInProgress": "इस ट्रैक को पब्लिक किया जा रहा है — डिफ़ॉल्ट ब्रांडिंग के साथ फिर से रेंडर और पब्लिश किया जा रहा है। इसमें आमतौर पर 15–30 मिनट लगते हैं।", + "waitingForEncodingServer": "(एनकोडिंग सर्वर के उपलब्ध होने का इंतज़ार किया जा रहा है)" }, "jobActions": { "delete": "डिलीट करो", diff --git a/frontend/messages/hr.json b/frontend/messages/hr.json index 69f2b733..833faa93 100644 --- a/frontend/messages/hr.json +++ b/frontend/messages/hr.json @@ -594,7 +594,7 @@ "lyrics": "Tekst", "confirmDurationCost": "Potvrdi cijenu", "findingAudioSources": "Traženje izvora zvuka (ponovni pokušaj)", - "waitingForCapacity": "Čekanje na kapacitet (ponovni pokušaj)" + "waitingForCapacity": "Čeka se server za kodiranje (ponovni pokušaj)" }, "jobCard": { "actionNeeded": "Potrebna akcija", @@ -606,7 +606,9 @@ "autoSelect": "Automatski će odabrati", "willAutoSelectFirst": "Automatski će odabrati prvo", "noOutputsAvailable": "Još nema dostupnih izlaza", - "confirmCost": "Potvrdi cijenu" + "confirmCost": "Potvrdi cijenu", + "makingPublicInProgress": "Objavljivanje ove pjesme — ponovno renderiranje sa zadanim brendiranjem i ponovno objavljivanje. To obično traje 15–30 minuta.", + "waitingForEncodingServer": "(čeka se dostupnost servera za kodiranje)" }, "jobActions": { "delete": "Izbriši", diff --git a/frontend/messages/hu.json b/frontend/messages/hu.json index f3b3752d..07ea00a9 100644 --- a/frontend/messages/hu.json +++ b/frontend/messages/hu.json @@ -594,7 +594,7 @@ "lyrics": "Dalszöveg", "confirmDurationCost": "Költség megerősítése", "findingAudioSources": "Hangforrások keresése (újrapróbálkozás)", - "waitingForCapacity": "Várakozás szabad kapacitásra (újrapróbálkozás)" + "waitingForCapacity": "Várakozás a kódoló szerverre (újrapróbálkozás)" }, "jobCard": { "actionNeeded": "Művelet szükséges", @@ -606,7 +606,9 @@ "autoSelect": "Automatikusan kiválasztja", "willAutoSelectFirst": "Automatikusan kiválasztja az elsőt", "noOutputsAvailable": "Még nincsenek elérhető kimenetek", - "confirmCost": "Költség megerősítése" + "confirmCost": "Költség megerősítése", + "makingPublicInProgress": "A dal nyilvánossá tétele folyamatban — újrarenderelés az alapértelmezett arculattal és újraközzététel. Ez általában 15–30 percet vesz igénybe.", + "waitingForEncodingServer": "(várakozás a kódoló szerver elérhetőségére)" }, "jobActions": { "delete": "Törlés", diff --git a/frontend/messages/id.json b/frontend/messages/id.json index dfb7b042..acbe2d4c 100644 --- a/frontend/messages/id.json +++ b/frontend/messages/id.json @@ -594,7 +594,7 @@ "lyrics": "Lirik", "confirmDurationCost": "Konfirmasi biaya", "findingAudioSources": "Mencari sumber audio (mencoba lagi)", - "waitingForCapacity": "Menunggu kapasitas (mencoba lagi)" + "waitingForCapacity": "Menunggu server encoding (mencoba lagi)" }, "jobCard": { "actionNeeded": "Perlu tindakan", @@ -606,7 +606,9 @@ "autoSelect": "Akan memilih otomatis", "willAutoSelectFirst": "Akan memilih otomatis yang pertama", "noOutputsAvailable": "Belum ada output yang tersedia", - "confirmCost": "Konfirmasi Biaya" + "confirmCost": "Konfirmasi Biaya", + "makingPublicInProgress": "Menjadikan trek ini publik — merender ulang dengan branding bawaan dan memublikasikan ulang. Proses ini biasanya memakan waktu 15–30 menit.", + "waitingForEncodingServer": "(menunggu ketersediaan server encoding)" }, "jobActions": { "delete": "Hapus", diff --git a/frontend/messages/it.json b/frontend/messages/it.json index 211e32a1..8b5512f8 100644 --- a/frontend/messages/it.json +++ b/frontend/messages/it.json @@ -594,7 +594,7 @@ "lyrics": "Testo", "confirmDurationCost": "Conferma costo", "findingAudioSources": "Ricerca delle fonti audio (nuovo tentativo)", - "waitingForCapacity": "In attesa di disponibilità (nuovo tentativo)" + "waitingForCapacity": "In attesa del server di codifica (nuovo tentativo)" }, "jobCard": { "actionNeeded": "Azione richiesta", @@ -606,7 +606,9 @@ "autoSelect": "Selezionerà automaticamente", "willAutoSelectFirst": "Selezionerà automaticamente il primo", "noOutputsAvailable": "Nessun output ancora disponibile", - "confirmCost": "Conferma costo" + "confirmCost": "Conferma costo", + "makingPublicInProgress": "Stiamo rendendo pubblica questa traccia — nuovo rendering con il branding predefinito e ripubblicazione in corso. Di solito ci vogliono 15–30 minuti.", + "waitingForEncodingServer": "(in attesa della disponibilità del server di codifica)" }, "jobActions": { "delete": "Elimina", diff --git a/frontend/messages/ja.json b/frontend/messages/ja.json index 39559027..129f6902 100644 --- a/frontend/messages/ja.json +++ b/frontend/messages/ja.json @@ -594,7 +594,7 @@ "lyrics": "歌詞", "confirmDurationCost": "料金を確認", "findingAudioSources": "音源を検索中(再試行中)", - "waitingForCapacity": "処理の空きを待機中(再試行中)" + "waitingForCapacity": "エンコーディングサーバーの空きを待機中(再試行中)" }, "jobCard": { "actionNeeded": "アクションが必要です", @@ -606,7 +606,9 @@ "autoSelect": "自動選択されます", "willAutoSelectFirst": "最初を自動選択します", "noOutputsAvailable": "まだ利用可能な出力がありません", - "confirmCost": "料金を確認" + "confirmCost": "料金を確認", + "makingPublicInProgress": "このトラックを公開しています — デフォルトのブランディングで再レンダリングし、再公開しています。通常15〜30分ほどかかります。", + "waitingForEncodingServer": "(エンコーディングサーバーの空きを待機中)" }, "jobActions": { "delete": "削除", diff --git a/frontend/messages/ko.json b/frontend/messages/ko.json index 1c05a851..3f72544f 100644 --- a/frontend/messages/ko.json +++ b/frontend/messages/ko.json @@ -594,7 +594,7 @@ "lyrics": "가사", "confirmDurationCost": "비용 확인", "findingAudioSources": "오디오 소스 찾는 중 (재시도 중)", - "waitingForCapacity": "처리 용량 대기 중 (재시도 중)" + "waitingForCapacity": "인코딩 서버 대기 중 (재시도 중)" }, "jobCard": { "actionNeeded": "조치 필요", @@ -606,7 +606,9 @@ "autoSelect": "자동 선택 예정", "willAutoSelectFirst": "첫 번째 항목 자동 선택 예정", "noOutputsAvailable": "아직 사용 가능한 출력이 없습니다", - "confirmCost": "비용 확인" + "confirmCost": "비용 확인", + "makingPublicInProgress": "이 트랙을 공개로 전환하는 중입니다 — 기본 브랜딩으로 재렌더링 및 재게시를 진행합니다. 보통 15~30분 정도 소요됩니다.", + "waitingForEncodingServer": "(인코딩 서버 대기 중)" }, "jobActions": { "delete": "삭제", diff --git a/frontend/messages/ms.json b/frontend/messages/ms.json index 4c1d207c..5acbf1e2 100644 --- a/frontend/messages/ms.json +++ b/frontend/messages/ms.json @@ -594,7 +594,7 @@ "lyrics": "Lirik", "confirmDurationCost": "Sahkan kos", "findingAudioSources": "Mencari sumber audio (mencuba semula)", - "waitingForCapacity": "Menunggu kapasiti (mencuba semula)" + "waitingForCapacity": "Menunggu pelayan pengekodan (mencuba semula)" }, "jobCard": { "actionNeeded": "Tindakan diperlukan", @@ -606,7 +606,9 @@ "autoSelect": "Akan pilih automatik", "willAutoSelectFirst": "Akan pilih automatik yang pertama", "noOutputsAvailable": "Tiada output tersedia lagi", - "confirmCost": "Sahkan Kos" + "confirmCost": "Sahkan Kos", + "makingPublicInProgress": "Menjadikan trek ini awam — merender semula dengan penjenamaan lalai dan menerbitkan semula. Proses ini biasanya mengambil masa 15–30 minit.", + "waitingForEncodingServer": "(menunggu ketersediaan pelayan pengekodan)" }, "jobActions": { "delete": "Padam", diff --git a/frontend/messages/nb.json b/frontend/messages/nb.json index 23c9d345..d201141c 100644 --- a/frontend/messages/nb.json +++ b/frontend/messages/nb.json @@ -594,7 +594,7 @@ "lyrics": "Tekst", "confirmDurationCost": "Bekreft pris", "findingAudioSources": "Finner lydkilder (prøver på nytt)", - "waitingForCapacity": "Venter på kapasitet (prøver på nytt)" + "waitingForCapacity": "Venter på kodingsserver (prøver på nytt)" }, "jobCard": { "actionNeeded": "Handling kreves", @@ -606,7 +606,9 @@ "autoSelect": "Vil automatisk velge", "willAutoSelectFirst": "Vil automatisk velge første", "noOutputsAvailable": "Ingen utdata tilgjengelig ennå", - "confirmCost": "Bekreft kostnad" + "confirmCost": "Bekreft kostnad", + "makingPublicInProgress": "Gjør dette sporet offentlig — rendrer på nytt med standard profilering og publiserer på nytt. Dette tar vanligvis 15–30 minutter.", + "waitingForEncodingServer": "(venter på ledig kodingsserver)" }, "jobActions": { "delete": "Slett", diff --git a/frontend/messages/nl.json b/frontend/messages/nl.json index 1bf690cd..a6a209be 100644 --- a/frontend/messages/nl.json +++ b/frontend/messages/nl.json @@ -594,7 +594,7 @@ "lyrics": "Songteksten", "confirmDurationCost": "Kosten bevestigen", "findingAudioSources": "Audiobronnen zoeken (opnieuw proberen)", - "waitingForCapacity": "Wachten op capaciteit (opnieuw proberen)" + "waitingForCapacity": "Wachten op encodingserver (opnieuw proberen)" }, "jobCard": { "actionNeeded": "Actie vereist", @@ -606,7 +606,9 @@ "autoSelect": "Zal automatisch selecteren", "willAutoSelectFirst": "Zal automatisch de eerste selecteren", "noOutputsAvailable": "Nog geen outputs beschikbaar", - "confirmCost": "Kosten bevestigen" + "confirmCost": "Kosten bevestigen", + "makingPublicInProgress": "Deze track wordt openbaar gemaakt — opnieuw renderen met standaard branding en opnieuw publiceren. Dit duurt meestal 15–30 minuten.", + "waitingForEncodingServer": "(wachten op beschikbaarheid van de encodingserver)" }, "jobActions": { "delete": "Verwijderen", diff --git a/frontend/messages/pl.json b/frontend/messages/pl.json index 628e0e05..90e00542 100644 --- a/frontend/messages/pl.json +++ b/frontend/messages/pl.json @@ -594,7 +594,7 @@ "lyrics": "Tekst", "confirmDurationCost": "Potwierdź koszt", "findingAudioSources": "Wyszukiwanie źródeł audio (ponawianie)", - "waitingForCapacity": "Oczekiwanie na wolne zasoby (ponawianie)" + "waitingForCapacity": "Oczekiwanie na serwer kodujący (ponawianie)" }, "jobCard": { "actionNeeded": "Wymagane działanie", @@ -606,7 +606,9 @@ "autoSelect": "Zostanie automatycznie wybrane", "willAutoSelectFirst": "Automatycznie wybierze pierwsze", "noOutputsAvailable": "Brak dostępnych wyników", - "confirmCost": "Potwierdź koszt" + "confirmCost": "Potwierdź koszt", + "makingPublicInProgress": "Upublicznianie tego utworu — ponowne renderowanie z domyślnym brandingiem i ponowna publikacja. Zazwyczaj zajmuje to 15–30 minut.", + "waitingForEncodingServer": "(oczekiwanie na dostępność serwera kodującego)" }, "jobActions": { "delete": "Usuń", diff --git a/frontend/messages/pt.json b/frontend/messages/pt.json index a6503010..a210fc49 100644 --- a/frontend/messages/pt.json +++ b/frontend/messages/pt.json @@ -594,7 +594,7 @@ "lyrics": "Letras", "confirmDurationCost": "Confirmar custo", "findingAudioSources": "Buscando fontes de áudio (tentando novamente)", - "waitingForCapacity": "Aguardando disponibilidade (tentando novamente)" + "waitingForCapacity": "Aguardando servidor de codificação (tentando novamente)" }, "jobCard": { "actionNeeded": "Ação necessária", @@ -606,7 +606,9 @@ "autoSelect": "Selecionará automaticamente", "willAutoSelectFirst": "Selecionará automaticamente o primeiro", "noOutputsAvailable": "Nenhuma saída disponível ainda", - "confirmCost": "Confirmar Custo" + "confirmCost": "Confirmar Custo", + "makingPublicInProgress": "Tornando esta faixa pública — renderizando novamente com a marca padrão e republicando. Isso geralmente leva de 15 a 30 minutos.", + "waitingForEncodingServer": "(aguardando disponibilidade do servidor de codificação)" }, "jobActions": { "delete": "Excluir", diff --git a/frontend/messages/ro.json b/frontend/messages/ro.json index 365a4d48..2add603e 100644 --- a/frontend/messages/ro.json +++ b/frontend/messages/ro.json @@ -594,7 +594,7 @@ "lyrics": "Versuri", "confirmDurationCost": "Confirmă costul", "findingAudioSources": "Căutare surse audio (reîncercare)", - "waitingForCapacity": "Așteptare resurse disponibile (reîncercare)" + "waitingForCapacity": "Așteptăm serverul de codare (reîncercăm)" }, "jobCard": { "actionNeeded": "Acțiune necesară", @@ -606,7 +606,9 @@ "autoSelect": "Se va selecta automat", "willAutoSelectFirst": "Se va selecta automat primul", "noOutputsAvailable": "Niciun rezultat disponibil încă", - "confirmCost": "Confirmă costul" + "confirmCost": "Confirmă costul", + "makingPublicInProgress": "Facem această piesă publică — o randăm din nou cu brandingul implicit și o republicăm. Acest lucru durează de obicei 15–30 de minute.", + "waitingForEncodingServer": "(așteptăm disponibilitatea serverului de codare)" }, "jobActions": { "delete": "Șterge", diff --git a/frontend/messages/ru.json b/frontend/messages/ru.json index 2a56a5a9..c7d08100 100644 --- a/frontend/messages/ru.json +++ b/frontend/messages/ru.json @@ -594,7 +594,7 @@ "lyrics": "Текст", "confirmDurationCost": "Подтвердить стоимость", "findingAudioSources": "Поиск аудиоисточников (повторная попытка)", - "waitingForCapacity": "Ожидание свободных ресурсов (повторная попытка)" + "waitingForCapacity": "Ожидание свободного сервера кодирования (повторная попытка)" }, "jobCard": { "actionNeeded": "Требуется действие", @@ -606,7 +606,9 @@ "autoSelect": "Будет автоматически выбрано", "willAutoSelectFirst": "Будет автоматически выбрано первое", "noOutputsAvailable": "Пока нет доступных результатов", - "confirmCost": "Подтвердить стоимость" + "confirmCost": "Подтвердить стоимость", + "makingPublicInProgress": "Делаем этот трек публичным — выполняем перерендеринг со стандартным брендингом и публикуем заново. Обычно это занимает 15–30 минут.", + "waitingForEncodingServer": "(ожидание свободного сервера кодирования)" }, "jobActions": { "delete": "Удалить", diff --git a/frontend/messages/sk.json b/frontend/messages/sk.json index 2e0dd744..8d57b58b 100644 --- a/frontend/messages/sk.json +++ b/frontend/messages/sk.json @@ -594,7 +594,7 @@ "lyrics": "Text", "confirmDurationCost": "Potvrdiť cenu", "findingAudioSources": "Hľadanie zdrojov zvuku (opakovaný pokus)", - "waitingForCapacity": "Čakanie na kapacitu (opakovaný pokus)" + "waitingForCapacity": "Čaká sa na kódovací server (opakovaný pokus)" }, "jobCard": { "actionNeeded": "Vyžaduje sa akcia", @@ -606,7 +606,9 @@ "autoSelect": "Automaticky vyberie", "willAutoSelectFirst": "Automaticky vyberie prvé", "noOutputsAvailable": "Zatiaľ nie sú k dispozícii žiadne výstupy", - "confirmCost": "Potvrdiť cenu" + "confirmCost": "Potvrdiť cenu", + "makingPublicInProgress": "Zverejňovanie tejto skladby — opätovné renderovanie s predvoleným brandingom a opätovné publikovanie. Zvyčajne to trvá 15 – 30 minút.", + "waitingForEncodingServer": "(čaká sa na dostupnosť kódovacieho servera)" }, "jobActions": { "delete": "Vymazať", diff --git a/frontend/messages/sv.json b/frontend/messages/sv.json index 034a50cb..5a5fb7f7 100644 --- a/frontend/messages/sv.json +++ b/frontend/messages/sv.json @@ -594,7 +594,7 @@ "lyrics": "Text", "confirmDurationCost": "Bekräfta kostnad", "findingAudioSources": "Söker efter ljudkällor (försöker igen)", - "waitingForCapacity": "Väntar på kapacitet (försöker igen)" + "waitingForCapacity": "Väntar på kodningsserver (försöker igen)" }, "jobCard": { "actionNeeded": "Åtgärd krävs", @@ -606,7 +606,9 @@ "autoSelect": "Kommer att auto-välja", "willAutoSelectFirst": "Kommer att auto-välja första", "noOutputsAvailable": "Inga utdata tillgängliga ännu", - "confirmCost": "Bekräfta kostnad" + "confirmCost": "Bekräfta kostnad", + "makingPublicInProgress": "Gör det här spåret offentligt — renderar om med standardprofilering och publicerar på nytt. Detta tar vanligtvis 15–30 minuter.", + "waitingForEncodingServer": "(väntar på att kodningsservern ska bli tillgänglig)" }, "jobActions": { "delete": "Ta bort", diff --git a/frontend/messages/th.json b/frontend/messages/th.json index 1b5fbe54..a739c327 100644 --- a/frontend/messages/th.json +++ b/frontend/messages/th.json @@ -594,7 +594,7 @@ "lyrics": "เนื้อเพลง", "confirmDurationCost": "ยืนยันค่าใช้จ่าย", "findingAudioSources": "กำลังค้นหาแหล่งเสียง (กำลังลองอีกครั้ง)", - "waitingForCapacity": "กำลังรอระบบว่าง (กำลังลองอีกครั้ง)" + "waitingForCapacity": "กำลังรอเซิร์ฟเวอร์เข้ารหัส (กำลังลองใหม่)" }, "jobCard": { "actionNeeded": "ต้องการการดำเนินการ", @@ -606,7 +606,9 @@ "autoSelect": "จะเลือกอัตโนมัติ", "willAutoSelectFirst": "จะเลือกอันแรกอัตโนมัติ", "noOutputsAvailable": "ยังไม่มีผลลัพธ์ที่พร้อมใช้งาน", - "confirmCost": "ยืนยันค่าใช้จ่าย" + "confirmCost": "ยืนยันค่าใช้จ่าย", + "makingPublicInProgress": "กำลังตั้งค่าแทร็กนี้เป็นสาธารณะ — กำลังเรนเดอร์ใหม่ด้วยแบรนดิ้งเริ่มต้นและเผยแพร่อีกครั้ง ซึ่งปกติจะใช้เวลา 15–30 นาที", + "waitingForEncodingServer": "(กำลังรอเซิร์ฟเวอร์เข้ารหัสพร้อมใช้งาน)" }, "jobActions": { "delete": "ลบ", diff --git a/frontend/messages/tl.json b/frontend/messages/tl.json index 85e21215..b4e6e848 100644 --- a/frontend/messages/tl.json +++ b/frontend/messages/tl.json @@ -594,7 +594,7 @@ "lyrics": "Lyrics", "confirmDurationCost": "Kumpirmahin ang halaga", "findingAudioSources": "Naghahanap ng mga audio source (sinusubukang muli)", - "waitingForCapacity": "Naghihintay ng kapasidad (sinusubukang muli)" + "waitingForCapacity": "Naghihintay sa encoding server (sinusubukan muli)" }, "jobCard": { "actionNeeded": "Kailangan ng aksyon", @@ -606,7 +606,9 @@ "autoSelect": "Awtomatikong pipili", "willAutoSelectFirst": "Awtomatikong pipiliin ang una", "noOutputsAvailable": "Wala pang available na outputs", - "confirmCost": "Kumpirmahin ang Halaga" + "confirmCost": "Kumpirmahin ang Halaga", + "makingPublicInProgress": "Ginagawang pampubliko ang track na ito — nire-render muli gamit ang default na branding at muling pina-publish. Karaniwan itong tumatagal ng 15–30 minuto.", + "waitingForEncodingServer": "(naghihintay na maging available ang encoding server)" }, "jobActions": { "delete": "Tanggalin", diff --git a/frontend/messages/tr.json b/frontend/messages/tr.json index 5f8cc4d6..87eec009 100644 --- a/frontend/messages/tr.json +++ b/frontend/messages/tr.json @@ -594,7 +594,7 @@ "lyrics": "Sözler", "confirmDurationCost": "Maliyeti onayla", "findingAudioSources": "Ses kaynakları aranıyor (yeniden deneniyor)", - "waitingForCapacity": "Kapasite bekleniyor (yeniden deneniyor)" + "waitingForCapacity": "Kodlama sunucusu bekleniyor (yeniden deneniyor)" }, "jobCard": { "actionNeeded": "Eylem gerekiyor", @@ -606,7 +606,9 @@ "autoSelect": "Otomatik seçecek", "willAutoSelectFirst": "İlkini otomatik seçecek", "noOutputsAvailable": "Henüz çıktı yok", - "confirmCost": "Ücreti Onayla" + "confirmCost": "Ücreti Onayla", + "makingPublicInProgress": "Bu parça herkese açık hale getiriliyor — varsayılan markalama ile yeniden işleniyor ve yeniden yayımlanıyor. Bu işlem genellikle 15–30 dakika sürer.", + "waitingForEncodingServer": "(kodlama sunucusunun müsait olması bekleniyor)" }, "jobActions": { "delete": "Sil", diff --git a/frontend/messages/uk.json b/frontend/messages/uk.json index 1541cd47..6c3a8fb8 100644 --- a/frontend/messages/uk.json +++ b/frontend/messages/uk.json @@ -594,7 +594,7 @@ "lyrics": "Текст", "confirmDurationCost": "Підтвердити вартість", "findingAudioSources": "Пошук джерел аудіо (повторна спроба)", - "waitingForCapacity": "Очікування вільних ресурсів (повторна спроба)" + "waitingForCapacity": "Очікуємо на сервер кодування (повторна спроба)" }, "jobCard": { "actionNeeded": "Потрібна дія", @@ -606,7 +606,9 @@ "autoSelect": "Буде автоматично вибрано", "willAutoSelectFirst": "Буде автоматично вибрано перше", "noOutputsAvailable": "Результати поки недоступні", - "confirmCost": "Підтвердити вартість" + "confirmCost": "Підтвердити вартість", + "makingPublicInProgress": "Робимо цей трек публічним — рендеримо наново зі стандартним брендингом та повторно публікуємо. Зазвичай це займає 15–30 хвилин.", + "waitingForEncodingServer": "(очікуємо на вільний сервер кодування)" }, "jobActions": { "delete": "Видалити", diff --git a/frontend/messages/vi.json b/frontend/messages/vi.json index 652a612b..896e5701 100644 --- a/frontend/messages/vi.json +++ b/frontend/messages/vi.json @@ -594,7 +594,7 @@ "lyrics": "Lời bài hát", "confirmDurationCost": "Xác nhận chi phí", "findingAudioSources": "Đang tìm nguồn âm thanh (đang thử lại)", - "waitingForCapacity": "Đang chờ tài nguyên (đang thử lại)" + "waitingForCapacity": "Đang chờ máy chủ mã hóa (đang thử lại)" }, "jobCard": { "actionNeeded": "Cần hành động", @@ -606,7 +606,9 @@ "autoSelect": "Sẽ tự động chọn", "willAutoSelectFirst": "Sẽ tự động chọn đầu tiên", "noOutputsAvailable": "Chưa có đầu ra nào", - "confirmCost": "Xác nhận chi phí" + "confirmCost": "Xác nhận chi phí", + "makingPublicInProgress": "Đang chuyển bài hát này sang chế độ công khai — đang xuất lại video với thương hiệu mặc định và đăng tải lại. Quá trình này thường mất 15–30 phút.", + "waitingForEncodingServer": "(đang chờ máy chủ mã hóa khả dụng)" }, "jobActions": { "delete": "Xóa", diff --git a/frontend/messages/zh.json b/frontend/messages/zh.json index d2865a43..eb99b39e 100644 --- a/frontend/messages/zh.json +++ b/frontend/messages/zh.json @@ -594,7 +594,7 @@ "lyrics": "歌词", "confirmDurationCost": "确认费用", "findingAudioSources": "正在查找音频源(重试中)", - "waitingForCapacity": "等待可用资源(重试中)" + "waitingForCapacity": "等待编码服务器 (正在重试)" }, "jobCard": { "actionNeeded": "需要操作", @@ -606,7 +606,9 @@ "autoSelect": "将自动选择", "willAutoSelectFirst": "将自动选择第一个", "noOutputsAvailable": "暂无可用输出", - "confirmCost": "确认费用" + "confirmCost": "确认费用", + "makingPublicInProgress": "正在公开此曲目 — 使用默认品牌重新渲染并重新发布。这通常需要 15–30 分钟。", + "waitingForEncodingServer": "(等待编码服务器可用)" }, "jobActions": { "delete": "删除", diff --git a/pyproject.toml b/pyproject.toml index fa26ee4c..7a298fde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "karaoke-gen" -version = "0.192.5" +version = "0.192.6" description = "Generate karaoke videos with synchronized lyrics. Handles the entire process from downloading audio and lyrics to creating the final video with title screens." authors = ["Andrew Beveridge "] license = "MIT"