home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
TV Server Error on Fresh Vista Install
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="offbyone" data-source="post: 344240" data-attributes="member: 73415"><p>Ok after compiling the TVService was running as 64 bit, I recompiled for x86 and now I get the error again.</p><p></p><p>it is in the file TvLibrary.Implementations.TvCardCollection.DetectCards() line 118:</p><p></p><p>[CODE]if (devices.Length > 0)</p><p> {</p><p> ITuningSpace tuningSpace;</p><p> ILocator locator;</p><p> IFilterGraph2 graphBuilder = (IFilterGraph2)new FilterGraph();</p><p> DsROTEntry rotEntry = new DsROTEntry(graphBuilder);</p><p></p><p> //DVBT</p><p> Guid networkProviderClsId = typeof(DVBTNetworkProvider).GUID;</p><p> IBaseFilter networkDVBT = FilterGraphTools.AddFilterFromClsid(graphBuilder, networkProviderClsId, "DVBT Network Provider");</p><p></p><p> tuningSpace = (ITuningSpace)new DVBTuningSpace();</p><p> tuningSpace.put_UniqueName("DVBC TuningSpace");</p><p> tuningSpace.put_FriendlyName("DVBC TuningSpace");</p><p> tuningSpace.put__NetworkType(typeof(DVBTNetworkProvider).GUID);</p><p> ((IDVBTuningSpace)tuningSpace).put_SystemType(DVBSystemType.Terrestrial);</p><p></p><p> locator = (ILocator)new DVBTLocator();</p><p> locator.put_CarrierFrequency(-1);</p><p> locator.put_InnerFEC(FECMethod.MethodNotSet);</p><p> locator.put_InnerFECRate(BinaryConvolutionCodeRate.RateNotSet);</p><p> locator.put_Modulation(ModulationType.ModNotSet);</p><p> locator.put_OuterFEC(FECMethod.MethodNotSet);</p><p> locator.put_OuterFECRate(BinaryConvolutionCodeRate.RateNotSet);</p><p> locator.put_SymbolRate(-1);</p><p> tuningSpace.put_DefaultLocator(locator);</p><p> ((ITuner)networkDVBT).put_TuningSpace(tuningSpace);[/CODE]</p><p></p><p>the last line throws the error, any idea? I don't have any DVB-T device...</p><p></p><p>I changed it to only detect DVB-C card and now it's working.</p><p>Maybe you should put a try catch around the detection of each card type?</p><p>In my case the variable networkDVBT was null a giving the exception!</p></blockquote><p></p>
[QUOTE="offbyone, post: 344240, member: 73415"] Ok after compiling the TVService was running as 64 bit, I recompiled for x86 and now I get the error again. it is in the file TvLibrary.Implementations.TvCardCollection.DetectCards() line 118: [CODE]if (devices.Length > 0) { ITuningSpace tuningSpace; ILocator locator; IFilterGraph2 graphBuilder = (IFilterGraph2)new FilterGraph(); DsROTEntry rotEntry = new DsROTEntry(graphBuilder); //DVBT Guid networkProviderClsId = typeof(DVBTNetworkProvider).GUID; IBaseFilter networkDVBT = FilterGraphTools.AddFilterFromClsid(graphBuilder, networkProviderClsId, "DVBT Network Provider"); tuningSpace = (ITuningSpace)new DVBTuningSpace(); tuningSpace.put_UniqueName("DVBC TuningSpace"); tuningSpace.put_FriendlyName("DVBC TuningSpace"); tuningSpace.put__NetworkType(typeof(DVBTNetworkProvider).GUID); ((IDVBTuningSpace)tuningSpace).put_SystemType(DVBSystemType.Terrestrial); locator = (ILocator)new DVBTLocator(); locator.put_CarrierFrequency(-1); locator.put_InnerFEC(FECMethod.MethodNotSet); locator.put_InnerFECRate(BinaryConvolutionCodeRate.RateNotSet); locator.put_Modulation(ModulationType.ModNotSet); locator.put_OuterFEC(FECMethod.MethodNotSet); locator.put_OuterFECRate(BinaryConvolutionCodeRate.RateNotSet); locator.put_SymbolRate(-1); tuningSpace.put_DefaultLocator(locator); ((ITuner)networkDVBT).put_TuningSpace(tuningSpace);[/CODE] the last line throws the error, any idea? I don't have any DVB-T device... I changed it to only detect DVB-C card and now it's working. Maybe you should put a try catch around the detection of each card type? In my case the variable networkDVBT was null a giving the exception! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
TV Server Error on Fresh Vista Install
Contact us
RSS
Top
Bottom