dechamps / lgtvdevicelistener Goto Github PK
View Code? Open in Web Editor NEWSwitch LGTV inputs based on Windows device changes
License: MIT License
Switch LGTV inputs based on Windows device changes
License: MIT License
Currently LGTVDeviceListener sets an ACE on the client key file that gives "CREATOR OWNER" full control.
The intent was to give the owner of the client key file full control, but that's not what happens in practice. Somewhat counter-intuitively, the "CREATOR OWNER" special SID does not affect the access modes of the owner of the object the ACE is attached to. Instead, a "CREATOR OWNER" ACE is used as a template to form an ACE that is automatically added to child objects (with the trustee being the creator of the child object).
Because files cannot have child objects, it doesn't make any sense to set a "CREATOR OWNER" ACE on a file. The ACE is a no-op.
The instructions state:
After downloading the executable, run it with
--url
first.LGTVDeviceListener.exe --url ws://192.168.42.42:3000
This will do two things:
- โฆ
- LGTVDeviceListener will then start listening for device events and log them to the console.
This is a lie - LGTVDeviceListener does not log device events if --url
is passed (or, more specifically, it requires --verbose
to be added as well). Either the instructions should be fixed, or LGTVDeviceListener should be changed to log device events in this case.
I've tried executing for the first time but it keeps failing with this message:
FATAL: Failed to set ACL entries: No mapping between account names and security IDs was done.
Thanks in advance!
For example:
[ERROR ] FATAL: Failed to open client key file: unknown error
Whereas I expected:
[ERROR ] FATAL: Failed to open client key file: Access is denied.
The root cause is this Visual C++ bug. It only seems to occur when the Windows locale is set to something other than en-US
.
After updating to version 03.30.16, this error comes up and no longer switches input. Verbose doesn't display any additional information.
[info ] Switching LGTV to input: HDMI_1
[ERROR ] In device event listener: WebSocket client error: Failed reading HTTP status line from ws://xxx.xxx.xxx.xxx:3000 (retries: 0, wait time: 0.000000 ms, HTTP status: 0)
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.