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

in Options > File naming, the examples don't expand properly when using new tags in 1.2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: File Move & Rename
    • Labels:
      None
    • Environment:
      Linux, Fedora 19

      Description

      in 1.2, expansion of %releasetype% was changed and can now produce results like 'album; compilation' which is really annoying for people who already have a big collection from before that change, where this would have expanded to just 'compilation'.

      The forum contains some helpful hints on how to use the new _primaryreleasetype and _secondaryreleasetype, so I ended up with this:

      %_extension%/$if($inmulti(%_secondaryreleasetype%,compilation),$set(%_secondaryreleasetype%,compilation),$if($inmulti(%_secondaryreleasetype%,live),$set(%_secondaryreleasetype%,live),$set(%_secondaryreleasetype%,)))$if2(%_secondaryreleasetype%,%_primaryreleasetype%)/$if2(%albumartist%,%artist%) - %album%$if($gt(%totaldiscs%,1), (Disc %discnumber% of %totaldiscs%),)/$num(%tracknumber%,2). %artist% - %title%

      However, the examples shown in that dialog do not expand the bit related to releasetype! Attaching a screenshot.

      The actual renaming does correctly put my previous album; compilation sets into 'compilation' as before. So the live examples in that dialog need fixing.

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              thomasvs Thomas Vander Stichele
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: