Code Monkey home page Code Monkey logo

comicnamer's People

Contributors

fredsherbet avatar swc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

fredsherbet

comicnamer's Issues

Error with certain issues

When I put in an issue with no title like The Walking Dead 007 I get this:

Loading config: /Users/Home/.comicnamer.json

Starting comicnamer

Found 1 issue

Processing file: The Walking Dead 007.cbz

Detected volume: The Walking Dead (issue: 7)

the walking dead
Traceback (most recent call last):
File "/usr/local/bin/comicnamer", line 8, in
load_entry_point('comicnamer==1.0', 'console_scripts', 'comicnamer')()
File "build/bdist.macosx-10.7-intel/egg/comicnamer/main.py", line 344, in main
File "build/bdist.macosx-10.7-intel/egg/comicnamer/main.py", line 263, in comicnamer
File "build/bdist.macosx-10.7-intel/egg/comicnamer/main.py", line 142, in processFile
File "build/bdist.macosx-10.7-intel/egg/comicnamer/utils.py", line 490, in generateFilename
KeyError: u'seasonno'

Title incorrect for issue after one where issue # contains a .

Once it finds an issue number like 14.1, the issue after it is named incorrectly. It should actually be able to process those ones.

Example:
Avengers Academy: http://www.comicvine.com/avengers-academy/49-33633/?page=2

They get renamed like:
Avengers Academy - [14] - Disaster Response.cbz
Avengers Academy - [15] - Peer Pressure.cbz
Avengers Academy - [16] - Fear Itself, Chapter 2: A God-Awful Small Affair.cbz

The title for 15 gets skipped, then it's correct again at 16.

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.