stuff and things

This commit is contained in:
Crispy 2022-05-28 14:13:11 +02:00
parent 19059fd75a
commit 7e9daa986f
4 changed files with 11 additions and 8 deletions

View file

@ -16,7 +16,6 @@ def delay(seconds=30):
time.sleep(0.1)
def scan():
print("scanning")
date = datetime.datetime.now()
month = f"{date.year}-{date.month:02d}/"
path = ROOT_DIR + month
@ -29,7 +28,9 @@ def scan():
# input(f)
call(f"convert {f} temp.{f}", cwd=path, shell=True)
call(f"mv temp.{f} {f}", cwd=path, shell=True)
print(f"compressed {f}")
PROCESSED.append(f)
print("done")
while True:
scan()

View file

@ -28,6 +28,6 @@ os.system("killall vrmonitor")
time.sleep(2)
# start steamvr
os.system("steam steam://rungameid/250820")
time.sleep(7)
# start vrchat
os.system("steam steam://rungameid/438100")
# time.sleep(7)
# os.system("steam steam://rungameid/438100")