mhtsbt / kodi-lifx Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Would be cool if the lamps would return to where they were when the playback started at pause/stop/end.
Add a configuration screen to select the bulbs that should be used
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??
A permission related error
I am not sure if this is possible, but it would be nice if the color would fade between updates to make the update smoother.
EDIT: Never mind.
I found w newer, more promessing project. :https://github.com/sanghviharshit/script.kodi.lifx.ambilight
Anyway, thanks for your work!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.