Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detachment of the list of commands for selecting a signal source from the list of signal sources. #912

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

glebsterx
Copy link
Contributor

@glebsterx glebsterx commented Jul 29, 2022

There is one serious flaw in the current implementation of the media player: if I don't want to see channels in the source list (on TV), then I can't select a channel using a script (with a number).
This happens because channel switching commands are removed from the list of commands using a custom configuration (not everyone needs channel numbers in the list of sources, this is personally inconvenient for me).
Adding a copy of the dictionary with commands for generating a list of signal sources solves this problem, since in this case the original set of commands remains unchanged and switching channels by number will be available. At the same time, the list of devices will be based on the list of commands from the device configuration, but can be shortened (edited) by the user in the yaml device configuration without affecting the functionality of the device.

… the list of signal sources.

There is one serious flaw in the current implementation of the media player: if I don't want to see channels in the source list (on TV), then I can't select a channel using a script (with a number).
This happens because channel switching commands are removed from the list of commands using a custom configuration (not everyone needs channel numbers in the list of sources, this is personally inconvenient for me).
Adding a copy of the dictionary with commands for generating a list of signal sources solves this problem, since in this case the original set of commands remains unchanged and switching channels by number will be available. At the same time, the list of devices will be based on the list of commands from the device configuration, but can be shortened (edited) by the user in the yaml device configuration without affecting the functionality of the device.
@glebsterx glebsterx changed the title Detachment of the list of commands for selecting a signal source from… Detachment of the list of commands for selecting a signal source from the list of signal sources. Jul 29, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 21, 2022
@stale stale bot removed the stale label May 22, 2024
@glebsterx
Copy link
Contributor Author

Almost 2 years have passed, and I consider the test passed and successful, because I use the component with the modification from this PR every day

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.

None yet

1 participant