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

There may be multiple discussions in one here which may be worth 
pursuing in separate issues, but let's see where this brings us first.
 I feel that I may still be missing something fundamental here. On 
TVTuner vs. TVSource, @stevem-tw wrote:

>> I think we need to make sure that the developer can distinguish 
this case from the case where there are two physical tuners that are 
not switchable between different source types: this is where we may 
need some extra text to clarify this.

@AMorgaut replied:

> I think that this is the purpose of `getSupportedSourceTypes()` 
TVTuner method.
With it, the developer should be able to know exactly which Tuner can 
give access to which kind of TVSource even before trying to reach 
them. But I think `getSources()` could then benefit from an optionnal 
`sourceTypeFilter` param. 

Intuitively, I would prefer a tuner with multiple `TVSource` to behave
 as a tuner with only one `TVSource`. Other than for informational 
purpose (which could be returned as part of the channel's metadata), 
why would a Web app developer need to know that a tuner may switch 
between multiple sources?


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

Received on Tuesday, 9 August 2016 14:54:33 UTC