Closed ping-mee closed 6 months ago
Thanks for raising the issue :)
The project I originally made the library for only cared about 1 universe, so I never checked if it would work with more than one :V
Basically, as the moment it just spits out the last packet it received, which isn't useful if you want to receive multiple universes (because you're going to get random one each time), but does work if you only receive 1 universe.
Sooo, I'll have to "rework" it so that it will either store multiple packets (one for each universe), or have multiple "listeners" (one for each universe); but I'll have to figure that out :)))))
Thanks you sooooooo much for awnsering so quickly. Because this is such a niche topic, I already was so thankfull that some had developed this module. So thank you for responding so quickly.
I am currently working on a little fun project. I am going to mention your help with the bug fix in my README :)
Steps to recreate this problem:
def get_eth0_ip(): try:
Get the IP address of the eth0 interface
debug = False
You can choose between setting your own IP or if you run this on a Pi getting a IP automatically form eth0
artnetBindIp = str(get_eth0_ip())
artnetBindIp = "10.0.0.4"
artnetUniverse = 0
Art-Net Setup
Creates Artnet socket on the selected IP and Port
artNet = Artnet.Artnet(artnetBindIp, DEBUG=debug)
while True: try:
Read latest ArtNet packet
Bro, close dat shit! It is over for today! No more Mario Kart 8 Deluxe
artNet.close() sys.exit()