Git Product home page Git Product logo

kodi-lifx's People

Contributors

mhtsbt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kodi-lifx's Issues

AttributeError: 'module' object has no attribute 'CAPTURE_FLAG_CONTINUOUS'

I get the following error when I try to use this plugin.

System: Lubuntu 16.04 x64
Kodi 17.0-Beta5
Kodi-Lifx 1.2.1

22:41:18 T:140222940591872   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'CAPTURE_FLAG_CONTINUOUS'
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/script.lifx/addon.py", line 67, in <module>
                                                capture.capture(32, 32, xbmc.CAPTURE_FLAG_CONTINUOUS)
                                            AttributeError: 'module' object has no attribute 'CAPTURE_FLAG_CONTINUOUS'
                                            -->End of Python script error report<--

Is there an compatibility issue with Kodi 17??

LIFX light inactive during playback socket.error exception

My LIFX light remains inactive when watching videos.

I pulled and ran separately the network detection part of the script and verified that the script is finding my light and returning the correct IP. When I checked the debug logs I saw that the addon was loaded and ran successfully but then found repeating socket.error messages like below, which matches the string from https://github.com/mhtsbt/kodi-lifx/blob/master/addon.py#L123-L126

10:26:31 T:140021663815424  NOTICE: Caught exception socket.error
10:26:35 T:140020389521152  NOTICE: Previous line repeats 18 times.

I have been able to use https://github.com/mclarkk/lifxlan module which is built on the LIFX LAN V2 protocol to get and set information on the light, (turning on, changing colors) before and after playing the video in Kodi, so I don't think its an issue with the phone app or something keeping the interface locked up.

I am running Kodi 15.2 on 64 bit Ubuntu 14.04 and I believe my LIFX light is running the latest firmware.

Thanks, I have been looking for someone to implement something like this, really hope to get it working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.