Tags replace definition file: Difference between revisions

From XRECODE3
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
# %m% - current month (nn)
# %m% - current month (nn)
# %d% - current day (nn)
# %d% - current day (nn)
# The following can be used for Track
# [Track]
# <ANY>=%track2%/%totaltracks2%
# which means that value for Track will be replaced with zero-padded value of Track
# %totaltracks2% will be replaced with zero-padded value of number of all tracks


[Encoded by]
[Encoded by]

Revision as of 19:48, 8 August 2016

Here's the example of tags replace file. Rows starting with # are comments and are ignored.

#
# Values must be put into sections.
# The following section names are supported:
#
# [*] is for all tags, i.e. values specified under this section will be replace in all tags
# Following tag-specific identifiers can be used. Values will be replaced only in specified tag.
# [Conductor]
# [Date]
# [Publisher]
# [Lyrics]
# [Flags]
# [ISRC]
# [Title]
# [Catalog]
# [Year]
# [Genre]
# [Artist]
# [Album]
# [DiscId]
# [BPM]
# [Album Artist]
# [Composer]
# [Content Group]
# [Compilation]
# [Disc]
# [Track]
# [Comments]
# [Encoded by]
#
# Format is <value from>=<value to>
# where <value from> is case-sensitive value, which will be replaced
# with <value to>, which is RegEx expression.
#
# If you want to do a case insensitive replacement, add ! to the name of the section
#
# Those are specific value, which can be used as <value from>:
#
# <NULL> is used to specify empty tag
# <ANY> is used to specify any value
#
# Special values which can be used in value
# %y% - current year (nnnn)
# %m% - current month (nn)
# %d% - current day (nn)

# The following can be used for Track
# [Track]
# <ANY>=%track2%/%totaltracks2%
# which means that value for Track will be replaced with zero-padded value of Track
# %totaltracks2% will be replaced with zero-padded value of number of all tracks

[Encoded by]
<ANY>=Encoded by me @ %F %T

[Comments]
<ANY>=<NULL>

[DiscId]
<ANY>=<NULL>

[Album Artist]
<ANY>=<NULL>

# case sensitive replacement for all tags
[*]
Featuring=Ft.
featuring=ft.

[Artist]
<NULL>=Some Artists

[Album]
<ANY>=Some Album

  • <NULL> means that only empty (null) value will be replaced.
  • <ANY> means the any (empty or not) value will be replaced.
  • Any value from File Name Pattern Elements can be used.

« Go Back