Cannot execute plugin from batch conversion job JSON

Open
#24,187 6 comments 1 reaction 1 assignee View on GitHub

@igorkorsukov is already working on this.

Since Aug 27, 2024.

Assessment

This issue has not been assessed yet.

Description

cli needs review plugins regression MS3
Issue type

Other type of issue

Description with steps to reproduce
  • Install a plugin that modifies scores, such as Add Metronome Part
  • Create job.json file with input, plugin call, and output:
[
    {
      "in": "score.mscz",
      "plugin": "path/to/addMetronomePart.qml",
      "out": "modified_score.mscz"
    }
]
  • In CLI, run musescore4portable -j job.json
  • Output file is produced without desired modification from plugin (for addMetronomePart it is supposed to add a Wood Blocks part to stand in for the metronome)
Supporting files, videos and screenshots

image
Output file does not have Wood Blocks part.

What is the latest version of MuseScore Studio where this issue is present?

4.4

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Kubuntu 22.04

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from musescore/MuseScore

All issues in musescore/MuseScore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.