MinimServer Forum
how to use tagUpdate - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Music Tagging (/forumdisplay.php?fid=9)
+--- Thread: how to use tagUpdate (/showthread.php?tid=4266)



how to use tagUpdate - drPo - 05-12-2017 11:00

Hello, I want to use the "tagUpdate" priority to consolidate composer names into single ones.

As I have issues with MinimWatch I try to use the mscript command

1. using a script file I managed to add to the config file the line
"minimserver.tagUpdate <filename.txt>

2. Inside <filename.txt> I have commands like
@COMPOSER = J.S. Bach
=COMPOSER=Bach, Johann Sebastian

Restarted minimserver but when I browse the composers list I still see
"J.S. Bach" and not just "Bach, Johann Sebastian".

Any ideas where I am erring?

thx

Greg


RE: how to use tagUpdate - simoncn - 05-12-2017 16:44

In the "props" output from mscript, you should see:

minimserver.tagUpdate=<filename.txt>

where <filename.txt> is a full absolute path to the file. In the <filename.txt> file, you should have:

@COMPOSER=J.S. Bach
=COMPOSER=Bach, Johann Sebastian

Note that there are no spaces around the equals sign. This will match the tag value "J.S. Bach" but not "J. S. Bach" or "J.S.Bach" (etc.)

You can check whether this is working by setting the writeTagChanges property.


RE: how to use tagUpdate - drPo - 05-12-2017 21:04

(05-12-2017 16:44)simoncn Wrote:  In the "props" output from mscript, you should see:

minimserver.tagUpdate=<filename.txt>

where <filename.txt> is a full absolute path to the file. In the <filename.txt> file, you should have:

@COMPOSER=J.S. Bach
=COMPOSER=Bach, Johann Sebastian

Note that there are no spaces around the equals sign. This will match the tag value "J.S. Bach" but not "J. S. Bach" or "J.S.Bach" (etc.)

You can check whether this is working by setting the writeTagChanges property.

Thanks ! The writeTagChanges helped a lot, working now!