annotate deleteautosave.py @ 132:71df0cf3aa05 default tip

add create.py this is a script to render out video files from entire albums, singles, or EPs. eventually it can be edited to be more robust (such as automatically finding discogs/musicbrainz links) but I think it's pretty damn good for now. It's basically just an ffmpeg frontend with a few hardcoded options that are suitable for this kind of thing.
author Paper <paper@tflc.us>
date Fri, 02 Jan 2026 10:35:03 -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)