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

Special variables _multiartist, _pregap, _datatrack and _totalalbumtracks missing after files got matched to a track

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: File Move & Rename
    • Labels:
      None
    • Environment:
      macOS

      Description

      I have a particular multiartist album that Picard acknowledges as multiartist when it comes to setting metadata, but it's acting as if it's not multiartist when it comes to naming the files. (For comparison, I have a very similar multiartist album that works just fine, as do all my other ones.)

      My filenaming code:

      %genre%/$if($not($eq_any(%genre%,Hed Kandi,Mastercuts,Trojan,Ultimate Breaks & Beats,Various Artists)),$upper($firstalphachar(%albumartistsort%))/$if2(%albumartistsort%,%artistsort%)/)$if($ne(%albumartistsort%,),%album%/,)$if($gt(%totaldiscs%,1),%discnumber%-,)$if($ne(%albumartist%,),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title%
      

      The relevant bit being at the very end. Changing $if(%_multiartist%,%artist% - ,) to $if($or(%_multiartist%,$eq(%genre%,Electronic)),%artist% - ,) works as a temporary workaround, so it looks like the file naming script thinks %_multiartist% = 0 for this release, even though the other scripts think it's 1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              outsidecontext Philipp Wolfer
              Reporter:
              ZoeB Zoƫ Blade
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package
                  2.5.1