Content Server OPDS feeds: no link for kfx files

Bug #2071390 reported by Joe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Version: 7.12
OS: Linux, Windows 10 (haven't tested on macOS)

Both of the following examples (stripped to save space & be anonymous) should also list the imported KFX as a download link not sure if the type should be "application/x-mobi10-ebook" or something else but it is definitely missing.

  <entry>
    <title>Book Title</title>
    <author>
      <name>author name</name>
    </author>
    ....
    ....
    </content>
    <link type="application/x-mobi8-ebook" href="/get/azw3/603/CalibreLibrary" rel="http://opds-spec.org/acquisition" length="395032" mtime="..."/>
    <link type="image/jpeg" href="/get/cover/603/CalibreLibrary" rel="http://opds-spec.org/cover"/>
    <link type="image/jpeg" href="/get/thumb/603/CalibreLibrary" rel="http://opds-spec.org/thumbnail"/>
    <link type="image/jpeg" href="/get/cover/603/CalibreLibrary" rel="http://opds-spec.org/image"/>
    <link type="image/jpeg" href="/get/thumb/603/CalibreLibrary" rel="http://opds-spec.org/image/thumbnail"/>
  </entry>
  <entry>
    <title>Another Book</title>
    <author>
      <name>Different Author</name>
    </author>
   ....
   ....
</content>
    <link type="image/jpeg" href="/get/cover/695/CalibreLibrary" rel="http://opds-spec.org/cover"/>
    <link type="image/jpeg" href="/get/thumb/695/CalibreLibrary" rel="http://opds-spec.org/thumbnail"/>
    <link type="image/jpeg" href="/get/cover/695/CalibreLibrary" rel="http://opds-spec.org/image"/>
    <link type="image/jpeg" href="/get/thumb/695/CalibreLibrary" rel="http://opds-spec.org/image/thumbnail"/>
  </entry>

The Content Server website shows them properly and you can download them that way but not through OPDS

server.com/#book_id=661&....book_details
{"formats": ["KFX"], "format_sizes": {"KFX": 1444220}, "aut.... ...."id": 661}

Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.