Closed y9918995 closed 6 months ago
问题描述 右键菜单添加--name_format后无法添加series
复现步骤
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\EpisodeReName] @="自动剧集命名" "Icon"="D:\\0-Archive\\Program\\Qbittorrent-RssManager\\EpisodeReName.exe,0"
[HKEY_CLASSES_ROOT*\shell\EpisodeReName\command] @="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path \"%1\" --name_format "{series} - S{season}E{ep}""
[HKEY_CLASSES_ROOT\Directory\shell\EpisodeReName] @="自动剧集命名" "Icon"="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\EpisodeReName\command] @="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path \"%1\" --name_format "{series} - S{season}E{ep}""
4. 正常CMD运行时是正常的
D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1>D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path "D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4" --name_format "{series} - S{season}E{ep}" 2024-04-13 21:42:45.945 | INFO | main::733 - 单文件处理 2024-04-13 21:42:45.945 | INFO | main::734 - D:/1-Anime/01-NewAnime-Baha/GIRLS BAND CRY(2024)/S1/02.mp4 2024-04-13 21:42:45.946 | INFO | main:get_season_and_ep:266 - ('解析文件', 'D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4') 2024-04-13 21:42:45.949 | INFO | main:get_season_and_ep:386 - 括号内未识别, 开始寻找括号外内容 2024-04-13 21:42:45.949 | INFO | main:get_season_andep:394 - pat [.?]|(.?)|【.?】|「.?」|-|\ 2024-04-13 21:42:45.950 | INFO | main:extract_ending_ep:459 - 找末尾是数字的子字符串 2024-04-13 21:42:45.951 | INFO | main:extract_ending_ep:473 - <re.Match object; span=(0, 2), match='02'> 2024-04-13 21:42:45.952 | INFO | main:ep_offset_patch:590 - 检测到 qb-rss-manager 的 v1 格式数据 2024-04-13 21:42:45.953 | INFO | main::763 - GIRLS BAND CRY - S01E02.mp4 2024-04-13 21:42:45.953 | INFO | main::785 - ('file_lists', [['D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4', 'D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\GIRLS BAND CRY - S01E02.mp4']]) 2024-04-13 21:42:45.975 | INFO | main::834 - 运行完毕
**截图** 如果有截图,请附上 右键菜单,未能添加series的运行截图 ![image](https://github.com/Nriver/Episode-ReName/assets/57078593/dc07d34e-2e56-47b5-800f-9aaa972774ad)
GPT了之后知道了引号要用\",是我的reg编辑有问题555
\"
问题描述 右键菜单添加--name_format后无法添加series
复现步骤
[HKEY_CLASSES_ROOT*\shell\EpisodeReName\command] @="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path \"%1\" --name_format "{series} - S{season}E{ep}""
[HKEY_CLASSES_ROOT\Directory\shell\EpisodeReName] @="自动剧集命名" "Icon"="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\EpisodeReName\command] @="D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path \"%1\" --name_format "{series} - S{season}E{ep}""
D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1>D:\0-Archive\Program\Qbittorrent-RssManager\EpisodeReName.exe --path "D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4" --name_format "{series} - S{season}E{ep}" 2024-04-13 21:42:45.945 | INFO | main::733 - 单文件处理
2024-04-13 21:42:45.945 | INFO | main::734 - D:/1-Anime/01-NewAnime-Baha/GIRLS BAND CRY(2024)/S1/02.mp4
2024-04-13 21:42:45.946 | INFO | main:get_season_and_ep:266 - ('解析文件', 'D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4')
2024-04-13 21:42:45.949 | INFO | main:get_season_and_ep:386 - 括号内未识别, 开始寻找括号外内容
2024-04-13 21:42:45.949 | INFO | main:get_season_andep:394 - pat [.?]|(.?)|【.?】|「.?」|-|\
2024-04-13 21:42:45.950 | INFO | main:extract_ending_ep:459 - 找末尾是数字的子字符串
2024-04-13 21:42:45.951 | INFO | main:extract_ending_ep:473 - <re.Match object; span=(0, 2), match='02'>
2024-04-13 21:42:45.952 | INFO | main:ep_offset_patch:590 - 检测到 qb-rss-manager 的 v1 格式数据
2024-04-13 21:42:45.953 | INFO | main::763 - GIRLS BAND CRY - S01E02.mp4
2024-04-13 21:42:45.953 | INFO | main::785 - ('file_lists', [['D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\02.mp4', 'D:\1-Anime\01-NewAnime-Baha\GIRLS BAND CRY(2024)\S1\GIRLS BAND CRY - S01E02.mp4']])
2024-04-13 21:42:45.975 | INFO | main::834 - 运行完毕