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.
Simple OnTrackAdded Tagging script
Moderators: Gurus, Addon Administrators
Re: Simple OnTrackAdded Tagging script
see
http://www.mediamonkey.com/wiki/index.p ... TrackAdded
the obj passed back to your script should be a SDBSongData object
http://www.mediamonkey.com/wiki/index.p ... TrackAdded
the obj passed back to your script should be a SDBSongData object
New script: Last.FM Node Now with DJ Mode!
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Re: Simple OnTrackAdded Tagging script
Thanks, I must have missed that. The next steps are easy...