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

%_format% metadata behaves weirdly in tagger scripts.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scripting, Tags & Metadata
    • Labels:
      None

      Description

      The Picard documentation describes that the _format metadata variable available to tagger scripts contains the "Media format of the file e.g. MPEG-1 Audio."

      Now consider the following tagger script, attempting to use this variable:

      $set(comment:format,%_format%)
      

      If I load an MP3 file into Picard (version 2.3.1), then run the script manually from the "Run Scripts" item in the context menu, this seems to work fine: the tag value is set to "MPEG-1 Layer 3 - ID3v2.4"

      However if I check the box in the options menu to automatically run this script, when the file is loaded or the release is refreshed the tag is set to the empty string / removed (and is subseqeuntly restored by manually running the script again).

      This seems very strange, I was expecting the script to behave identically when run manually versus automatically...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              draconx Draconx
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package