make score's path and directory available to plugins

• Nov 11, 2018 - 21:36
Type
Plugins
Frequency
Few
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

In MuseScore 1 a score's path and filename have been available to the plugin language. This is not true anymore in MuseScore v2.3.2 (haven't tested older versions of MuseScore 2).
Please make them available again as Score object properties.


Comments

I support this request very much. Especially because the functionality was already there. I think that this is also a quick win for the developers because the effort cannot be so great imho. Instead of the property filePath, I would also recommend a file object (read only).

Also looking for a way to retrieve the path to curScore. Did anything concerning that topic change / improve in 3.5?

Fix version
3.6.0