LazyLibrarian in 9.2

9C1 Newbee

Patron
Joined
Oct 9, 2012
Messages
485
I am still using 8.3.1. Because my girlfriend said she would kick my ass if she were not to have LL available.

From what I have read, LL is a dead project. But as it is now, it works ok. The way I understand it, you can't use 8.x PBI's in the 9.x jails. If this is true, would it be an easy task to make it work?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I am still using 8.3.1. Because my girlfriend said she would kick my ass if she were not to have LL available.

From what I have read, LL is a dead project. But as it is now, it works ok. The way I understand it, you can't use 8.x PBI's in the 9.x jails. If this is true, would it be an easy task to make it work?


I have a LazyLibrarian PBI available for 9.X The problem is choosing a branch that is still active. I can post it if someone suggests which branch to use.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
This is the best place I can find for updates on the current status of LL branches.

Basically, LL is dead. Move on. Which brings up a good request. How about an XDM plugin instead? It's YAWBPS (Yet Another Web Based Python Service) so should fit well with the CP/SB/HP/Mylar crowd.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
This is the best place I can find for updates on the current status of LL branches.

Basically, LL is dead. Move on. Which brings up a good request. How about an XDM plugin instead? It's YAWBPS (Yet Another Web Based Python Service) so should fit well with the CP/SB/HP/Mylar crowd.


I can work on that, shouldn't be too hard to package one up.
 

9C1 Newbee

Patron
Joined
Oct 9, 2012
Messages
485
This is the best place I can find for updates on the current status of LL branches.

Basically, LL is dead. Move on. Which brings up a good request. How about an XDM plugin instead? It's YAWBPS (Yet Another Web Based Python Service) so should fit well with the CP/SB/HP/Mylar crowd.

Oh wow! XDM looks great. If it is any good I would be very interested in this.

I can work on that, shouldn't be too hard to package one up.

Whatever works for you. I know you get a ton of people asking you to do stuff so I wanted to see if it was something I could tackle on my own or not. As far as LL goes, I have no idea what a "branch" is. I am assuming it is for upgrade purposes. If that is the case then having the correct one is moot since it is dead. I am satisfied with LL as is. It is the best/only option as far as I know, other than this XDM thing.

I am not in a rush at all. 8.3.1 is a tank. So far it has run flawlessly and does everything I want it to do, thanks to all your hard work.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Oh wow! XDM looks great. If it is any good I would be very interested in this.

I've been using it for a while (running in a Linux VM on a different machine, not through FreeNAS) and it generally works well at least for books. It uses a plugin-based architecture and comes with functionality to do movies, music, games, and books, with TV support in the works. I use it exclusively for books, mainly because I like CP and HP and LL is dead. Data is pulled from the same source as LL (Goodreads), but it doesn't use the "follow an author" concept that LL has. Instead, you search for whatever you want and add it to your Wanted list. Upcoming items will show up if they're in Goodreads so you can add them when you find them in search, but there's currently no mechanism to automatically mark new/upcoming releases as "Wanted" a la SB/HP/LL/Mylar. Still, the fact that XDM is actively developed and LL is not (and what's left of LL is pretty broken), I'm okay with those differences.
 

9C1 Newbee

Patron
Joined
Oct 9, 2012
Messages
485
I'm okay with those differences.

So am I! It has my vote.

I have found that googling "XDM" brings up sweet handguns and not the intended topic. Googling "eXtendable Download Manager" brings up better results.

Anybody who cares can read about it here:
http://xdm.lad1337.de/
 

KenNashua

Explorer
Joined
Feb 24, 2012
Messages
62
Has anyone managed to configure XDM for books? I'm trying to set it up and every time I go to the root at :8085/ it puts me back into the setup wizard. etc/xdm/xdm.log seems to be less than helpful.
 

9C1 Newbee

Patron
Joined
Oct 9, 2012
Messages
485
I have not even attempted to install it yet so I can't help you. Did you use Joshua's plugin for the install? He mentioned he got an error when he tried to install it. Here is the other thread I made a few days ago.

http://forums.freenas.org/index.php?threads/running-old-ver8-plugins.19818/

Ken, if you are able to have any luck with this, please come back and tell us what you did.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have not even attempted to install it yet so I can't help you. Did you use Joshua's plugin for the install? He mentioned he got an error when he tried to install it. Here is the other thread I made a few days ago.

http://forums.freenas.org/index.php?threads/running-old-ver8-plugins.19818/

Ken, if you are able to have any luck with this, please come back and tell us what you did.
I think you're confused here. He's having trouble with XDM, I was having errors with LL.
 

9C1 Newbee

Patron
Joined
Oct 9, 2012
Messages
485
Yup, I am batting 1000 around you. I can't get anything straight :p . Is the XDM plugin good to go?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yup, I am batting 1000 around you. I can't get anything straight :p . Is the XDM plugin good to go?
I have never used XDM (don't know how). I tested that it started, I wasn't getting redirected to setup like Ken, so I assume it's working.
 

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
Can anyone tell me how to go about configuring the newsnab searchers in lazy librarian? It's asking for user/host where all the other programs ask for Url and API key.


Found info on lazylibrarian GIT. Dev has updated wording in most recent version to match other programs (ie URL/API)
 
Last edited:

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
Just as an FYI, updating your lazylibrarian from within the app will put it in a state where it WON'T boot up.

# Traceback (most recent call last):
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/LazyLibrarian.py", line 179, in <module>
main()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/LazyLibrarian.py", line 125, in main
lazylibrarian.initialize()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/lazylibrarian/__init__.py", line 635, in initialize
BOOKSTRAP_THEMELIST = build_bookstrap_themes()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/lazylibrarian/__init__.py", line 890, in build_bookstrap_themes
resp = urllib2.urlopen(req)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:581)>
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Just as an FYI, updating your lazylibrarian from within the app will put it in a state where it WON'T boot up.

# Traceback (most recent call last):
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/LazyLibrarian.py", line 179, in <module>
main()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/LazyLibrarian.py", line 125, in main
lazylibrarian.initialize()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/lazylibrarian/__init__.py", line 635, in initialize
BOOKSTRAP_THEMELIST = build_bookstrap_themes()
File "/usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian/lazylibrarian/__init__.py", line 890, in build_bookstrap_themes
resp = urllib2.urlopen(req)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/pbi/lazylibrarian-amd64/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:581)>
hmm, interesting. I'll try verifying and see if I can find a fix.
 

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
Last edited:

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
was the issue fixed? if so I assume I don't need to build a new release?
They added error checking code around the error that prevents lazylibrarian from crashing when the error happens. I think you need a new build for the people who updated and crashed because they now have no good way to run update. (the alternative is for them to update pkg, do a pkg upgrade then pkg install git so they can git clone the file they need).

Well...they could also do the temp fix like I did which also allows running update to get to the current version but clicking "upgrade" from within freenas is a better solution.
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
For anyone stuck on a bad release this should fix it for you.

Code:
service lazylibrarian onestop
rm -r /usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian
fetch --no-verify-peer "https://github.com/DobyTang/LazyLibrarian/archive/master.tar.gz"
tar xzf master.tar.gz
mv LazyLibrarian-master /usr/pbi/lazylibrarian-amd64/share/lazylibrarian/LazyLibrarian
chown -R media:media /usr/pbi/sickrage-amd64/share/lazylibrarian/LazyLibrarian
rm master.tar.gz
service lazylibrarian start
 
Top