Including spidev in python library

  • Hi all,

    at first thanks a lot for your work. Libreelec runs for me since years in an amplifier box. I've build an extension for estuary where I can switch audio sources for the amp and adjust the volume with a digital controlled potentiometer (TI PGA2310). For python 2 I found a ready built library of py-spidev which worked really fine. After upgrading to LE 10 this library does not work anymore of course. Now I tried to build py-spidev for python 3 using raspbian (32 Bit). But this library expects some dependencies which are not present on LE. So my question is: Could it be possible to include spidev in the core of LE?

    Cheers, Stephan

  • I am working on the OLEDproc plugin. There I need several libraries (cbor2, smbus2, luma.oled, luma.core and spidev) as dependencies. That's why I made all the named libraries in the form of addons. For which device and for which LE version do you need spidev?