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

Make the original file's tag values available after calling $unset

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.7.0b1
    • Scripting
    • None

      If $unset is called, the tag will not be changed when Picard saves the file, but that value is no longer available to scripting.  For example, if the file's composer is "B & A" (single value), MusicBrainz has the composer as "A; B" (2 values), and we call $unset(composer), then %composer% will now return empty.  It would be very useful if %composer% would instead return "B & A" from the file at that point so that we can compare our local value against the server's value.

      Example taggerscript:

      $setmulti(_serverComposer,$join(%composer%,	),	)
      $unset(composer)
      $set(_localComposer,%composer%)

            Unassigned Unassigned
            yindesu yindesu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package