Re: [tvcontrol-api] Why retrieve a list of tuners instead of just one tuner?

That's interesting. I do not have particular insights on business 
issues. Would a "flat" merge of all channels, essentially the 
concatenation of all channels per source without any attempt to merge 
duplicates, be forbidden as well?

I do not see any good way to have a model where the app can both 
retrieve a complete list of channels when possible and retrieve a list
 of channels per source if not. I mean, we could also keep a 
`getChannelList` method at the `TVManager` level, which would fail if 
the implementation cannot merge lists of channels, but that would 
force applications to deal with two levels to retrieve channels, and 
that seems wrong.

If `getChannelList` sticks at the `TVSource` level, I note we can get 
rid of the `TVControl` level, as user permission could then be 
acquired when `getSource` is called.

-- 
GitHub Notification of comment by tidoust
Please view or discuss this issue at 
https://github.com/w3c/tvcontrol-api/issues/4#issuecomment-275124028 
using your GitHub account

Received on Wednesday, 25 January 2017 14:38:19 UTC