Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature request: tag default value (constant)
29-04-2020, 20:35 (This post was last modified: 30-04-2020 09:01 by simbun.)
Post: #15
RE: Feature request: tag default value (constant)
I just used this approach myself and was reminded of a previous question about applying a default constant, so whilst it might be too late for the OP it might be of some use to others.

Create a tagUpdate file that creates a new tag containing the value 'Studio Album' for every file (use a tag that makes it easier to cover your whole collection):
@DISCNUMBER=01
@DISCNUMBER=02
@DISCNUMBER=03
...
+ALBUM_RELEASE_STUDIO=Studio Album

Or in MinimServer 2 I believe you can use #AudioFormat, which for me would result in only a single update group (for FLAC) but your mileage may vary.


Then in itemTags include:
ALBUM_RELEASE_STUDIO

and in tagValue:
ALBUM_RELEASE_TYPE.default={ALBUM_RELEASE_STUDIO}

Then you'll have 'Studio Album' appear where there's no ALBUM_RELEASE_TYPE tag available.

It's not ideal to have to generate a new tag to hold the constant, but in the absence of another way (unless I've missed something new).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feature request: tag default value (constant) - simbun - 29-04-2020 20:35

Forum Jump:


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