flesniak / python-prodj-link

A python interface to Pioneer ProDJ Link
Apache License 2.0
134 stars 26 forks source link

Retrieval of IP / Netmask / MAC on Mac OS X not working #3

Closed PouleR closed 6 years ago

PouleR commented 6 years ago

The methods

Are not working on a Mac OS X system, the ioctl calls are throwing an exception. Another way to retrieve the data could be by using this package (which works on Mac OS X):

https://pypi.org/project/netifaces/

flesniak commented 6 years ago

Thanks for the heads up, I'll be looking into that package as soon as I have some spare time.

PouleR commented 6 years ago

@flesniak I've created an implementation but I'm not sure if it works on other systems (haven't tested it). I will create a pull request for this.