Simple OnTrackAdded Tagging script

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

Moderators: Gurus, Addon Administrators

TheAlfred
Posts: 9
Joined: Mon Jun 15, 2009 1:47 pm
Location: Germany

Simple OnTrackAdded Tagging script

Post by TheAlfred »

Hi guys,

i was trying to do a script on my own for a problem I couldn't find a proper solution anywhere. But I find it pretty hard to get started.

I want to do the following:
- OnTrackAdded
- check if track is of the type Podcast
- if yes, copy the "album" tag to the "artist" and "album artist" tag.

I want to do this because I want to transfer the podcasts to my portable media player and I really do not care what the person is called who read the podcast and if these tags are set to the name of every individual reader, this spoils it's library.

I managed to get my "script" called on the "OnTrackAdded" event, but I don't know of what kind this passed object is. I can't find a documentation for this.

How would I update the fields in the tags and the database once I could access the object?

Any help would be greatly appreciated...

Best regards
A.
TheAlfred
Posts: 9
Joined: Mon Jun 15, 2009 1:47 pm
Location: Germany

Re: Simple OnTrackAdded Tagging script

Post by TheAlfred »

Thanks, I must have missed that. The next steps are easy...
Post Reply