This commit is contained in:
2025-06-18 13:42:29 +02:00
parent 276f0145b0
commit a53d520fc5

View File

@@ -107,7 +107,7 @@ def export_gps(_DEV,_SOURCE_DIR,_DAY_DIRS):
pass pass
else: else:
continue continue
if filename.endswith(".MP4") and not filename.startswith("G"): if filename.endswith(".MP4") and filename.startswith("G"):
myCmd = f"gopro2gpx -s {filename} {filename.replace('.MP4', '')}" myCmd = f"gopro2gpx -s {filename} {filename.replace('.MP4', '')}"
print(myCmd) print(myCmd)
status, output = subprocess.getstatusoutput(myCmd) status, output = subprocess.getstatusoutput(myCmd)