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

Add an option for a different export path #6

Merged
merged 1 commit into from Nov 26, 2019

Conversation

ecstrema
Copy link
Contributor

  1. refactor the naming filenames to be more easily understandable
  2. add the option to export in a different folder
  3. add verification that the score was able to be exported
  4. save the last export and import path used

@ecstrema
Copy link
Contributor Author

ecstrema commented Nov 22, 2019

This is the merge to mac branch. I have not tested it under windows or linux yet.

@ecstrema ecstrema mentioned this pull request Nov 22, 2019
@Jojo-Schmitz
Copy link
Owner

Jojo-Schmitz commented Nov 23, 2019

Actually I didn't need another PR (but it doesn't harm either), just wanted you to be able to check whether it works on Mac (which I can't test)

batch_convert.qml Outdated Show resolved Hide resolved
batch_convert.qml Outdated Show resolved Hide resolved
batch_convert.qml Outdated Show resolved Hide resolved
batch_convert.qml Outdated Show resolved Hide resolved
batch_convert.qml Outdated Show resolved Hide resolved
batch_convert.qml Outdated Show resolved Hide resolved
@ecstrema
Copy link
Contributor Author

had to remove the setting to save the last opened time as it didn't work on mac.

@ecstrema
Copy link
Contributor Author

had to remove the setting to save the last opened time as it didn't work on mac.

Actually, it looks like it's done by default. No idea why, though.

@ecstrema
Copy link
Contributor Author

I'll correct the master branch when I get some time, but that might be in a month, when the exams are over.
Do you need anything else on that branch?

1) refactor the naming filenames to be more easily understandable
2) add the option to export in a different folder
3) add verification that the score was able to be exported
4) save the last export and import path used
@ecstrema
Copy link
Contributor Author

ecstrema commented Nov 26, 2019

once this will be done, I have a new branch which allows you for batch transposing:
https://github.com/Marr11317/batch_export/tree/batch_transpose

@ecstrema
Copy link
Contributor Author

Screen Shot 2019-11-25 at 8 51 05 PM

resultText.append("%1 → %2".arg(fileName).arg(outFormats.extensions[j]))
}
if (srcModifiedTime > fileScore.modifiedTime()) {
var res = writeScore(thisScore, fileScore.source, outFormats.extensions[j])
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still an indent issue here, but I'll fix it myself

@Jojo-Schmitz Jojo-Schmitz merged commit 68ea640 into Jojo-Schmitz:mac Nov 26, 2019
@Jojo-Schmitz
Copy link
Owner

Looking forward to the batch transpose PR ;-) Try to make sure to 'recycle' strings from MuseScore for that, from its Transpose dialog and use a similar set of options too

@@ -340,14 +340,22 @@ MuseScore {
} // RowLayout
CheckBox {
id: exportExcerpts
text: /*qsTr("Export linked parts")*/ qsTranslate("action", "Export parts")
text: /*qsTr("Export linked parts")*/ qsTranslate("action", "Export Parts")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to revert this change, this string gets 'recycled' from MuseScore, so need to follow the spelling there in order to get translated properly

@ecstrema ecstrema deleted the mac branch November 26, 2019 13:36
@ecstrema
Copy link
Contributor Author

ecstrema commented Dec 2, 2019

Using the same set of options would take more time than exposing the transpose dialog to the plugin API, waiting for the PR to be merged, and using it only then, so I won't do it now, but until it gets done, some people might be happy to use the current version.
I just recommended it here, but if you don't like people using a fork of your plugin and not the original, just tell me :)

@Jojo-Schmitz
Copy link
Owner

@Marr11317 please check https://musescore.org/en/node/309463, this doesn't seem to be working (anymore?)

@ecstrema
Copy link
Contributor Author

Ok, I'll look at it this week.

@ecstrema
Copy link
Contributor Author

It works perfectly for me...

@ecstrema
Copy link
Contributor Author

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants