Reload from score file plugin?
There used to be a function in the file menu to reload the score. This was taken out for reasons that are complicated and not important here.
The plugin guide suggests one way to add functionality to MuseScore is simply to write an application that directly edits the .mscz file. I have done this. It works great, I am quite happy with it.
In order to see the changes my application makes I need to close the entire application and then open it again. Even file -> open does not work, the file is never accessed and the command is a no-op. My application makes frequent changes, it is designed to go: user changes something -> application updates score -> user plays back result. This would happen in a loop until the user is happy with the result. This means restarting the application every time is not viable.
Is there a call I can make in a plugin to reload the score from the file on disk?
Comments
No.
Even the normal readScore() functions are lacking completely.
Not (yet) in MuseScore 4, see https://github.com/musescore/MuseScore/issues/13593
In reply to Not (yet) in MuseScore 4,… by Jojo-Schmitz
Thanks, I have subscribed to that issue on github so I guess I will just wait.
> I need to close the entire application and then open it again...
> ...restarting the application every time is not viable.
Seems contradicting, is it typo?
do you need to use MS4? in MS3 plz try:
In reply to > close the entire… by msfp
I thought of this but I was not able to find a download link for MS3. Where can I get it from?
In reply to I thought of this but I was… by Duncan124
https://musescore.org/en/download#Older-and-unsupported-versions
In reply to https://musescore.org/en… by Jojo-Schmitz
Many thanks
In reply to https://musescore.org/en… by Jojo-Schmitz
This only goes up to 3.2.3
The ability to read the score path was merged in 3.6
https://github.com/musescore/MuseScore/pull/7083
(I am on linux)
In reply to This only goes up to 3.2.3… by Duncan124
never mind I found it on github
In reply to This only goes up to 3.2.3… by Duncan124
That 3rd link (as mentioned in it) indeed only goes to 3.2.3.
The two links above that fill the gap up to 3.6.2. For some reason the linux link is missing there, but easily discovered by changing the url from the win/mac ones.