alexlaverty / python-reddit-youtube-bot

Automated Reddit Youtube Video Bot
https://www.youtube.com/channel/UCzIwW92D_rM5_yvWBsquSbw
78 stars 17 forks source link

No video background ... ? #20

Closed alexdo83 closed 1 year ago

alexdo83 commented 1 year ago

video backgrouds is error?

image https://www.youtube.com/watch?v=LQaFy-FJCcY

alexdo83 commented 1 year ago

Ok, I saw it in the setting: enable_background = True

alexlaverty commented 1 year ago

Yeh today I worked on automating this script to run on a schedule via github Actions workflow : https://github.com/alexlaverty/ttsvibelounge/blob/main/.github/workflows/tssvibelounge.yml

Turned off backgrounds because it greatly speeds up the compilation, i probably need to make more of these settings configurable via ENV overrides so it makes it easier to override these settings..

alexdo83 commented 1 year ago

There is a problem: when we disable_upload = False and total_posts_to_process = xxx Then the tool will stop processing when it executes 1 video image

The solution here is to add a handle when disable_upload = False, the process works normally like configuring total_posts_to_process = xx

alexlaverty commented 1 year ago

I'll put some more checks in so it doesn't attempt to upload to youtube if the client_secrets.json file doesn't exist,

if you want to enable auto upload to youtube you need to generate OAuth 2.0 token, and then save as client_secrets.json : https://developers.google.com/youtube/registering_an_application

image

alexdo83 commented 1 year ago

I don't intend to upload it to the channel ... I just put the problem here that when disable_upload it will give the same error as above. thank you.