-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Hello,
I quite enjoy the picard scripting language and would like to use it in other music related projects.
In this specific case, provide ampache with file renaming on upload using the same script used in MusicBrainz. To do so, it would be great if it were possible to simply do something like this
# pip install picard_scripting import picard_scripting from .functions import FUNCTIONS picard_scripting.load_functions(FUNCTIONS) parser = picard_scripting.ScriptParser() result = parser.eval(""" insert script here """, { "artist": "artist name", "album": "album name", #... }) print(result)
If there's some way I could help, I'm open to contributing code