From 1d465071113ad5fe146d9fd5a092ff3002bb7c5f Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Sep 2024 22:50:09 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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)