COM event for Device Sync Complete?

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

Moderator: Gurus

COM event for Device Sync Complete?

Postby 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
AndyTot
 
Posts: 4
Joined: Tue Dec 01, 2009 11:27 am

Re: COM event for Device Sync Complete?

Postby 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!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware
 
Posts: 329
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US


Return to Addons developer forum

Who is online

Users browsing this forum: No registered users and 1 guest