Page 1 of 1

Run a script when synchronizing

Posted: Mon Sep 29, 2008 8:46 am
by asaf-g
Hello
Do you know of a way I can run a script when I begin/end a sync or when a single file is being copied to the device?

Thanks!

Re: Run a script when synchronizing

Posted: Mon Sep 29, 2008 12:54 pm
by Christoph
Hey,
I also had the same thought and created a topic in the wishlist forum.
http://mediamonkey.com/forum/viewtopic.php?f=4&p=168992

Would be great if someone has an idea. :)

Christoph

Re: Run a script when synchronizing

Posted: Mon Sep 29, 2008 1:39 pm
by asaf-g
I tried registering to the "OnTrackConverted" event, assuming all tracks are being converted while sync-ing.
Sadly it didn't seem to raise the event this way, only when I manually converted tracks.

Re: Run a script when synchronizing

Posted: Mon Sep 29, 2008 6:13 pm
by Big_Berny
OnTrackProperties works if you wan't to get songs on the pc which have been changed while synching. Example: When synching my ipod and I playde a song on it before, then MM updates the playcounter on the pc when synching which starts 'OnTrackProperties'. IThis isn't exaclty what you looked for but maybe it helps?

But be aware that OnTrackProperties also triggers all other changes in songs.

Re: Run a script when synchronizing

Posted: Tue Sep 30, 2008 11:55 am
by asaf-g
Not sure I understand what you mean...