From: Guillaume Pellerin Date: Mon, 22 Apr 2024 11:01:45 +0000 (+0200) Subject: update date X-Git-Tag: 4.0.0~44 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b91434511d4dcbc60301f5acb9c01f47debd6f48;p=telecaster-server.git update date --- diff --git a/bin/mastering/mastering.py b/bin/mastering/mastering.py index e5d7c67..c4fa659 100755 --- a/bin/mastering/mastering.py +++ b/bin/mastering/mastering.py @@ -37,7 +37,7 @@ class TeleCasterMastering(object): vaapi_formats = {'mp4': {'in': '-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi', 'out': '-c:v h264_vaapi -c:a aac -b:a 96k'}} - date_limit = datetime.datetime(year=2024, month=4, day=21) + date_limit = datetime.datetime(year=2024, month=4, day=19) tmp_dir = "/tmp/" def __init__(self, root_dir, @@ -165,7 +165,7 @@ class TeleCasterMastering(object): filename, ext = os.path.splitext(file) ext = ext[1:] date_dir = datetime.datetime.fromtimestamp(os.path.getmtime(file)) - if ext in self.source_formats and date_dir > self.date_limit: + if ext in self.source_formats and date_dir >= self.date_limit: self.remux(file) offset = None if offsets: