Skip to content

Set TV channel using the channel ID instead of channel number#52

Merged
Tenzer merged 1 commit intomainfrom
channel-set-with-id
Oct 20, 2024
Merged

Set TV channel using the channel ID instead of channel number#52
Tenzer merged 1 commit intomainfrom
channel-set-with-id

Conversation

@Tenzer
Copy link
Copy Markdown
Owner

@Tenzer Tenzer commented Oct 20, 2024

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.

Fixes #49.

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.
@Tenzer Tenzer merged commit c318968 into main Oct 20, 2024
@Tenzer Tenzer deleted the channel-set-with-id branch October 20, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

channel set error

1 participant