GithubHelp home page GithubHelp logo

mangamanagerorg / manga-manager Goto Github PK

View Code? Open in Web Editor NEW
151.0 151.0 16.0 52.17 MB

Manga Manager collects useful tools to make managing your manga library easy. (Acts directly on files)

License: GNU General Public License v3.0

Python 98.76% Dockerfile 0.32% Shell 0.04% PowerShell 0.88%
docker manga metadata python3

manga-manager's People

Contributors

lazygeniusman avatar majora2007 avatar thepromidius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

manga-manager's Issues

[Outdated] Volume Manager naming incorrect

Describe the bug
Naming not corret, BLEACH -> BLEA Vol. XX CH XXX.cbz
Think the "CH" is interpreted as chapter...
Expected behavior
BLEACH -> BLEACH Vol. XX [...].cbz
Screenshots
image

Desktop (please complete the following information):

  • OS: WIN10
  • Browser Brave
  • Version v1.44.105

Tool to download covers

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

To-Do list

  • Create a folder per serie
  • prompt to put in manga id / url
  • check if that volume or other image that contains same volume number exists ans download or exclude accordingly

Webp Converter stopped working

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:

  1. Load a .cbz
  2. Process
  3. It errors out

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

Design UI

Minimum requirements for UI:

  • Open 1 or more .CBZ
  • Fill all the info from comicinfo inside such .CBZ
  • Show cover

v0.5 - Rework

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.

Option to clear queue

Set Volume:

  • Be able to clear the table. / If volume number is decreased pressing preview should update it.

Bugs with conflicts

Aparently when these fields are different original value is not kept

  • Title
  • Imprint
  • Series Group
  • Genre
  • M Rating
  • Alt series
  • Issue Number
  • Month
  • # Issues
  • Alt Issues
  • Alt # Issues

Maybe broken files?
Need confirmation.
Reported in Kavita Discord Server

Renaming tool

This tool renames the files incrementing Chapter 00x

  • Should be able to keep volume information on different volumes
  • User should be able to input the starting number

[BUG] CoverManager overwrites the image with txt extension. Renaming aparently fixes

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

Bulk Edit Append Increment Volume/Chapter [Feature Request]

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

Webp Converter sometimes output bigger filesize than input

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

Option to change the cover using the <Page Type> field in ComicInfo

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
Captura de pantalla 2022-07-13 121027

CLI support + volume specific meta data (comicvine) + mangadex Cover support (hitting kavita api to upload the covers)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.