Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to use tagUpdate
05-12-2017, 11:00
Post: #1
how to use tagUpdate
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
Find all posts by this user
Quote this message in a reply
05-12-2017, 16:44 (This post was last modified: 05-12-2017 16:45 by simoncn.)
Post: #2
RE: how to use tagUpdate
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.
Find all posts by this user
Quote this message in a reply
05-12-2017, 21:04
Post: #3
RE: how to use tagUpdate
(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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)