Skip to content

🐞 ChannelRack.__iter__ fails to yield the only Channel #90

@jubabrut

Description

@jubabrut

Describe the issue

I created an audio channel with an audio track.
This channel is correctly count with "project.channel_count"
But when I try to access to this channel, nothing happens

import pyflp
import os

# Get the current directory on Windows
current_dir = os.path.dirname(os.path.realpath(__file__)) + "\\"

# Open the FLP project
project = pyflp.parse(current_dir + "test.flp")

print("Channel count: " + str(project.channel_count))

print("start")
for chan in project.channels:
	print(chan)
print("end")

What version of PyFLP are you using?

last commit (26th oct 22)

What code caused this issue?

project.channel

Screenshots, Additional info

image

image

PyFLP test 2.zip

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingchannel-generalProperties affecting all channel types

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions