karaoke-gen 0.66.0__tar.gz → 0.66.1__tar.gz

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.

Potentially problematic release.


This version of karaoke-gen might be problematic. Click here for more details.

Files changed (23) hide show
  1. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/PKG-INFO +4 -1
  2. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/README.md +3 -0
  3. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/karaoke_finalise/karaoke_finalise.py +6 -0
  4. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/pyproject.toml +1 -1
  5. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/LICENSE +0 -0
  6. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/__init__.py +0 -0
  7. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/audio_processor.py +0 -0
  8. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/config.py +0 -0
  9. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/file_handler.py +0 -0
  10. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/karaoke_finalise/__init__.py +0 -0
  11. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/karaoke_gen.py +0 -0
  12. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/lyrics_processor.py +0 -0
  13. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/metadata.py +0 -0
  14. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/resources/AvenirNext-Bold.ttf +0 -0
  15. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/resources/Montserrat-Bold.ttf +0 -0
  16. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/resources/Oswald-Bold.ttf +0 -0
  17. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/resources/Oswald-SemiBold.ttf +0 -0
  18. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/resources/Zurich_Cn_BT_Bold.ttf +0 -0
  19. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/utils/__init__.py +0 -0
  20. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/utils/bulk_cli.py +0 -0
  21. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/utils/gen_cli.py +0 -0
  22. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/video_background_processor.py +0 -0
  23. {karaoke_gen-0.66.0 → karaoke_gen-0.66.1}/karaoke_gen/video_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: karaoke-gen
3
- Version: 0.66.0
3
+ Version: 0.66.1
4
4
  Summary: Generate karaoke videos with synchronized lyrics. Handles the entire process from downloading audio and lyrics to creating the final video with title screens.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -190,6 +190,9 @@ karaoke-gen --enable_txt "Rick Astley" "Never Gonna Give You Up"
190
190
  # Upload to YouTube
191
191
  karaoke-gen --youtube_client_secrets_file="path/to/client_secret.json" --youtube_description_file="path/to/description.txt" "Rick Astley" "Never Gonna Give You Up"
192
192
 
193
+ # Draft completion emails (requires youtube_client_secrets_file for Gmail OAuth)
194
+ karaoke-gen --email_template_file="path/to/template.txt" --youtube_client_secrets_file="path/to/client_secret.json" "Rick Astley" "Never Gonna Give You Up"
195
+
193
196
  # Organize files with brand code
194
197
  karaoke-gen --brand_prefix="BRAND" --organised_dir="path/to/Tracks-Organized" "Rick Astley" "Never Gonna Give You Up"
195
198
  ```
@@ -141,6 +141,9 @@ karaoke-gen --enable_txt "Rick Astley" "Never Gonna Give You Up"
141
141
  # Upload to YouTube
142
142
  karaoke-gen --youtube_client_secrets_file="path/to/client_secret.json" --youtube_description_file="path/to/description.txt" "Rick Astley" "Never Gonna Give You Up"
143
143
 
144
+ # Draft completion emails (requires youtube_client_secrets_file for Gmail OAuth)
145
+ karaoke-gen --email_template_file="path/to/template.txt" --youtube_client_secrets_file="path/to/client_secret.json" "Rick Astley" "Never Gonna Give You Up"
146
+
144
147
  # Organize files with brand code
145
148
  karaoke-gen --brand_prefix="BRAND" --organised_dir="path/to/Tracks-Organized" "Rick Astley" "Never Gonna Give You Up"
146
149
  ```
@@ -1376,6 +1376,12 @@ class KaraokeFinalise:
1376
1376
  self.logger.info("Email template file not provided, skipping email draft creation.")
1377
1377
  return
1378
1378
 
1379
+ if not self.youtube_client_secrets_file:
1380
+ self.logger.error("Email template file was provided, but youtube_client_secrets_file is required for Gmail authentication.")
1381
+ self.logger.error("Please provide --youtube_client_secrets_file parameter to enable email draft creation.")
1382
+ self.logger.info("Skipping email draft creation.")
1383
+ return
1384
+
1379
1385
  with open(self.email_template_file, "r") as f:
1380
1386
  template = f.read()
1381
1387
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "karaoke-gen"
3
- version = "0.66.0"
3
+ version = "0.66.1"
4
4
  description = "Generate karaoke videos with synchronized lyrics. Handles the entire process from downloading audio and lyrics to creating the final video with title screens."
5
5
  authors = ["Andrew Beveridge <andrew@beveridge.uk>"]
6
6
  license = "MIT"
File without changes