diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 48ecaa7..0613343 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -98,11 +98,3 @@ jobs: touch IPX-292.mp4 touch STAR-437-C.mp4 ./Movie_Data_Capture - - - name: Run test (Windows) - if: matrix.os == 'windows-latest' - run: | - cd dist - ni IPX-292.mp4 - ni STAR-437-C.mp4 - ./Movie_Data_Capture \ No newline at end of file diff --git a/Movie_Data_Capture.py b/Movie_Data_Capture.py index 53765a1..c7ac71d 100644 --- a/Movie_Data_Capture.py +++ b/Movie_Data_Capture.py @@ -610,8 +610,12 @@ def main(args: tuple) -> Path: oCC = None if ccm == 0 else OpenCC('t2s' if ccm == 1 else 's2t') if not search == '': - json_data = get_data_from_json(search, oCC, None, None) - debug_print(json_data) + search_list = search.split(",") + for i in search_list: + json_data = get_data_from_json(i, oCC, None, None) + debug_print(json_data) + time.sleep(int(config.getInstance().sleep())) + os._exit(0) if not single_file_path == '': # Single File print('[+]==================== Single File =====================')