INNER CODE UNIT · Python

Processing_Mode

AutoAnimeMV-Teams/AutoAnimeMv · AutoAnimeMv.py:117

def Processing_Mode(ArgvData:list):
    '''模式选择'''

    ArgvNumber = len(ArgvData)
    global Path,CategoryName
    Path = filepath
    CategoryName = categoryname
    if path.exists(Path) == True:
        # 批处理模式(非分类|分类) or Qb下载模式
        FileListTuporList = Auxiliary_ScanDIR(Path) if ArgvNumber <= 2 or (ArgvData[2] != '1') else [ArgvData[1]]
        Auxiliary_DeleteLogs()
        if CategoryName :
            Auxiliary_Log(f'当前分类 >> {CategoryName}')

        if type(FileListTuporList) == tuple:
            return FileListTuporList # 文件列表元组(视频文件列表,字幕文件列表)
        else:
            for i in FileListTuporList:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…