mirror of
https://gitlab.sectorq.eu/jaydee/imported_video.git
synced 2025-12-14 10:34:53 +01:00
build
This commit is contained in:
@@ -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_"):
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user