msloth / lgtv.js

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

how can I next/prev channel ? #6

Closed berkaytheunicorn closed 8 years ago

berkaytheunicorn commented 8 years ago

like in the title, how can I manage to do that ? is there a function for this or I need to calculate from channel list?

msloth commented 8 years ago

I'm unsure, haven't used this myself. There is currently no way with this lib except getting the channellist and enumerating that one.

msloth commented 8 years ago

I found in the ConnectSDK some additional endpoints, I'll integrate them soon. Meanwhile, if you would like to do it yourself, use: ssap://tv/channelUp and ssap://tv/channelDown.

berkaytheunicorn commented 8 years ago

hmm thanks can you show me how can I trigger this ?

msloth commented 8 years ago

Not so helpful, but check the code and duplicate any of the existing similar functions, or wait for me to build it.

msloth commented 8 years ago

Latest version includes functions for next/prev channel. Closing.