How can I make the program also write to the tags

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

Moderator: Gurus

How can I make the program also write to the tags

Postby Tristla » Fri May 25, 2012 9:54 pm

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.
Tristla
 
Posts: 2
Joined: Fri May 25, 2012 9:37 pm

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

Postby mcow » Sun May 27, 2012 11:38 pm

I use this:
Code: Select all
def apply_rating(song, rating):
    if song:
        song.Rating = rating
        song.WriteTags()
        song.UpdateDB()
mcow
 
Posts: 442
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

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

Postby Mizery_Made » Mon May 28, 2012 11:12 am

There's also UpdateAll
Awaiting for 10160 & 10168 to be fixed/implemented before thinking of moving to MMW4.1 + MMA.
Mizery_Made
 
Posts: 2220
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States


Return to Addons developer forum

Who is online

Users browsing this forum: No registered users and 2 guests