🧹 don't hardcode excludes

This commit is contained in:
Mike Gerber 2025-06-16 15:22:37 +02:00
parent 5db082be89
commit 82248deb8d

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import subprocess
import collections
import re
@ -23,12 +23,6 @@ def main(exclude, arguments):
continue
key, file = l.split(":", maxsplit=1)
# XXX
if file.lower().endswith(".jpg"):
continue
if file.lower().endswith(".nfo"):
continue
files[key].append(file)
for k in files: