This PR adds the possibility to directly choose channels either by name or by index of the channel in the list (starting at 1).
Since name is not an unique identifier there could be several streams with the same name.
To handle this case it acts as follow: When sending a name, the next channel in the list (starting from the current playing one) with that name is chosen.
Remark: this PR changes(!) the current API endpoint for the current channel-up channel-down message endpoint from remote/[key] to channel/up channel/down.
Since this package is marked beta i took the liberty of just doing this breaking change, if you want to support both, just say and i will adapt the code.
Fixes #1
e: tab-space mixup /o\ sorry, force pushed :)
a friend made me aware that this change broke the cec usecase.
as i do not have a remote i could not test this one.
should have been fixed now, i force pushed to not pollute the commit history.
This PR adds the possibility to directly choose channels either by name or by index of the channel in the list (starting at 1).
Since name is not an unique identifier there could be several streams with the same name. To handle this case it acts as follow: When sending a name, the next channel in the list (starting from the current playing one) with that name is chosen.
Remark: this PR changes(!) the current API endpoint for the current channel-up channel-down message endpoint from remote/[key] to channel/up channel/down. Since this package is marked beta i took the liberty of just doing this breaking change, if you want to support both, just say and i will adapt the code.
Fixes #1 e: tab-space mixup /o\ sorry, force pushed :)