Code Monkey home page Code Monkey logo

kodi_projcontrol's People

Contributors

datendelphin avatar fredrik-eriksson avatar petterreinholdtsen avatar zippierostrich1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kodi_projcontrol's Issues

Extend with support for InFocus IN76?

Hi. Having my Kodi instance handle the project seem like a good idea. I got a InFocus projector with a serial port interface, and the protocol is trivial and well documented. Would you be willing to help me integrate support for it into this add-on?

A small python script talking to the projector is available from <URL: https://github.com/petterreinholdtsen/infocus-projector-control >. As you can see there, it is fairly simple to talk to the projector.

I would love to turn the projector automatically off shortly after the screen saver kick in, to save the bulb. Do you have any idea how to make that happen with Kodi? It could even turn on the projector again when the screen saver is deactivated. :)

Better naming of po files?

From IRC:

feffe: btw, is the resources/language/English/strings.po directory structure required in kodi? it is quite unlike what I have seen in other free software projects.
[rechi] resources/language/ path is hardcoded in Kodi
[rechi] rename English directory to resource.language.en_gb (just a folder with the language name is deprecated)
will it work with simply resources/language/en.po and resources/language/sv.po ?
I fail to see the point of having a directory with only one file in it...
[rechi] no that doesn't work
resources/language/resource.language.en_gb/strings.po is the correct path
why en_gb instead of only en?
[rechi] language_region
eg en_us is a different language
actually, it is language_country, and I am asking if Kodi is smart enough to handle only language, or if it believe all languages are country specific. In other words, is it following RFC 3066 or did it make up its own scheme?

[Did not get a reply to the last one before I went to bed. :)]

Should delay turning off projector for a few minutes after screen saver kick in.

At the moment, the projector is turned off the second the screen saver kick in. This causes problems with my InFocus projector, which can not be turned on again before it had some time to cool down. This make it impossible to quickly recover from the screen saver kicking in while I still want to use the system.

It would be better if the projector would turn itself off 1-2 minutes after the screen saver kick in.

NameError: global name 'monitor' is not defined

I just noticed this message in my /storage/.kodi/temp/kodi.log:

08:21:40.154 T:1744417696   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: global name 'monitor' is not defined
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.projcontrol/lib/monitor.py", line 72, in onScreensaverDeactivated
                                                monitor.waitForAbort((min_turnaround-time_since_stop.seconds)*1000)
                                            NameError: global name 'monitor' is not defined
                                            -->End of Python script error report<--

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.