diff --git a/FFMpeg.py b/FFMpeg.py index 6a929aa..7b98f57 100644 --- a/FFMpeg.py +++ b/FFMpeg.py @@ -853,7 +853,7 @@ def parse_extrd(streams_in, de_bug=False): if de_bug: print(f"D:= {ff_data}") - return ff_data, skip_it + return ff_data, True ##>>============-------------------< End >------------------==============<<## @@ -875,7 +875,7 @@ def zabrain_run(input_file: str, mta_dta: Dict[str, any], de_bug: bool= False ) print(f"Go on: {e}") return False , True end_t = time.perf_counter() -# print(f' -End: {TM.datetime.now():%T}\tTotal: {hm_time(end_t - str_t)}') + if de_bug: print(f' -End: {TM.datetime.now():%T}\tTotal: {hm_time(end_t - str_t)}') return ff_run_cmnd, skip_it ##>>============-------------------< End >------------------==============<<## diff --git a/Trans_code.py b/Trans_code.py index 21c652f..af9cd5c 100644 --- a/Trans_code.py +++ b/Trans_code.py @@ -151,8 +151,8 @@ def process_file(file_info, cnt, fl_nmb ): input("File name too long > 333") try: - all_good, skip_it = zabrain_run(file_p, jsn_ou, de_bug) # debug = True # DEBUG: + all_good, skip_it = zabrain_run(file_p, jsn_ou, debug) if debug or ext != ".mp4": skip_it = False # print (f"\nFile: {file_p}\nFfmpeg: {all_good}\n")