illustrate
Products            Buy            Support Forum            Registrations            About           
 

Tag remapping: is it "preformat" or regular tag remapping I need?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alan9990

    • Mar 2026
    • 20

    #1

    Tag remapping: is it "preformat" or regular tag remapping I need?

    I like keeping the "date" information of my albums correct when possible. I believe this is treated as "Year" tag?

    In the case of more modern reissues (typically remastered) I've taken to using this later release date as 'date' (hence 'year'?), but then often Musicbrainz will helpfully add "Original Date" to reference the original issue.

    What I'm trying to achieve with the database is that the John Coltrane reissue (Japan, 2006) and with an 'Original Date' tag for 2006 gets listed under the "Year" file sorting under "1950s" by remapping.

    I may be misunderstanding how to apply the formatting, but since this is another operation that requires a full rescan of my library, it may be more helpful to ask here instead of keep experimenting.

    Is this correct?
    Code:
    preformat:=Original Date:=%Year%
    or will tag remapping achieve what I wish?
    Code:
    Original Date:=Year
  • Spoon
    Administrator
    • Apr 2002
    • 45935

    #2
    You want it as Original Date? because you would have to add this field to the list of database entries and browse tree, normally it is not stored.
    Spoon
    www.dbpoweramp.com

    Comment

    • alan9990

      • Mar 2026
      • 20

      #3
      Sorry if I wasn't clear. I don't want or need to see "Original Date" appear anywhere. I want this tag - applied selectively only to certain tracks - mapped or aliased to however Asset currently serves "Year".

      I have a Year folder appear under "Dynamic Browsing". That's fine, I like it there. When I open it, it produces a set of directories labelled by decade.

      What I want to happen is that when I open the folder "1950s", I will find the album (in the specific case above) "Blue Train" (by John Coltrane) appear.

      It was released in 1958, but the reissue is correctly dated as 2006. So I use both labels in instances like this precisely so that the specific release date is accurate, but can be linked with the date of its original release.

      Thus I've no interest that "Original Date" should appear anywhere. I just want this tag internally remapped to "Date" or "Year" or however Asset calculates this value.

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 45935

        #4
        Try:

        year:=[IFVALUE]year,[year],[tag]Original Date[][]
        Spoon
        www.dbpoweramp.com

        Comment

        • alan9990

          • Mar 2026
          • 20

          #5
          Thank you! Golly, I would not have worked that out by myself! This said, I can't actually get this to work.

          Please note: I do not use "YEAR" tags (as Musicbrainz likes to insert them). I have since forever used "Date" tags. They seem to work fine.

          So I tried to unpack/understand the above syntax as best I could, and have tried your original suggestion, plus
          Code:
          year:=[IFVALUE]date,[Date],[tag]Original Date[][]
          and
          Code:
          year:=[IFVALUE]year,[Date],[tag]Original Date[][]
          but so far no luck. I must be close surely? I can say that in the above - based on your original suggestion - it's not clear what the
          Code:
          year[year],
          part of the sorting is doing?

          Your help truly appreciated. This is about the 'niceties' of tidying up my library. Overall I find Asset to be quite stellar in its operation!

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 45935

            #6
            You would have to see how the date tag appears to dBpoweramp (which will be the same for asset), right click on one file >> Edit ID Tags.

            Also as date is not a standard tag:

            year:=[IFVALUE]date,[tag]Date[],[tag]Original Date[][]
            Spoon
            www.dbpoweramp.com

            Comment

            • simbun
              dBpoweramp Supporter
              • Apr 2021
              • 254

              #7
              Originally posted by alan9990
              I don't want or need to see "Original Date" appear anywhere. I want this tag - applied selectively only to certain tracks - mapped or aliased to however Asset currently serves "Year".
              Let's use FLAC as an example here as other formats complicate matters. Picard populates DATE and ORIGINALDATE tags.

              AssetUPnP internally maps the FLAC DATE tag to YEAR, which is delivered with every album to control points and is visible in various browsing hierarchies e.g. Dynamic Browsing > Year, Addtional > Album by Release.

              To use ORIGINALDATE (where populated) instead of DATE use:
              Code:
              preformat:=year:=[ifvalue]originaldate,[tag]originaldate[],[year][]
              But this is a global replacement e.g. browse to an album with different dates and you should see ORIGINALDATE on the album screen (assuming your control point displays it).

              Comment

              • alan9990

                • Mar 2026
                • 20

                #8
                Once more, thank you to both of you for stellar support!

                I add the following on the natural basis that it may be helpful to others (despite I am obviously learning as I go here)...

                It's only during the past weeks once my DAC arrived (renderer) and I entered the world of music server software that I have needed to better understand tools that I've been using for years with barely a question. Which is to say that music tagging software is something I've been sufficiently careful to ensure is standards compliant (doesn't add unsupported tags or characters) and then just allow it to do its thing. I always review everything before committing to my music library.

                So it's been fascinating if a bit frustrating at times to have to wrap my head around a subject like handling multiple values of the same tag, as I see that e.g. .mp3 and .flac do this in completely different ways. Thus if I say that it's also news to me that 'Date' is not a standard tag well - sure. I cannot argue, but it's always been used by my tagging software - exactly as simbun mentions above.

                However, I will continue to refine and tweak the way the tag information is served because I now feel I can settle on Asset and my renderer as the definitive solution to accessing my music. One finds that everyone has their own view of what feels right, each with our own desire to have things set up a particular way, but never before have I actually had such direct and fully searchable access to a growing library. For me the server end of things (Asset in this case) is possibly the most important part of the whole chain, since the control point and renderer work only on what is presented to them.

                The great help of this specific Date/Year issue here is that I can understand how powerful the mapping syntax can be if applied in other ways. All the better that unless I wish to, I don't actually have to commit any of the changes to the files themselves!

                Thank you again. Happy Easter

                Comment

                • simbun
                  dBpoweramp Supporter
                  • Apr 2021
                  • 254

                  #9
                  I forgot to mention that you need to add originaldate to MediaDatabaseFieldsv7a.txt (Edit Advanced Settings > General Settings > Configuration Folder) before using it in any configuration.

                  Comment

                  • alan9990

                    • Mar 2026
                    • 20

                    #10
                    simbun thank you again. Your preformat syntax above worked perfectly! Did exactly what I needed.

                    Again, if it's helpful to others: I've attached a screencap below of how my instance of Asset appears on Linux. It would seem that this is the intended layout. As such though, I don't know where I would find the path you suggest above? That said, without my having explicitly added anything, the preformatting of "originaldate" is working fine!

                    Asset server configuration page

                    Comment

                    • simbun
                      dBpoweramp Supporter
                      • Apr 2021
                      • 254

                      #11
                      Originally posted by alan9990
                      As such though, I don't know where I would find the path you suggest above? That said, without my having explicitly added anything, the preformatting of "originaldate" is working fine!
                      Advanced > Edit database fields, though as you've pointed out it doesn't seem necessary at present (tested on Windows and Linux).

                      Comment

                      Working...