@danhachuel/thunderbolt 0.3.86 → 0.3.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hermes_ui/pipeline_worker.py +11 -0
- package/package.json +1 -1
|
@@ -1332,6 +1332,17 @@ def _run_task(task: dict[str, Any]) -> dict[str, Any]:
|
|
|
1332
1332
|
if isinstance(stored_upload, dict) and stored_upload:
|
|
1333
1333
|
return _update(task_id, stage="upload", state="done", progress=100, artifacts=artifacts, video_ready=True, error=None)
|
|
1334
1334
|
|
|
1335
|
+
configured_account_id = str(channel.get("google_account_id") or "").strip()
|
|
1336
|
+
configured_upload_post = bool(settings.get("upload_post_enabled", False)) and bool(settings.get("upload_post_auto_upload", False))
|
|
1337
|
+
configured_postiz = bool(settings.get("postiz_enabled", False)) and bool(settings.get("postiz_auto_publish", False))
|
|
1338
|
+
if not (configured_account_id or configured_upload_post or configured_postiz):
|
|
1339
|
+
artifacts["upload"] = {
|
|
1340
|
+
"route": "local",
|
|
1341
|
+
"status": "skipped",
|
|
1342
|
+
"reason": "Nenhuma rota de publicação foi configurada para esta tarefa; os artefactos foram concluídos localmente.",
|
|
1343
|
+
}
|
|
1344
|
+
return _update(task_id, stage="upload", state="done", progress=100, artifacts=artifacts, video_ready=True, error=None)
|
|
1345
|
+
|
|
1335
1346
|
_update(task_id, stage="upload", state="doing", progress=max(94, int(task.get("progress") or 0)), error=None)
|
|
1336
1347
|
result = upload_with_default_route(
|
|
1337
1348
|
settings,
|
package/package.json
CHANGED