-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set TV channel using the channel ID instead of channel number (#52)
Some models of TVs, e.g. the 50UN73006LA requires the `ssap://tv/openChannel` call to be provided with a channel ID instead of a channel number. Since the channel ID is something obscure like "1_21_101_101_16515_17539_9018" it doesn't make sense for a user to try to input the ID manually. Instead this change makes the `channel set` command look up the list of channels to convert a channel number to a channel ID, if the input looks like a channel number.
- Loading branch information
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters