JasonLovesDoggo / RedditVideoMakerBot

Create Reddit Videos with just✨ one command ✨
GNU General Public License v3.0
23 stars 13 forks source link

how to set the amount of videos to make multiple videos #61

Closed justexistingnow closed 2 years ago

justexistingnow commented 2 years ago

I saw the updated code but I am a little confused on where to set the amount exactly, I am sorry I am not that experienced with python

AppleManPS3 commented 2 years ago

You need to use a code editor such as Visual Studio Code (I use Brackets) to edit the .env file which has the amount of iterations the tool should run for.

Look out for: # set to an int e.g. 1 or 29 and leave blank for once TIMES_TO_RUN=""

Don't forget to save the .env file as only ".env" as the ".env.template" is only so the file shows in File Explorer/Finder since (.)dot files are usually hidden.

justexistingnow commented 2 years ago

Already have a code editor! I didn't see the times to run in the .env file, Sorry

AppleManPS3 commented 2 years ago

I too have overlooked a few things when I installed this -- no pressure!

justexistingnow commented 2 years ago

I am getting an error whenever I try to run it with multiple videos

TypeError: range expected at least 1 argument, got 0

AppleManPS3 commented 2 years ago

What value have you got in the field currently?

justexistingnow commented 2 years ago

TIMES_TO_RUN="18"

AppleManPS3 commented 2 years ago

Try a single digit number that is more than 1

justexistingnow commented 2 years ago

Tried it, Doesn't work still the same error. TypeError: range expected at least 1 argument, got 0

JasonLovesDoggo commented 2 years ago

Yeah that's probably a bug

JasonLovesDoggo commented 2 years ago

I'll fix it later today

JasonLovesDoggo commented 2 years ago

tried it now and it worked fine.

please re-clone and try again.