mangamanagerorg / manga-manager Goto Github PK
View Code? Open in Web Editor NEWManga Manager collects useful tools to make managing your manga library easy. (Acts directly on files)
License: GNU General Public License v3.0
Manga Manager collects useful tools to make managing your manga library easy. (Acts directly on files)
License: GNU General Public License v3.0
The idea behind this fr is to be able to download covers from mangadex api or any other providing the url or id of the manga. Ideally a folder will be generated with the downloaded covers in it
Current implementation in rework/master gets stuck when no intialdir is passed
Related to: ThePromidius/Manga-Tagger#7
Describe the bug
After a while of using it the Webp converted suddenly started to error out on every volume I tried to convert
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\CommandLineTools\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "C:\Users\roshr\Documents\WindowsPowerShell\MangaManager_v0.4.5\MangaManager\CommonLib\WebpConverter.py", line 339, in start
self._process(cbzFilepath, self._tmpname)
File "C:\Users\roshr\Documents\WindowsPowerShell\MangaManager_v0.4.5\MangaManager\CommonLib\WebpConverter.py", line 380, in _process
zout.writestr(file_name + ".webp", convertToWebp(open_zipped_file))
File "C:\Users\roshr\Documents\WindowsPowerShell\MangaManager_v0.4.5\MangaManager\CommonLib\WebpConverter.py", line 121, in convertToWebp
image.save(converted_image, format="webp")
File "C:\CommandLineTools\Python\Python310\lib\site-packages\PIL\Image.py", line 2178, in save
self._ensure_mutable()
File "C:\CommandLineTools\Python\Python310\lib\site-packages\PIL\Image.py", line 597, in _ensure_mutable
self._copy()
File "C:\CommandLineTools\Python\Python310\lib\site-packages\PIL\Image.py", line 590, in _copy
self.load()
File "C:\CommandLineTools\Python\Python310\lib\site-packages\PIL\ImageFile.py", line 247, in load
raise OSError(
OSError: image file is truncated (34 bytes not processed)
To Reproduce
Steps to reproduce the behavior:
Additional context
It may have something to do with dependency conflicts I had while updating other software through pip, which needed a higher version of Pillow? But then I decided to rollback and reinstalled from the requirements.txt
Minimum requirements for UI:
The idea is to rework how the extensions get called making it easier to integrate cli mode.
The way its handled currently is clumsy and limited in many aspects.
This rework should include how UIs are generated so its not 2k lines of code. Preferably making it so cli mode can be called without having to have tkinter installed at all.
Explorer shows all the .cbz in the directory
Nothing appears.
Issue identified on Arch Linux
Default should be Unknown.
Aparently when these fields are different original value is not kept
Maybe broken files?
Need confirmation.
Reported in Kavita Discord Server
This tool renames the files incrementing Chapter 00x
File selector should open the last folder opened. So if i'm modifying a series it reopens the selection file in that same folder instead of the library folder.
So I've just started trying to use this for editing covers, but I'm running into an issue where sometimes when I select "Replace Current Cover" it will instead not delete the current cover, and save the new cover as a txt file instead of an image file. Just changing the extension to .jpg makes the image work properly. I was curious if anyone else had run into this issue?
Promidius — hoy a las 17:44
Huh thats really weird
Platypusq — hoy a las 17:46
When using the delete cover tool it does something similar, in that it just doesn't delete the old cover. The log says that it is backing up and deleting the cover, but then it just adds in back in. Does the log say that it is deleting the cover even if it doesn't find any?
Promidius — hoy a las 17:46
send the log and i'll be able to answer
Promidius — hoy a las 17:47
lol i think i just found the issue
Platypusq — hoy a las 17:48
Oh, that was fast lol
Promidius — hoy a las 17:52
can you send me the content of that zip?
like the filenames inside of it
Platypusq — hoy a las 17:53
The files are in this log, but this is everything I did, not just the ones that didn't work https://pastebin.com/ZSWFAufc.
For a zip that definitely didn't work:
Atsumare! Fushigi Kenkyu-bu_0.jpg
Atsumare! Fushigi Kenkyu-bu_1.jpg
Atsumare! Fushigi Kenkyu-bu_2.jpg
Atsumare! Fushigi Kenkyu-bu_3.jpg
Atsumare! Fushigi Kenkyu-bu_4.jpg
Atsumare! Fushigi Kenkyu-bu_5.jpg
Atsumare! Fushigi Kenkyu-bu_6.jpg
Atsumare! Fushigi Kenkyu-bu_7.jpg
Atsumare! Fushigi Kenkyu-bu_8.jpg
Promidius — hoy a las 17:59
i'll get back to you when i have this fixed. Thanks for the report
Possible solution to set to "normal" Clear button after "Delete covers" is pressed
This should scan the last page of all chapters and detect if they match. And delete it. used to remove scanlators credits page.
Is your feature request related to a problem? Please describe.
When having to manage a massive number of files, having to manually change every single one to have the correct chapter or volume number is a slow and tedious process.
Describe the solution you'd like
Adding up a option to auto insert the volume/chapter number and increment that for each file. Similiar to the Counter feature TotalCMD uses for multi-rename.
Describe alternatives you've considered
Checking the filename for numbering and applying that number from filename as a volume/chapter number.
Additional context
N/A
found something weird while using webp converter.
Sometimes, if the .cbz has HQ .png files, after converting them, the .cbz filesize will be bigger than before converting.
One of the .cbz files went from 92MB to over 400MB.
This just happened with a few files from a particular source, and all of them were labeled as HQ .png
Currently the ComicInfo metadata accepts the field that can determine some properties of the page content, But manga manager does not write this field in the XML
It would be useful to decide the cover image of a comic/manga using the field inside the XML if is present, if not, the cover is just the first image in the CBZ.
Comic tagger lets you make this changes, and writes the Page Type field in the XML
for bulk processing with a simple find command with ./*cb/ , to add/update meta data , for volumes fetching meta data from comicvine, comictagger written in python should be easy to merge for that solutioon , while adding meta data per chapter from different sources like mangadex , since mangadex only has volume related covers only . one solution would be to host own database with mixture of anilist ,mangadex, and comicvine (even for covers)
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.