pünktchen 1241 Posted April 24, 2022 Share Posted April 24, 2022 @Luke How do i get all installed live tv tuners (plugins) and how can i filter them by already set as a live tv source? How can i add a tuner as a live tv source in C#? Link to comment Share on other sites More sharing options...
Luke 36887 Posted April 26, 2022 Share Posted April 26, 2022 From ILiveTVManager: List<TunerHostInfo> GetTunerHostInfos(string type) This will get you all of the ones a user has configured for a given tuner type. I'll adjust this so that you can just pass in null and get them all. Then I can add a method to get the actual ITunerHost based on one of those. Is that what you need? To create a new one: Task<TunerHostInfo> SaveTunerHost(TunerHostInfo info, CancellationToken cancellationToken) Link to comment Share on other sites More sharing options...
pünktchen 1241 Posted April 28, 2022 Author Share Posted April 28, 2022 (edited) Thanks! After your comments i was able to solve my problem already. But GetTunerHostInfos(null) could be handy regardless. Edited April 28, 2022 by pünktchen 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now