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:
@@ -88,6 +88,7 @@ def modify_creation_date(path,src_file):
|
|||||||
print(path)
|
print(path)
|
||||||
print(src_file)
|
print(src_file)
|
||||||
create_date = filedate.File(src_file).get()
|
create_date = filedate.File(src_file).get()
|
||||||
|
print(create_date)
|
||||||
filedate.File(path).set(
|
filedate.File(path).set(
|
||||||
created = create_date["created"],
|
created = create_date["created"],
|
||||||
modified = create_date["modified"],
|
modified = create_date["modified"],
|
||||||
@@ -415,3 +416,5 @@ if _ACTION == "encode":
|
|||||||
if _ACTION == "all":
|
if _ACTION == "all":
|
||||||
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
flip_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
join_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
join_videos(_DEV, _SOURCE_DIR,_DAY_DIRS)
|
||||||
|
if _ACTION == "get_metadata":
|
||||||
|
modify_creation_date("/media/nas/nas-photo/imported/gopro9_1/2025-06-02", "GH010256.MP4")
|
||||||
Reference in New Issue
Block a user