Merge multiple CBZ/CBR files into one.
Usage:
python3 main.py [-r result_filename] folder_name
Merges multiple CBZ/CBR files into a single one
Merge multiple CBZ/CBR files into one.
Usage:
python3 main.py [-r result_filename] folder_name
Got this error log when packing Berserk manga:
Failed on Berserk\Chapter 329.cbz
Traceback (most recent call last):
File "S:\Media\Manga\cbz_combiner.py", line 109, in <module>
merge(folder=args.folder, result_filename=args.result_name)
File "S:\Media\Manga\cbz_combiner.py", line 98, in merge
unpack_files(cbzs, cbz_folder)
File "S:\Media\Manga\cbz_combiner.py", line 65, in unpack_files
unpack_single_file(cbz_file, cbz_folder)
File "S:\Media\Manga\cbz_combiner.py", line 57, in unpack_single_file
rmtree(temp_folder)
File "C:\Python39\lib\shutil.py", line 740, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Python39\lib\shutil.py", line 622, in _rmtree_unsafe
onerror(os.rmdir, path, sys.exc_info())
File "C:\Python39\lib\shutil.py", line 620, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'temp_Chapter 329'
What I assume is happening is that packing was too slow thus windows threw an interrupt. Any recommendations to overcome this will be great,
For some reason the whole "cbz_merger_temp" folder gets placed in the final .cbz archive instead of just its contents. This causes conversion programs like Kindle Comic Converter to not be able to process the archive into other file formats. (.mobi in my case, to be able to read the comics on a Kindle device.
Would it be possible to get a revised version that doesn't create the temp folder inside the .cbz but just places all the separate merged folders in the .cbz root?
So the path inside the final .cbz would be something like "Comic.cbz\Chapter_01\Page_01.jpg" instead of "Comic.cbz\cbz_merger_temp\Chapter_01\Page_01.jpg"
Hi there, I'm not familiar with python. How do I use this script?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.