diff --git a/handle_imported_video.py b/handle_imported_video.py index 2ce7fac..f37c233 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -9,6 +9,8 @@ import json import getopt from ffmpeg_progress_yield import FfmpegProgress from tqdm import tqdm +import filedate + if sys.platform == "linux" or sys.platform == "linux2": # linux @@ -86,7 +88,17 @@ if _ACTION == "flip": else: myCmd = [ "/opt/ffmpeg/ffmpeg", "-f", "-i", _FILE, "-c", "copy", "-metadata:s:v:0", "rotate=180", "-y", export_name - ] + ] + Path = "~/Documents/File.txt" + + # filedate.File(Path).set( + # created = "1st February 2003, 12:30", + # modified = "3:00 PM, 04 May 2009", + # accessed = "08/07/2014 18:30:45" + # ) + print(filedate.File(Path).get()) + + print(_FULL_PATH) print(myCmd) os.chdir(_FULL_PATH)