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:
@@ -161,8 +161,7 @@ def flip_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
print(e)
|
print(e)
|
||||||
print(f"Failed to move {export_name}")
|
print(f"Failed to move {export_name}")
|
||||||
|
|
||||||
|
def join_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||||
def encode_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|
||||||
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 + "\\"
|
||||||
@@ -334,17 +333,7 @@ def encode_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if _ACTION == "modify_date":
|
def encode_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
|
||||||
modify_creation_date(_FILE,_SRC_FILE)
|
|
||||||
|
|
||||||
|
|
||||||
if _ACTION == "flip":
|
|
||||||
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
|
||||||
|
|
||||||
if _ACTION == "join":
|
|
||||||
encode_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
|
||||||
|
|
||||||
if _ACTION == "encode":
|
|
||||||
print("Encode Job")
|
print("Encode Job")
|
||||||
for _DAY_DIR in _DAY_DIRS:
|
for _DAY_DIR in _DAY_DIRS:
|
||||||
if ops == "win":
|
if ops == "win":
|
||||||
@@ -414,3 +403,16 @@ if _ACTION == "encode":
|
|||||||
print(f"Failed to move {export_name}")
|
print(f"Failed to move {export_name}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if _ACTION == "modify_date":
|
||||||
|
modify_creation_date(_FILE,_SRC_FILE)
|
||||||
|
|
||||||
|
|
||||||
|
if _ACTION == "flip":
|
||||||
|
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
|
|
||||||
|
if _ACTION == "join":
|
||||||
|
join_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
|
|
||||||
|
if _ACTION == "encode":
|
||||||
|
encode_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
Reference in New Issue
Block a user