You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried the example code from the "Walkthrough: Implementing a plugin data parser" from the documentation. I followed each step as mentioned and then some errors occured
This is the first error Message:
Traceback (most recent call last):
File "c:\Users\Silver Shepherd Lap\Documents\Coding\Code Projekte.xpj zu .flp\Sammelsurium\FLP Decontructor - Fruity Balance VorlagenTest_3.py", line 8, in
events = project.events_asdict()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: **'Project' object has no attribute 'events_asdict'**
The Compiler doesn't seem to know teh command "events_asdict"
And in other scenarios the ".struct" command is also not as an attribute there.
But maybe that is because the "events_asdict()" command is needed to create this attribute.
The Fruity Balance Demo FLP was created in FL Studio 21.2.3
Hopefully someone can help.
What version of PyFLP are you using?
2.2.2dev6
What code caused this issue?
importpyflpfrompyflp.pluginimportPluginID# Parse the FLP file into a projectproject=pyflp.parse("fruity-balance.flp")
# Collect all the events as a dict of ID to eventevents=project.events_asdict()
# Get the first plugin data event - the Fruity Balance one itselfplugin_data_event=events[PluginID.Data][0]
# Get the raw data and convert it to a tuple of 8-bit unsigned integersdata=tuple(bytearray(plugin_data_event._struct))
print(data)
Screenshots, Additional info
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the issue
Hello,
I tried the example code from the "Walkthrough: Implementing a plugin data parser" from the documentation. I followed each step as mentioned and then some errors occured
This is the first error Message:
Traceback (most recent call last):
File "c:\Users\Silver Shepherd Lap\Documents\Coding\Code Projekte.xpj zu .flp\Sammelsurium\FLP Decontructor - Fruity Balance VorlagenTest_3.py", line 8, in
events = project.events_asdict()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: **'Project' object has no attribute 'events_asdict'**
The Compiler doesn't seem to know teh command "events_asdict"
And in other scenarios the ".struct" command is also not as an attribute there.
But maybe that is because the "events_asdict()" command is needed to create this attribute.
The Fruity Balance Demo FLP was created in FL Studio 21.2.3
Hopefully someone can help.
What version of PyFLP are you using?
2.2.2dev6
What code caused this issue?
Screenshots, Additional info
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: