Benni-chan / nzbToAniDB

postprocessing script for animes (to use with sabnzbd+ or nzbget or even as stand alone) to rename files after a sync with anidb.net. files can additionally be renamed via tvdb
24 stars 7 forks source link

Error while parsing [anime] movie #23

Closed avluis closed 9 years ago

avluis commented 9 years ago

Got this error today after updating to the newest build with movie support:

Hashed: ed2k://|file|/volume1/downloads/completed/anime/[Commie] Gurren Lagann The Movie - Childhood's End [BD 1080p FLAC] [55A4A935].mkv|7991720156|a4fed4c3c64975ec96219375153435e7| Identified: [Commie] Gekijouban Tengen Toppa Gurren Lagann: Gurren-hen (Gurren Lagann the Movie -Childhood`s End-) - 1 - (Complete Movie) Renaming to: Gekijouban Tengen Toppa Gurren Lagann Gurren-hen - 01 - [Commie]Blu-ray(55A4A935).mkv Traceback (most recent call last): File "/volume1/auto/nzbToAniDB/nzbToAniDB.libs/anidb.py", line 408, in if (options.directorymovie and info['type'] == 'Movie' and not tvdbinfo): NameError: name 'tvdbinfo' is not defined

Any idea as to what may be causing it? I am running without any modifications (except for what is required in anidb.cfg. I wish I was better at python to be able to give a hand at fixing this.

Benni-chan commented 9 years ago

i'll take a look at this early next year :)

i have several bug fixes in the pipeline, maybe this is already fixed in my next update.

avluis commented 9 years ago

Awesome! I will be taking a few crash courses with python (I'm already good with C++ and Java) and I have a few features to request so I'll be pulling a fork, fixing what I can (improving if you don't mind) and present them to see and see what you think.

Also, Happy New Year~

gunmantheh commented 9 years ago

found the problem fix is on the way, will just need Benni to authorise the pull request (https://github.com/Benni-chan/nzbToAniDB/pull/24)

avluis commented 9 years ago

@gunmantheh Thank you for working on this so quickly!