LazyLibrarian: Automate your ebook/author collection

Got a program that plays well with SABnzbd? Share it here!
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

No rush
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Brought out a quick update; now when you press shut-down/restart you get a confirmation popup window. You can also click the status 'wanted' on a book to force lazy librarian to search for that particular book. Other than that the tags for the other status' have just been made more colourful.
MedievalRoadie
Newbie
Newbie
Posts: 1
Joined: December 19th, 2012, 6:05 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by MedievalRoadie »

Hi,
Just registered to say thanks for picking this up - I looked into LL a while back and found it wasn't under development anymore and didn't look too functional. It's come on leaps and bounds since then, well done!

I've also come across the 403 errors as above on my installation on Ubuntu 12.04 - it seems to have fixed itself though. All I did was check permissions on my installation, and a 'sudo service lazylibrarian stop' and then a 'sudo service lazylibrarian start'. Nothing special, and all seems to be working nicely now!
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

That's good news I'd say my changes fixed it then!
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

It's coming along pretty well!
I've had it setup since it was first released but is good to see someone has picked it up and is actively working on it.

I tried to have a look last night to see if i can make some amendments to add in multiple Newznab providers, i'll see if i can have another play at the weekend
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

It would be awesome if you could manage that!! If you do work it out, can I recommend forking the project on github so it becomes easy to integrate the change back into the main project?
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

I'll have another play locally to see if i can get it working, if i do i'll fork it so it can be merged, i managed to break it last night so will start again when i have more time
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

I get the following error when i try to search for books by Tami Hoag after adding to the database:

20-Dec-2012 15:32:36 - INFO :: SEARCHBOOKS : Searching for Tami Hoag.
Exception in thread SEARCHBOOKS:
Traceback (most recent call last):
File "C:\Python26\lib\threading.py", line 522, in __bootstrap_inner
self.run()
File "C:\Python26\lib\threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "N:\LazyLibrarian-master\LazyLibrarian-masterorig\lazylibrarian\searchnzb.py", line 76, in searchbook
nzbTitle = formatter.latinToAscii(formatter.replace_all(nzb['nzbtitle'], dictrepl)).strip()
File "N:\LazyLibrarian-master\LazyLibrarian-masterorig\lazylibrarian\formatter.py", line 79, in replace_all
text = text.replace(i, j)
AttributeError: 'NoneType' object has no attribute 'replace'
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

Forgot to say, i think i've got the second NewzNab site working, i need to do a little testing but it's pulled an NZB from the second assigned site and sent to SAB, it's a bit of basic editing to get it working but think i've covered everything
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

That's awesome. I guess make sure it gets nzb files from both not just site two or site one. I should clarify by saying in terms of priorities, make sure it searches site 1 and then site 2.
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

Yeah i need to figure that out, was there anything to prioritize between multiple providers originally?
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

No
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

LibrarianMike wrote:Can you try out the latest update and see if LL finds any nzb files with a newsnab provider (such as nzb.su). Hoping I fixed the issue with the cache which stopped it finding anything for Linux users.
Tried the current one (73e9bbde0fa6c22359fd60e4b387d12e409ab04c) and still downloads fine for me from http://nzb.su/ through sabnzbd on Ubuntu 12.04
But when I ran the manual post process, it didn't move the book - is marked as open in library.
It did move an old one I had downloaded previously though!?

2012-12-22 20:09:28 INFO Successfully processed: Jennifer Weiner - The Next Best Thing
2012-12-22 20:09:28 INFO Successfully moved /mnt/disk2/Downloads/Jennifer Weiner The Next Best Thing to /mnt/disk3/e-books/Jennifer Weiner/The Next Best Thing. << downloaded weeks back >>
2012-12-22 20:06:27 INFO Melissa Hill Something From Tiffanys sent to SAB successfully. << got this fine >>
2012-12-22 20:06:26 INFO Searching for Melissa Hill.

Will check back again later.

Edit: I lied - that other book it just fetched now it seems (was on wanted list) - sabnzbd log shows from today. I did hit search on a random book on wanted list, so prob that one.
sabnzbd:
Melissa Hill Something From Tiffanys 2012-12-22 20:06:34
Jennifer Weiner The Next Best Thing 2012-12-22 20:05:30
Fetching fine it seems!
If anyone has a problem with a specific book, happy to try it.
Last edited by Wimma on December 22nd, 2012, 4:22 am, edited 1 time in total.
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

So you had the same book downloaded twice?
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

LibrarianMike wrote:So you had the same book downloaded twice?
Sorry, no, completely different other book.
That one it looks to have found checking through wanted list, and fetched, then moved when I manually processed - all good.
The new book I got is still in downloads folder.

Edit: now can see as 'snatched' status?? Maybe I looked at the wrong book? hmm.
Will leave and see if it changes to have or open, as sabnzbd completed download.
Post Reply