Fixed uploads, again
This commit is contained in:
3
main.py
3
main.py
@@ -2,7 +2,6 @@ import openDrive
|
||||
import time
|
||||
import os
|
||||
from imdb import Cinemagoer
|
||||
import uploadresults
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
@@ -24,7 +23,7 @@ def ripDvd(driveName):
|
||||
movieName = driveName
|
||||
os.system('HandBrakeCLI -i /dev/sr0 -o output/"' + movieName + '.mp4" --preset-import-file preset.json')
|
||||
print("- Movie has been ripped, will now procede to upload file")
|
||||
uploadresults.upload()
|
||||
os.system("python3 uploadresults.py")
|
||||
print("- Movie has been uploaded")
|
||||
|
||||
def waitForDvd():
|
||||
|
||||
Reference in New Issue
Block a user