Post Reply 
Tagupdatefile
20-10-2018, 21:36
Post: #4
RE: Tagupdatefile
I have been looking into this and I think there is a fairly simple way to provide what you want.

At present, the tag update file contains a number of update groups. Each update group contains a match instruction specifying a single tag value, some optional filter instructions and some update instructions (see this section). In your example, you have five update groups that all have the same update instruction.

This could be changed to enable an update group to provide multiple tag values for matching by allowing multiple match instruction lines. With this change, instead of having five update groups each with a single match instruction, you could have a single update group with five match instructions, as follows:

@COMPOSER=Beethoven, L.
@COMPOSER=Beethoven, Ludwig van
@COMPOSER=Ludwig van Beethoven
@COMPOSER=Ludwig van Beethoven (1770 - 1827)
@COMPOSER=Ludwig van Beethoven (1770-1827)
+COMPOSERSORT2=Beethoven (1770-1827), Ludwig van

There would need to some restrictions because of how tag updating is implemented. All the match instructions in an update group would need to have the same tag name. All the filter instructions and update instructions in the update group would be applied to all files that match any of the match instructions.

I have implemented a prototype of this and I can make it available to anyone who would like to try it. Please post here if you are interested.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Tagupdatefile - Reinibert - 13-10-2018, 10:51
RE: Tagupdatefile - paultaylor - 15-10-2018, 15:00
RE: Tagupdatefile - Reinibert - 17-10-2018, 01:04
RE: Tagupdatefile - simoncn - 20-10-2018 21:36
RE: Tagupdatefile - Reinibert - 22-10-2018, 23:22
RE: Tagupdatefile - simoncn - 23-10-2018, 10:48
RE: Tagupdatefile - Reinibert - 23-10-2018, 20:12
RE: Tagupdatefile - Reinibert - 09-11-2018, 14:07
RE: Tagupdatefile - simoncn - 09-11-2018, 18:01
RE: Tagupdatefile - Reinibert - 12-11-2018, 12:29
RE: Tagupdatefile - Zyberguran - 22-12-2020, 19:11
RE: Tagupdatefile - simoncn - 12-11-2018, 12:51
RE: Tagupdatefile - br@m - 11-05-2019, 08:57
RE: Tagupdatefile - aspaceintime - 08-12-2020, 18:41
RE: Tagupdatefile - simoncn - 08-12-2020, 19:36
RE: Tagupdatefile - simbun - 08-12-2020, 21:14
RE: Tagupdatefile - simoncn - 08-12-2020, 21:27
RE: Tagupdatefile - simbun - 08-12-2020, 21:57
RE: Tagupdatefile - simoncn - 08-12-2020, 22:12
RE: Tagupdatefile - simbun - 08-12-2020, 23:13
RE: Tagupdatefile - simoncn - 09-12-2020, 08:16
RE: Tagupdatefile - aspaceintime - 09-12-2020, 13:32
RE: Tagupdatefile - simbun - 09-12-2020, 16:47
RE: Tagupdatefile - aspaceintime - 10-12-2020, 14:14
RE: Tagupdatefile - simbun - 10-12-2020, 14:37
RE: Tagupdatefile - aspaceintime - 11-12-2020, 22:22
RE: Tagupdatefile - simbun - 11-12-2020, 23:29
RE: Tagupdatefile - Alandbush - 12-12-2020, 01:53
RE: Tagupdatefile - simbun - 12-12-2020, 10:26

Forum Jump:


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