fix: remove param -keep-utc

with_status
WorldObservationLog 6 months ago
parent 51c967c60f
commit 2d7cd0e897
  1. 2
      src/mp4.py

@ -180,7 +180,7 @@ def write_metadata(song: bytes, metadata: SongMetadata, embed_metadata: list[str
time = datetime.strptime(metadata.created, "%Y-%m-%d").strftime("%d/%m/%Y")
else:
time = ""
subprocess.run(["mp4box", "-time", time, "-mtime", time, "-keep-utc", "-name", f"1={metadata.title}", "-itags",
subprocess.run(["mp4box", "-time", time, "-mtime", time, "-name", f"1={metadata.title}", "-itags",
":".join(["tool=", f"cover={absolute_cover_path}",
metadata.to_itags_params(embed_metadata)]),
song_name.absolute()], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)

Loading…
Cancel
Save