Quote:
Originally Posted by giddie
But it has made me wonder - could it be possible to make the "Collections columns" field in the driver configuration a template? That way we could use the same trick to return a different column name depending on the connected device? In that case, a non-matching device uuid should result in no column being specified for collections sync, so the driver will not try to do any syncing.
|
@davidfor: using a template either to control whether "Managed collections" is checked or (my preference) the setting of Manage metadata in the context of the Kobo driver would solve this problem without overloading using templates to generate the list of values (not attributes). In the latter case, if the template exists then it would return one of 'manual', 'on_send', or 'on_connect' depending on the device UUID/serial number. It the template doesn't exist then the driver uses the value of the preference.