View Single Post
Old 10-21-2021, 12:04 AM   #808
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,970
Default

Quote:
Originally Posted by Flaneurette View Post
I've added a pull req., with two python libraries. I noticed much of ReaPack is lua. Can I simply add Python?
Yes. The editor assumes .lua as default when the storage filename is unspecified, so it should be set to use a .py extension (flaneurette_ReaChorder.py).

Had a brief look at the PR and ReaChorder's repository, looks like it includes many missing files (eg. rs_midi.py). The dependencies can be added to the package via the "Add files" button or drag/drop into the page.

By default the additional files are uploaded (and installed) into a "flaneurette_ReaChorder" directory. Python's include path will likely need to be adjusted. (ex. <resource path>/Scripts/ReaTeam Scripts/MIDI Editor/flaneurette_ReaChorder.py, <resource path>/Scripts/ReaTeam Scripts/MIDI Editor/flaneurette_ReaChorder/rs_midi.py, etc)
cfillion is offline   Reply With Quote