'Upload metadata to device.'

def upload_booklists(self, add_as_step_to_job=None):

    plugboards = self.library_view.model().db.prefs.get('plugboards', {})
    self.device_manager.sync_booklists(FunctionDispatcher(self.metadata_synced), self.booklists(), plugboards, add_as_step_to_job=add_as_step_to_job)
