Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-139

Allow two multi-valued variables to be merged in tagger scripting

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 0.16
    • 1.0
    • Scripting
    • None

    Description

      As discussed in PICARD-21, it'd be useful to be able to merge two multi-valued variables in tagger script. The existing $set() only works on flattened lists (strings), and $copy completely replaces the target.

      luks suggested adding a new $copymerge(new, old) function (my naming) that will do this, removing duplicates.

      Attachments

        Issue Links

          Activity

            People

              voiceinsideyou voiceinsideyou
              voiceinsideyou voiceinsideyou
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  1.0