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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.3
    • 1.2
    • File Move & Rename
    • None
    • Linux, Fedora 19

      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.

        1. picard.png
          76 kB
          Thomas Vander Stichele

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

              Created:
              Updated:
              Resolved:

                Version Package
                1.3