View Single Post
Old 10-06-2012, 07:55 PM   #130
akenarf
Junior Member
akenarf began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2012
Device: kobo glo
First up big thanks to vlad59 - this is just what I was looking for and works a treat.

Just one thing to add to the Synology instructions provided, I found that on my kobo glo although it would pop up the download confirmation box, no book would appear in the library on the reader.

To resolve this I updated the readfile line, as follows:

//readfile($config['calibre_internal_directory'] . $file);
header('Content-Length: ' . filesize($config['calibre_internal_directory'] . $file));
fpassthru(fopen($config['calibre_internal_directory'] . $file, 'rb'));

not sure why this is the case, but it all works great now..! :-)
akenarf is offline   Reply With Quote