msloth / lgtv.js

Control LG WebOS TV using node.js
MIT License
249 stars 119 forks source link

Class-based rewrite with Scanner & Remote #16

Closed WeeJeWel closed 2 years ago

WeeJeWel commented 8 years ago

See here: https://github.com/WeeJeWel/node-webos

Just can't get a direct YouTube video to play - any advice?

msloth commented 8 years ago

Hey, nice lib! Sorry for late answer, not maintaining this as you know :) Hope you already got it to work but otherwise you could look at the websocket traffic in wireshark and compare yours to mine. Hm, IIRC youtube works with mine, but don't really remember. Haven't really used it in a long time. Look at the example/test, it should have an example for youtube.

msloth commented 8 years ago

Ok, had a look, I can open the youtube-app but I don't know if going directly to a video works.

https://github.com/msloth/lgtv.js/blob/master/examples/open-youtube.js#L13

msloth commented 8 years ago

Oh yeah, here https://github.com/msloth/lgtv.js/blob/4b6480711fb5f49c6efc4c1a44f0ec3d2898d561/tests/tests.js#L254 https://github.com/msloth/lgtv.js/blob/4b6480711fb5f49c6efc4c1a44f0ec3d2898d561/tests/tests.js#L620