Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MU4 Issue] exporting Parts PDFs using .json fails #19359

Open
scobrado opened this issue Sep 11, 2023 · 5 comments
Open

[MU4 Issue] exporting Parts PDFs using .json fails #19359

scobrado opened this issue Sep 11, 2023 · 5 comments
Labels
community Issues particularly suitable for community contributors to work on

Comments

@scobrado
Copy link

Exporting Parts using the .json below and the -j option in MS 4.1.1 it fails silently, however, it produces a separate file for each Part in MS 3.6.

[
    {
        "in": "/home/username/Documents/MuseScore/Scores/score.mscz",
        "out": "/home/username/Documents/OUT/score.pdf",
        "out": ["/home/username/Documents/OUT/score_", ".pdf" ]
    }
]

The musescore -P -o command line options make part PDFs available but not individually. Those converted parts are included in the PDF with the complete score, which is not good for me because the resulting book is not organized as desired. All the parts for one player should be separable from the rest of the scores IMHO.

I responded to this issue in https://musescore.org/en/node/319504.

@Eism
Copy link
Contributor

Eism commented Sep 11, 2023

It seems that MU4 does not know how to convert one score into several formats.

[
    {
        "in": "/home/username/Documents/MuseScore/Scores/score.mscz",
        "out":  [
                 "/home/username/Documents/MuseScore/Scores/score.pdf",
                 "/home/username/Documents/MuseScore/Scores/score.svg"
         ]
    }
]

But this conversion works

[
    {
        "in": "/home/username/Documents/MuseScore/Scores/score.mscz",
        "out": "/home/username/Documents/OUT/score.pdf",
    },{
        "in": "/home/username/Documents/MuseScore/Scores/score.mscz",
        "out": "/home/username/Documents/OUT/score.svg",
    }
]

We either need to restore functionality or correct the documentation https://musescore.org/en/handbook/4/command-line-usage#Batch_conversion_job_JSON_format

@shoogle
Copy link
Contributor

shoogle commented Sep 11, 2023

This also works in MU3 but not MU4:

[
    {
        "in": "quartet.mscz",
        "out": [[ "quartet_", "_part.pdf" ]]
    }
]

In MU3 it produces:

Using this file as the quartet.mscz input:

(I created a separate file for MU4 because I wasn't sure if MU4 would detect parts created in MU3.)

If you change .pdf in the JSON to other supported formats, such as .mp3, .svg or .musicxml that also works in MU3, creating separate files with just the sound or notation from the part in question.

@haklein
Copy link

haklein commented Jun 13, 2024

same issue here, this used to work perfectly in version 3 to export all parts as .svg:

[ { "in": "../satz/signale-parforce/Zum_Essen.mscz", "out": [ [ "/home/hari/musescore-output/marsch/signale-parforce/Zum_Essen-", ".svg" ] ] } ]

On Version 4 (all releases tried) it just exits without exporting anything.

@haklein
Copy link

haklein commented Jun 22, 2024

@bkunda @shoogle this seems to be unassigned, are there any plans to address this MS3 regression? thanks, Hari

@oktophonie
Copy link
Contributor

It has a community label so it's open for any community member who may wish to take it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues particularly suitable for community contributors to work on
Projects
Status: Available
Development

No branches or pull requests

6 participants