-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathmain.py
More file actions
25 lines (23 loc) · 720 Bytes
/
main.py
File metadata and controls
25 lines (23 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""Main program loop"""
import sys
from misc_functions import start, clear, folder_file_create, paths
from choices import single_vid, clear_temp_files, multiple_vids
from config_funcs import config_create
folder_file_create() # Creates folders / files for videos (skips if they already exist)
config_create(paths["config"])
while True:
startResp = start()
if startResp == "Single Video":
single_vid()
clear_temp_files()
clear()
elif startResp == "Multiple Videos":
multiple_vids()
clear_temp_files()
clear()
elif startResp == "Clear Temp Files":
clear_temp_files()
elif startResp == "Cancel":
sys.exit()
else:
sys.exit()