How can I make the program also write to the tags

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

Moderators: Gurus, Addon Administrators

Tristla
Posts: 2
Joined: Fri May 25, 2012 9:37 pm
Contact:

How can I make the program also write to the tags

Post by Tristla »

I found many scripts that change tags, but they only do an 'UpdateDB' in the end.

which only writes the new information to the MM database. who can tell me?
Last edited by Lowlander on Fri May 25, 2012 10:22 pm, edited 1 time in total.
Reason: Moved to correct Forum
There is no such thing as a great talent without great will - power.
mcow
Posts: 834
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Re: How can I make the program also write to the tags

Post by mcow »

I use this:

Code: Select all

def apply_rating(song, rating):
    if song:
        song.Rating = rating
        song.WriteTags()
        song.UpdateDB()
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: How can I make the program also write to the tags

Post by Mizery_Made »

There's also UpdateAll
Post Reply