Custom book list template doesn't work with {size}

Bug #1846839 reported by Jon Noble on 2019-10-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

I am trying to modify the Custom Book List Template by adding the label "Size MB" with the lookup {size} but this does not work. The label appears (when I restart the server and use the Custom Book List from the client browser), but the value {size} does not appear.
Is this a bug or am I doing something wrong?

The default looks like this: (Preferences/Sharing Over the Net/Book List Template)
<b>{title}</b> by {authors}
{series_index} of <i>{series}</i>|||{rating}
{tags}
Date: {timestamp}|||Published: {pubdate}|||Publisher: {publisher}

And my change looks like this:
<b>{title}</b> by {authors} Size {size} MB
{series_index} of <i>{series}</i>|||{rating}
{tags}
Date: {timestamp}|||Published: {pubdate}|||Publisher: {publisher}

Calibre version: 3.48, 4.00 64-bit on Windows 10
Browser version: Firefox 69.0.2 64-bit on Windows 10
Same failure when connecting to Content Server from iPhone 8 and Safari browser

This could also be considered as an Enhancement: need show book size in the Content Server to warn users that download of a particular book may take a lot of time.

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

 status fixreleased

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

Other bug subscribers