main -> 2023.03.01 ohli24 버그 픽스 (.01. code cleanup)
This commit is contained in:
@@ -142,8 +142,11 @@ class FfmpegQueue(object):
|
||||
# os.makedirs(save_path)
|
||||
# except:
|
||||
# logger.debug('program path make fail!!')
|
||||
|
||||
# 파일 존재여부 체크
|
||||
filepath = entity.get_video_filepath()
|
||||
filepath = str(entity.get_video_filepath())
|
||||
self.P.logger.debug(filepath)
|
||||
self.P.logger.debug(entity.get_video_filepath())
|
||||
if os.path.exists(filepath):
|
||||
entity.ffmpeg_status_kor = "파일 있음"
|
||||
entity.ffmpeg_percent = 100
|
||||
@@ -151,6 +154,8 @@ class FfmpegQueue(object):
|
||||
# plugin.socketio_list_refresh()
|
||||
continue
|
||||
dirname = os.path.dirname(filepath)
|
||||
self.P.logger.debug(type(dirname))
|
||||
self.P.logger.debug(dirname)
|
||||
if not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
f = ffmpeg.Ffmpeg(
|
||||
|
||||
Reference in New Issue
Block a user