Add support for s3 uploads.

This commit is contained in:
yrriban 2025-04-13 17:24:31 -04:00
parent e78453d6bd
commit a7e2f04bde
3 changed files with 23 additions and 1 deletions

View file

@ -52,7 +52,10 @@ def DemoInPath(wad, mapstr):
return sorted(filter(lambda s : re.search("-", str(s)), candidates))[-1]
def DemoOutPath(wad, mapstr):
return DEMOS.joinpath(wad).joinpath("{}_map{}.lmp".format(wad, mapstr))
return DEMOS.joinpath(wad).joinpath(DemoName(wad, mapstr))
def VideoPath(wad, mapstr):
return OUTPUT.joinpath(wad).joinpath("{}_map{}.mp4".format(wad, mapstr))
def DemoName(wad, mapstr):
return "{}_map{}.lmp".format(wad, mapstr)