View Single Post
Old 01-22-2025, 06:23 AM   #54
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,463
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The following changes are now in source. Most were provoked by ensuring that displaying composite columns and icons in the content server works.
  • In the GUI:
    • GPM templates work as before. Note that in icon rule templates there is no book data so field-based functions such as format_date_field(), list_count_field(), and check_yes_no() won't work.
    • Python templates have full access to the calibre database.
  • In the content server:
    • Templates have access to the new API but not the old API (LibraryDatabase).
    • Because of the above, the following formatter functions are not guaranteed to work in GPM templates (composite columns, icon rules, etc) and should be avoided if you use the content server.
      • connected_device_name()
      • connected_device_uuid()
      • current_virtual_library_name()
      • is_marked()
      • virtual_libraries()
chaley is offline   Reply With Quote