COM event for Device Sync Complete?

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

AndyTot
Posts: 4
Joined: Tue Dec 01, 2009 11:27 am

COM event for Device Sync Complete?

Post by AndyTot » Tue Dec 01, 2009 11:03 pm

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

Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: COM event for Device Sync Complete?

Post by Melloware » Wed Dec 02, 2009 6:08 pm

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.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Post Reply