diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-22 08:45:49 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-22 08:45:49 -0500 |
| commit | eccc7e36113d5a2c21c711ab03acc86ec157755c (patch) | |
| tree | fbdec4469648545912cecdc0150adfb72f2088b5 /Biz/PodcastItLater/Worker.py | |
| parent | 2335a6b8dc174e453ab6236493e5d6615ccc4879 (diff) | |
| parent | 3d1cee8fd1d8c97e72d0f5365ca0371e5676283e (diff) | |
Merge task t-1f9SnU7: Queue Status Improvements
Diffstat (limited to 'Biz/PodcastItLater/Worker.py')
| -rw-r--r-- | Biz/PodcastItLater/Worker.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Biz/PodcastItLater/Worker.py b/Biz/PodcastItLater/Worker.py index 5203490..94db30e 100644 --- a/Biz/PodcastItLater/Worker.py +++ b/Biz/PodcastItLater/Worker.py @@ -620,6 +620,7 @@ class ArticleProcessor: return # Step 1: Extract article content + Core.Database.update_job_status(job_id, "extracting") title, content, author, pub_date = ( ArticleProcessor.extract_article_content(url) ) @@ -630,6 +631,7 @@ class ArticleProcessor: return # Step 2: Generate audio with metadata + Core.Database.update_job_status(job_id, "synthesizing") audio_data = self.text_to_speech(content, title, author, pub_date) if self.shutdown_handler.is_shutdown_requested(): @@ -638,6 +640,7 @@ class ArticleProcessor: return # Step 3: Upload to S3 + Core.Database.update_job_status(job_id, "uploading") filename = ArticleProcessor.generate_filename(job_id, title) audio_url = self.upload_to_s3(audio_data, filename) |
