seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

.kepub not downloading in kobo reader #406

Open XtracT opened 6 years ago

XtracT commented 6 years ago

Hej,

I will try to post it in an organized way:

Version: COPS 1.1.2 Device: Kobo glo HD and kobo clara HD Configuration:

Problem: Downloading .kepub (not .kepub.epub, I just converted my library to .kepub using calibre) is not working, basically no response from the KEPUB button.

seblucas commented 6 years ago

Never tried to download a kepub (I only keep epubs), I'll try it and see if there a problem in the code.

pyrocumulus commented 5 years ago

I unfortunately have the same issue with COPS 1.1.2, running in docker with the linuxserver/cops image.

I can download epub books from COPS and I see the kepub button when I have converted books to that format. However when I press it on my Kobo Aura One, nothing happens. It does work when I download it from my computer, so it's apparently something the Kobo device doesn't like.

I'd really like the have the kepub files because they provide a far better experience on Kobo devices than regular epubs. I hope there is some way around this, because without the kepubs I will probably not use the remote library.

StreneSaco commented 4 years ago

Hi same problem here. Actually the only issue i have with COPS which is a rellay great tool ! But I agree with pyrocumulus, without kepub dowloads, i will have to use another library manager

PSElevate commented 3 years ago

per https://github.com/seblucas/cops/issues/380#issuecomment-355808183, adding the following to my config_local.php appears to have fixed it. Files are .kepub converted in Calibre and download as .kepub.epub on my Forma. In the book list, they appear as KOBO EPUB files.

$config['cops_provide_kepub'] = '1';