From dd8a68a2671761c98a8e6bc4e40c02fbe78793d8 Mon Sep 17 00:00:00 2001 From: projectdx Date: Thu, 11 May 2023 19:41:39 +0900 Subject: [PATCH] =?UTF-8?q?main=20->=202023.05.11=20ohli24=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=ED=94=BD=EC=8A=A4=20(.01.=20todo:=20setting=5Fsave?= =?UTF-8?q?=5Fafter)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic_anilife.py | 14 ++++++++------ logic_linkkf.py | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/logic_anilife.py b/logic_anilife.py index 89f120c..54945d0 100644 --- a/logic_anilife.py +++ b/logic_anilife.py @@ -1033,12 +1033,14 @@ class LogicAniLife(LogicModuleBase): return ret def setting_save_after(self): - if self.queue.get_max_ffmpeg_count() != P.ModelSetting.get_int( - "anilife_max_ffmpeg_process_count" - ): - self.queue.set_max_ffmpeg_count( - P.ModelSetting.get_int("anilife_max_ffmpeg_process_count") - ) + pass + # Todo: 버그 고쳐야함 + # if self.queue.get_max_ffmpeg_count() != P.ModelSetting.get_int( + # "anilife_max_ffmpeg_process_count" + # ): + # self.queue.set_max_ffmpeg_count( + # P.ModelSetting.get_int("anilife_max_ffmpeg_process_count") + # ) def scheduler_function(self): logger.debug(f"anilife scheduler_function:: =========================") diff --git a/logic_linkkf.py b/logic_linkkf.py index a2091bb..41a91a8 100644 --- a/logic_linkkf.py +++ b/logic_linkkf.py @@ -362,12 +362,14 @@ class LogicLinkkf(LogicModuleBase): return ret def setting_save_after(self): - if self.queue.get_max_ffmpeg_count() != P.ModelSetting.get_int( - "linkkf_max_ffmpeg_process_count" - ): - self.queue.set_max_ffmpeg_count( - P.ModelSetting.get_int("linkkf_max_ffmpeg_process_count") - ) + # Todo: + pass + # if self.queue.get_max_ffmpeg_count() != P.ModelSetting.get_int( + # "linkkf_max_ffmpeg_process_count" + # ): + # self.queue.set_max_ffmpeg_count( + # P.ModelSetting.get_int("linkkf_max_ffmpeg_process_count") + # ) def get_video_url_from_url(url, url2): video_url = None