Calibre OPDS server cannot show more than 30 authors at a time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a large library. As I was downloading some books to my phone (I use Aldiko to connect to the OPDS server), I couldn't find some authors when using the "by authors" listing.
Further investigation revealed that when there are more than 30 authors under the same letter (for instance, I have 36 authors with the initial "B"), only the first 30 are listed.
At first I was unsure if this was a Calibre or Aldiko bug, so I double-checked by opening my web browser on 127.0.0.1:8080/opds on the PC.
Sure enough, the bug also showed under browser access. Furthermore, I noticed that the "calibre Library :: By Authors" page had wrong information:
In the regular Calibre UI, the library reports 36 authors under the "B" letter... but the webpage reports only 31, and when the link is opened it only actually displays 30, as mentioned above.
Similarly, other letters with large numbers of authors had problems:
- Letter C: 36 authors, 35 reported, 30 actually listed
- Letter M: 36 authors, 34 reported, 30 actually listed
- Letter S: 46 authors, 45 reported, 30 actually listed
The OPDS feed is paginated. Look for the pagination links <link
rel="next">, for example for an author category with thirty five items,
in my library:
<link href="/ opds/categorygr oup/617574686f7 273/53? library_ id=library& amp;offset= 30" type="applicati on/atom+ xml;type= feed;profile= opds-catalog" title="Next" rel="next"/>
Presumably Aldiko does not support pagination. You can work around it in >Sharing over the net->Advanced
the calibre server by increasing the max_opds_items setting in
Preferences-
But really, the correct fix is for Aldiko to support pagination, which
is part of the OPDS spec.
status invalid