01-15-2013, 03:06 PM | #241 |
Connoisseur
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
|
Yes, that is exactly how I fixed a few titles. But since I have about 300 titles to go I'm looking for some automation.
Something like a "add XX to ALL authors and then strip them again"-plugin. |
01-16-2013, 04:12 AM | #242 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Wahhhhh 300 that's a lot. I was whining because I had 30 books or so with the case problem .... anyway sorry for you and good luck
|
Advert | |
|
01-16-2013, 04:38 AM | #243 |
Connoisseur
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
|
Thank you Well, since I'm constantly fiddling with correcting book titles and such I decided to not put much effort in it. If a book cannot be downloaded I'll just try another one
|
01-17-2013, 07:31 AM | #244 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
As a side note did anybody test the metadata update for EPUB. Can I change the default value for the next release ?
|
01-17-2013, 09:10 AM | #245 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
An interesting observation:
Running COPS 0.3.0 on Debian Squeeze - Apache 2.16. Adapted config_local for X-Sendfile but did not install X-Sendfile om my system. ->> Everything works as intended (i think) - it is possible to browse COPS in a browser - I can download/read ePubs with ePubreader under Firefox (OSX 10.6.8) - I can open an OPDS feed in Stanza and Shubook (iPad 3) - I can download ePubs and read them with Stanza and Shubook I did not change .htacces or fetch.php. Does COPS even use X-Sendfile? (I repeat it's not on my system) re metadate update: did not use it, but system does not crash or something like that when enabled. |
Advert | |
|
01-17-2013, 09:33 AM | #246 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
Is it your case ? |
|
01-17-2013, 11:16 AM | #247 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
If the Calibre directory is inside the webdirectory (almost) all works as intended. (X-Sendfile NOT installed, .htaccess NOT edited for X-Sendfile, config_local.php edited for X-Sendfile)
If the Calibre directory is outside the webdirectory and I link to it with an absolute path (/home/...../Calibre): - browsing works - downloading does not work (X-Sendfile NOT installed, .htaccess NOT edited for X-Sendfile, config_local.php edited for X-Sendfile) If the Calibre directory is outside the webdirectory, I install X-Sendfile and I link to it with an absolute path (/home/..../Calibre) - browsing works - downloading works - in Stanza small covers are visible, but the cover in the screen with the summary before you can download is NOT visible. Download works fine. [This is with Debian Squeeze, with Debian Wheezy all works: for both - xsendfile.conf edited for path to absolute directory. Newest version X-Sendfile installed.] Problems solved: Debian Squeeze: by making a symlink so that the Calibre directory is inside the COPS directory. Windows: making an alias to COPS directory outside the webdir. Calibre directory is inside COPS directory. In previous versions of COPS I saw no (speed) difference between using X-sendfile and "location". I only have relatively small ePub files. Just my observations. I like COPS! |
01-18-2013, 11:56 PM | #248 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@mariosipad
That seems fine & normal with COPS. In next release, I'll add a way to use PHP to download when Calibre is outside your webdir (to fix downloading with IIS). Please note that I consider that keeping your Calibre database inside your webdir is insecure : Anybody can try to download your metadata.db / your books directly if all access are not password protected. About the speed difference with X-SendFile / normal : I used X-SendFile / X-Accel-Redirect just because webserver are better at sending files (it's their job) but with small file (most epub are around 1 Mo) there's no gain. |
01-19-2013, 03:26 PM | #249 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@all
Following CreaB (nicinuse) pull request about custom columns, I have made several commits on Github to add them in a hopefully clean/reusable way. As I never used them, I have a question : what do you use them for ? CreaB used one custom column to add a genre and you ? Thanks in advance. It will help to better test the code before releasing it. Last edited by vlad59; 01-19-2013 at 03:41 PM. |
01-19-2013, 08:43 PM | #250 |
Guru
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
I don't use OPDS, but in regards to custom columns, they can be used for anything. I've heard of the following types through out the forums here:
Last edited by Sabardeyn; 01-19-2013 at 08:45 PM. |
01-20-2013, 10:28 AM | #251 | |
Member
Posts: 23
Karma: 10
Join Date: Jan 2013
Device: kobo glo
|
Quote:
For reminder, my installation path: COPS path: "Z://serverfolders/Ebook/Calibre Server" Calibre Path: "Z://serverfolders/Ebook/Calibre" In config_local.php I have: Code:
$config['calibre_directory'] = 'Z:/Serverfolders/Ebook/Calibre/'; with a problem in the physical access path: Wanted URL Code:
http://localhost:8080/Z:/Serverfolders/Ebook/Calibre/Brown,Dan/Anges&demons (1)/Anges&demons - Brown,Dan.epub Code:
Z:\ServerFolders\Ebook\Calibre Server\Z:\Serverfolders\Ebook\Calibre\Brown,Dan\Anges&demons (1)\Anges&demons - Brown,Dan.epub Last edited by Kevnancy; 01-20-2013 at 10:40 AM. |
|
01-20-2013, 12:18 PM | #252 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Sabardeyn
If I understand you correctly then most custom columns are meant to be just added in the book detail. There's little interest to add other filter by custom columns (like author, serie, tag). I'll think about that. @Kevnancy Have you tried to change fetch.php like I told you ? if you don't want to change it manually. Can you try to replace your fetch.php by https://raw.github.com/seblucas/cops/master/fetch.php And edit your config_local.php to update these 2 config items : Code:
$config['calibre_internal_directory'] = ''; $config['cops_x_accel_redirect'] = ""; |
01-20-2013, 01:20 PM | #253 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: none
|
Metadata cached?
Hello. I just uploaded some new books to the Calibre directory on the COPS server, but I'm having trouble getting COPS to update the index. Even if I move the Calibre directory out of the way, the list of books is still the same as it was, so the index seems to be cached somewhere. Is there a file I would need to delete to make COPS recreate the index? (In case it matters, the Calibre directory is mounted from another machine over NFS).
Thank you. |
01-20-2013, 03:52 PM | #254 | |
Member
Posts: 23
Karma: 10
Join Date: Jan 2013
Device: kobo glo
|
Quote:
|
|
01-21-2013, 01:06 AM | #255 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Kevnancy
To avoid any typo Please try to replace your fetch.php by https://raw.github.com/seblucas/cops/master/fetch.php And edit your config_local.php to update these 2 config items : Code:
$config['calibre_internal_directory'] = ''; $config['cops_x_accel_redirect'] = ""; There is no cache in COPS so the only thing I can think of is browser cache but I guess you tried CTRL+F5 many times. |
Tags |
calibre opds, dns, kobo aura, synology |
|
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 |