def sendActor(args): if 'Actor' not in args: return 'failed' code, actor = args['Actor'].split('=') print(code, actor) videoParse().setActor(code, actor) return 'success'
def deleteAll(args): videoParse().deleteAll() return 'success'
def printAll(args): videoParse().printAll() return 'success'
def setPath(args): videoParse().setPath(r'E:\889914\video') return 'success'
def test(args): videoParse().test() return 'success'
def getCode(args): code = videoParse().getOneCode() if code: return code return 'stop'