Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2015, 03:51 PM   #1036
Tos
Member
Tos began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2014
Device: pocketbook Touch Lux 3
@vlad59
In first, thank you for your job. I use COPS in a Raspberry Pi as server with NGINX and it works very well. I use the 1.0.0RC3 version.
But, I have a question : I try to access to COPS with Aldiko on Android. It's Ok but there is no picture displayed in the catalog for the cover of books. Just a generic image. Is it normal or I didn't understand something?
Tos is offline   Reply With Quote
Old 01-15-2015, 05:52 PM   #1037
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Tos

Is there a picture (book cover) displayed if you use COPS with a browser (for instance firefox)?

Did you install on you Pi:
Code:
sudo apt-get install php5-gd
I have COPS running on my Pi (with Apache) and it works reasonably well!
mariosipad is offline   Reply With Quote
Old 01-16-2015, 04:48 AM   #1038
Tos
Member
Tos began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2014
Device: pocketbook Touch Lux 3
@mariosipad

Yes, on my browsers (Firefox on desktop or embedded browser into my Pocketbook e-reader), there is no problem to display the book covers. And in general, with browsers, all is Ok.

The problem is just with Aldiko on Android.
And yes, I installed php5-gd.

Thank you to take time for my issue.
Tos is offline   Reply With Quote
Old 01-16-2015, 10:01 AM   #1039
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Tos

Do you use .htaccess for access protection wit a password?

