Page 1 of 1

COM event for Device Sync Complete?

Posted: Tue Dec 01, 2009 11:03 pm
by AndyTot
Is there an event for after a file has been synced with a device? I'd like to write a script to delete or move podcast files after they have been sent to a device so they won't be re-synced again. Not seeing an event that will help trigger this.

Thanks

Re: COM event for Device Sync Complete?

Posted: Wed Dec 02, 2009 6:08 pm
by Melloware
I don't believe that there is an event for this.

You might have to use a SQL Lite query against the tables to figure out if a file has been synced and then delete that file. Probably against the DEVICE or DEVICE_TRACKS tables.