Closed huleiya closed 12 months ago
日志报错: [2023-10-06 16:53:10,614][init][INFO]: 视频 ['./直播回放\i妍霏-2023年10月06日15点50分.flv'] 上传完成:
[2023-10-06 16:53:10,614][init][INFO]: 添加以下文件到清理队列: ['./直播回放\i妍霏-2023年10月06日15点50分.flv', './直播回放\i妍霏-2023年10月06日15点50分.ass']. [2023-10-06 16:53:10,614][init][DEBUG]: Clean files: {'msg_type': 'clean', 'method': 'copy', 'video': './直播回放\i妍霏-2023年10月06日15点50分.flv', 'group': 'i妍霏', 'video_info': {'url': 'https//www.douyu.com/9119044', 'taskname': 'i妍霏', 'streamer': 'i妍霏', 'title': '总有些惊奇的际遇 9119044', 'time': datetime.datetime(2023, 10, 6, 15, 50, 37, 109219), 'has_danmu': '', 'duration': 3599.828545808792}, 'config': {'dest': './直播回放/{STREAMER}{YEAR}年{MONTH}月{DAY}日', 'delay': 0, 'strict': True, 'wait': True, 'method': 'copy'}, 'kwargs': {}} [2023-10-06 16:53:10,614][init][ERROR]: 'str' object has no attribute 'startwith' Traceback (most recent call last): File "D:\DanmakuRender-4\DMR\Cleaner__init__.py", line 45, in _run_queue if dst and not dst.startwith('*'): AttributeError: 'str' object has no attribute 'startwith'
你下载zip,别用release里面那个就好了
下载zip最新版本后,问题解决
上传视频后直接清理了,并没有将上传的视频复制或移动到指定文件夹,这里的method设置成move或copy都不行,配置文件的自动清理部分如下: