annotate deleteautosave.py @ 133:0d8eabdd12ab default tip

create: write H:MM:SS timestamps, add option to fill with gaussian-blur instead of black many albums are longer than one hour so writing H:MM:SS is a necessity. if anything there will just be verbose info that isn't important for my use-case. however the gaussian-blur is simply broken. It works, and it plays locally just fine, but YouTube in particular elongates the video to fit the full width. I'm not entirely sure why it does this, but it makes it useless and ugly.
author Paper <paper@tflc.us>
date Sat, 03 Jan 2026 20:25:38 -0500
parents 2aa9614cb39a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40
Paper <mrpapersonic@gmail.com>
parents: 31
diff changeset
1 import os
31
b5cf08125fd5 add deleteautosave.py
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2
b5cf08125fd5 add deleteautosave.py
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 for file in os.listdir("./"):
b5cf08125fd5 add deleteautosave.py
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 name = os.path.splitext(file)[0][:-16][-8:]
b5cf08125fd5 add deleteautosave.py
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 if name == "AutoSave":
b5cf08125fd5 add deleteautosave.py
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 os.remove(file)