Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拆分文件,防止文件过长无法正常维护以及修复功能 #89

Merged
merged 9 commits into from
Jan 28, 2024

Conversation

misaka10843
Copy link
Owner

@misaka10843 misaka10843 commented Jan 28, 2024

此次修改可能会导致非常多的bug,请酌情使用

在合并之前绝对会有bug,合并之后可能在使用过程中也有bug出现

修复问题

#88 #83

注意事项

当前cbz生成的方式已经从{save_dir}/{pinyin.get_pinyin(manga_name)}/{manga_name}{title}.cbz更改为{save_dir}/{path_word}/{manga_name}{title}.cbz

而且cbz中的xml文件也从

<?xml version="1.0"?>
<ComicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance">
<Title>{pinyin.get_pinyin(title)}</Title>
<Series>{pinyin.get_pinyin(manga_name)}</Series>
<Number>{pinyin.get_pinyin(index)}</Number>
</ComicInfo>
<?xml version="1.0"?>
<ComicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Title>{title}</Title>
<Series>{manga_name}</Series>
<Number>{index}</Number>
</ComicInfo>"

也就是说之前是使用的第三方库来生成拼音填充这些字段,而现在除了文件保存路径使用了copymanga自带的拼音标注,其他的字段都是使用中文存储

这可能会导致一部漫画的路径与元信息不同,但是为了防止Pinyin库的一堆bug,所以还是决定使用这种方法,还请大家理解

@misaka10843 misaka10843 changed the title 拆分文件,防止文件过长无法正常维护 拆分文件,防止文件过长无法正常维护以及修复功能 Jan 28, 2024
@misaka10843 misaka10843 self-assigned this Jan 28, 2024
@misaka10843 misaka10843 added the enhancement New feature or request label Jan 28, 2024
@misaka10843 misaka10843 linked an issue Jan 28, 2024 that may be closed by this pull request
@misaka10843 misaka10843 merged commit b070e3f into master Jan 28, 2024
2 checks passed
@misaka10843 misaka10843 deleted the split-file branch January 28, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant