LazyLibrarian: Automate your ebook/author collection

Got a program that plays well with SABnzbd? Share it here!
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

Here's the full log. This is what happens when I click 'manal processing'. When i download a book I never see POSTPROCESS of the book. Is this process run on a schedule or should it kick off after a book is downloaded successfully?

28-Dec-2012 13:13:01 - INFO :: Thread-12 : Postprocessing has begun.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : nzbtitle xx is in downloads
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Found folder yy.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Could not chmod author directory
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Its run on a schedule, or it can be run manually.
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

I ran lazylibrarian from the terminal and then ran 'manual processing'. Here is the error on the terminal...


user@computer:/etc/rc3.d$ Exception in thread POSTPROCESS:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/.lazylibrarian/lazylibrarian/postprocess.py", line 55, in processDir
dest_path = authorname + os.sep + bookname
UnboundLocalError: local variable 'authorname' referenced before assignment
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

okay thanks that helps alot
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

See if the latest update works
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

Works...thx a bunch
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

scochr wrote:Works...thx a bunch
No problem
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

Why doesn't it process all books? Is it because it cannot find them on Goodreads? I can manually look them up on Goodreads.
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Im not quite sure what you mean
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

Post processing does not process all of the books that are download (ie move them to the final destination).
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

What happens is it queries the database for all of the books with the status snatched. Gets the title of the nzb file which was passed to sabnzbd and looks for it in the download directory. When it is found, the book in that folder should be post processed. If the book is named differently than what LL is looking for then at present it wont be post processed.
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

Here's some examples. Here's some examples of folders and files downloaded by LL that it does not successfully postprocess.

./Cara Summers A Wolf in Sheeps Clothing Tell Me Your Secrets:
Joan Johnston & Cara Summers - [Wolf 02] - A Wolf in Sheep's Clothing [SD-658] & Tell Me Your Secrets [HBZ-286] (mobi).mobi

./Christina Skye Code Name Blondie:
Skye, Christina -Code Name 3-5- Baby (3); Blondie (4); Bikini (5).lit

./Christina Skye The Draycott Legacy:
Christina Skye - [Draycott Abbey 01,04] - The Draycott Legacy (Enchantment; Bridge of Dreams) (v5.0) (epub).epub

./Christine Feehan Dark Celebration:
Christine Feehan - [Dark 10,15-18] - Dark Symphony; Dark Secret; Dark Demon; Dark Celebration; Dark Possession (v5.0) (epub).epub
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Are you using the sabnzbd api or saving the nzb files to a directory?
scochr
Newbie
Newbie
Posts: 35
Joined: November 30th, 2012, 11:58 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by scochr »

I'm sending to sabnzbd
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

Ok, so just going to update (from d841da3a9def61f481f2623f7b11fa92c08fdc6b) but when I do it comes back with the same version, again telling me I'm 5 commits behind. Has anything changed lately in the upgrade process?
It's working ok now, so happy to leave for a bit.
Rather not have to re-do the database again...
Post Reply