View Single Post
Old 10-15-2020, 09:15 AM   #37
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,016
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Ok, I just can't seem to get this to work in 5.2.

Quote:
Originally Posted by chaley View Post
Also, searches can now also use non-metadata template functions such as formats_sizes(), booksize(), connected_device_name(), current_library_name(), etc.
I was hoping to find out what the value of connected_device_name() is for my devices, so I go into template tester and enter

Code:
{:connected_device_name()}
and it gives me empty for no device, but when I connect a device, I get

Code:
EXCEPTION:  connected_device_name: invalid storage location ""
You listed other functions, so I figured I'd try them. so I tried booksize() and it gives
Code:
EXCEPTION:  evaluate() takes 5 positional arguments but 7 were given
as do the others.

What am I missing?
compurandom is offline   Reply With Quote