Open Raymondcal opened 7 years ago
Which reader program do you use? Do cover previews work when tested in a Gecko-based browser, or when feeding a cover preview URL or thumbnail to any browser?
I am experiencing the same problem. I am using FBReader on Android. The problem also occurs on Firefox. What do you mean with "feed a cover preview URL to any browser?
Update: I recognized that also no metadata information is available for my books. Thanks in advance
What I mean by 'feed[ing] a cover preview URL to any browser' is that you can try to open a cover preview URL in a browser of choice to see if the preview shows up. OPDS Catalog URLs look like this:
Download link: https://nextcloud.example.org/index.php/apps/files_opds/?id=587461
Preview link: https://nextcloud.example.org/index.php/apps/files_opds/?pid=587461
Thumbnail link: https://nextcloud.example.org/index.php/apps/files_opds/?tid=587461
The number following id
, pid
and tid
is a NC/OC FileID.
Of course you need to adapt these URLs to your OC/NC installation...
Thanks for the explanation. Both the Preview and Thumbnail link are working, so they are showing a preview image.
Shall I test something else? Or do you want to get access to the cloud so that you can test it yourself?
Any update on this issue?
I have the same problem, when I try the debugging steps above I get the following for the pid and tid:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Technical details
Remote Address: 172.20.0.2
Request ID: 9nIZQlG2bT99Idx9mNT4
And when I look in the logs I have the following:
/var/www/html/custom_apps/files_opds/index.php - line 59: OCA\Files_Opds\Feed servePreview('/snip/...', 'cover')
/var/www/html/lib/private/Route/Route.php - line 155): runtime-created function(1) require_once('/var/www/html/c...')
[internal function] __lambda_func(NULL)
/var/www/html/lib/private/Route/Router.php - line 299: call_user_func('\x00lambda_980', Array)
/var/www/html/lib/base.php - line 1004: OC\Route\Router->match('/apps/files_opd...')
/var/www/html/index.php - line 48: OC handleRequest()
{main}
I hope that helps.
That log isn't very helpful, it just shows it doesn't work. As to why it doesn't leaves to be determined. The Internal Server Error
can have a multitude of causes, most of which have nothing to do with OPDS Catalog. More information is needed to debug this issue...
Hi! Thank you very much for your work on OPDS! Just a little thing: it seems there is no cover preview, although I selected the correct Enable preview for epub tickbox (and my epub have correct covers, too). Is there something I am doing wrong? Thank you for your attention!