Aldiko reader seems to have a problem with this (don't own the epup reader, so I cannot test).
mariosipad is offline   Reply With Quote
Old 01-16-2015, 11:52 AM   #1040
Tos
Member
Tos began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2014
Device: pocketbook Touch Lux 3
Yes. I use an https connection with login and password managed by htpasswd (NGINX).

With Aldiko, I can connect without trouble by login/psswd. I can browse my OPDS catalog, read the summary and download ebooks. Only the display of book covers doesn't work.
It's the reason why I ask if it's normal or it's a problem of configuration.
vlad59 told in his web site :
Quote:
On the OPDS client side I mainly tested with FBReader Mantano Reader and Aldiko on Android (these 3 also ask for user/password if you have protected your COPS catalog).
Tos is offline   Reply With Quote
Old 01-16-2015, 12:33 PM   #1041
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
On https://github.com/seblucas/cops/wiki/FAQ vlad59 writes:

Quote:
Question: I've password protected my COPS and my Sony PRS-TX can't download any ebooks and I can't see any covers

Answer: Sony's browser don't like authentication while downloading books. You can check at the bottom of .htaccess for a workaround.

Please note that Aldiko also has the same problem
Maybe this is (part of) the problem? (Or maybe not. As I said I cannot test. I can only hope this might help you.)

Maybe try once without https connection/authentication.
mariosipad is offline   Reply With Quote
Old 01-17-2015, 03:10 PM   #1042
Tos
Member
Tos began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2014
Device: pocketbook Touch Lux 3
It seems that the authentication works well because I can do everything with my catalog thru Aldiko.

The book cover non-display is the only problem. So I try to understand why but it's not "a road blocker" for me. I don't want to remove the securisation of my server.
Maybe I can try to remove it just for test. If I have enough time, I will check that and I will post the result, if this can help...
Tos is offline   Reply With Quote
Old 01-19-2015, 11:22 AM   #1043
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by Tos View Post
It seems that the authentication works well because I can do everything with my catalog thru Aldiko.

The book cover non-display is the only problem. So I try to understand why but it's not "a road blocker" for me. I don't want to remove the securisation of my server.
Maybe I can try to remove it just for test. If I have enough time, I will check that and I will post the result, if this can help...
As usual, Mariosipad is right

Aldiko will have problem with the images if you're using password protection. If you want something that work fine but a little less shiny you can use FBReader.

@mariosipad

Quote:
@vlad59
If you can find any room in your busy schedule this might actually be a very welcome addition to COPS
I don't think that I'll add it in COPS but the rewrite already has that.

I don't know when it'll be ready but you'll be the first to know

@nqk

Can you test if your directory is readable ?
Check the windows authorization ?

Last edited by vlad59; 01-19-2015 at 02:51 PM.
vlad59 is offline   Reply With Quote
Old 01-19-2015, 01:42 PM   #1044
Tos
Member
Tos began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2014
Device: pocketbook Touch Lux 3
@vlad59 : Ok. I understand that the problem come from Aldiko.

Thank you for your answer and continue to improve this excellent tool to manage remotely our library.
Tos is offline   Reply With Quote
Old 01-26-2015, 03:34 PM   #1045
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Hi there,

Has anyone experience in how COPS scales with lots of books? I mean more than 10-20k books.

Thanks for your help.

Alex
Alexander Turcic is offline   Reply With Quote
Old 01-26-2015, 04:59 PM   #1046
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Cops just works, even with lots of books.

More books means a larger calibre database. So it takes more time to read the database. Also a faster computer helps.
For example: COPS on a Synology DS-110j is not fast, but it's fast enough to get the job done.


More books also means more writers and titles. Searching for a writer in an alphabetical list of > 1000 writers is not always a joy.

But search works pretty good, not lightning fast, but good enough for me.
mariosipad is offline   Reply With Quote
Old 01-26-2015, 05:14 PM   #1047
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by mariosipad View Post
Cops just works, even with lots of books.

More books means a larger calibre database. So it takes more time to read the database.
Quote:
More books also means more writers and titles. Searching for a writer in an alphabetical list of > 1000 writers is not always a joy.
I haven't looked at the calibre database, but from what I understand, it's a standard sqlite database with indexes and all. As such, I don't think - if indexes are properly set up and COPS uses the right SQL SELECTs to take advantage of these indexes - that it should matter that much how many books you have in the database.

Reason I am asking is because COPS seems like an interesting solution for hosting the MobileRead e-book collection.
Alexander Turcic is offline   Reply With Quote
Old 01-26-2015, 05:56 PM   #1048
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
I'm not the developer, just a satisfied user

If you like COPS just send him an e-mail (address at the bottom of this page Sebastien)

Book retrieval is no problem, it just takes a little time to read the database in server memory and to display it in a browser.

As he said in a previous post "a new rewritten version is coming". Maybe it's faster and even more useful
mariosipad is offline   Reply With Quote
Old 01-27-2015, 03:29 AM   #1049
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Hi mariosipad,

Thanks the info. Looking forward to the updated version.
Alexander Turcic is offline   Reply With Quote
Old 01-28-2015, 08:55 AM   #1050
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by Alexander Turcic View Post
Hi mariosipad,

Thanks the info. Looking forward to the updated version.
Hi Alexander,

To answer your question, COPS is quite fast (there is almost no process in PHP beside the database access), if you want to use a big library (20K books) then you shall not use a raspberry pi but beside that it should be ok.

The database structure comes from Calibre so it's well optimized already.

The rewrite is slowly coming along but don't hold your breath .

EDIT : One of my test library has more than 70k books and it works well enough on my laptop.
vlad59 is offline   Reply With Quote
Reply

Tags
calibre opds, dns, kobo aura, synology


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre OPDS server with windows apps? nickdma Related Tools 10 03-03-2024 02:53 PM
[Old Thread] Android FBreader and Calibre OPDS server question kalex Calibre 5 12-24-2015 10:16 PM
PHP+Apache web server for calibre ... chaley Related Tools 254 04-28-2014 08:18 PM
External OPDS catalogue in Calibre bolton Calibre 1 09-05-2012 06:14 AM
Calibre Command Line usage with PHP artoros Related Tools 13 07-01-2010 09:57 AM


All times are GMT -4. The time now is 03:48 PM.


MobileRead.com is a privately owned, operated and funded community.