This commit is contained in:
2025-06-17 23:23:21 +02:00
parent 74d6799ec5
commit dd4a987427

View File

@@ -95,7 +95,7 @@ def modify_creation_date(path,src_file):
) )
def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS): def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
print("Flipping")
for _DAY_DIR in _DAY_DIRS: for _DAY_DIR in _DAY_DIRS:
if ops == "win": if ops == "win":
_FULL_PATH = _SOURCE_DIR + "\\" + _DEV + "\\" + _DAY_DIR + "\\" _FULL_PATH = _SOURCE_DIR + "\\" + _DEV + "\\" + _DAY_DIR + "\\"
@@ -107,10 +107,12 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
if not os.path.exists(_PROCESSED): if not os.path.exists(_PROCESSED):
os.mkdir(_PROCESSED) os.mkdir(_PROCESSED)
for filename in os.listdir(_FULL_PATH): for filename in os.listdir(_FULL_PATH):
if _FILTER and _PATERN in filename: if _FILTER:
pass if _PATERN in filename:
else: pass
continue else:
continue
if filename.endswith(".MP4") and not filename.startswith("joined_"): if filename.endswith(".MP4") and not filename.startswith("joined_"):