@kiwidude: That's fine, sync_to_device creates and queues the job for you.
@meme: You have to create a DeviceJob, not a normal job. If you do that, your problem should automatically be taken care of as calibre will run your job after any previously queued device jobs have completed. The interface is self.gui.device_manager.create_job.
|