ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: High
    • None
    • Affects Version/s: 3.0.0rc4
    • Component/s: Scripting
    • Environment:
      windows 11

      I have a script that decodes the genre to assign a grouping value.  This script has been in place over several Picard releases and has been working like a charm.

       

      I am now seeing odd behaviour in that, instead of the grouping value being set as expected, it always contains the genre value!

       

      The script (snippet) is as follows:

       

      $setmulti(grouping,%genre%)

       

      $replacemulti(%grouping%,16-bit,Electronic)

      $replacemulti(%grouping%,2 Tone,Reggae / Ska / Dancehall; Rock)

      $replacemulti(%grouping%,2-Step,Dance; Electronic)

      $replacemulti(%grouping%,3-Step,Dance; Electronic)

       ...

      $setmulti(grouping,$unique($sortmulti(%grouping%)))

       

      What I am seeing is, using the above as an example, if the orignal genre is 2-step I'm seeing the grouping as 2-step when it should actually be set to Dance; Electronic

       

      I'm not sure if it is the $replacemulti or the initial $setmulti that is the problem

       

            Assignee:
            Zas
            Reporter:
            wilte01
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package