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)
High band does not (always) work
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="GregorV" data-source="post: 295963" data-attributes="member: 57522"><p>Hi blaudden,</p><p></p><p>here my results:</p><p>copied your DLL and started TVService:</p><p>1. tune n-tv -> does not work</p><p>2. tune DW-TV -> works</p><p>3. tune n-tv -> still not working</p><p>4. do my initialization trick (change LNB settings from 11700 to 11701</p><p>5. tune n-tv -> works</p><p>Logs from this attached.</p><p></p><p>yesterday I could do some more tests. As mentioned earlier I can get much better results, if I exchange the function for finding the pin and I suspected Marshal.RealeaseComObject().</p><p>So I tried a self written function using method Filter.FindPin which can be written without the need to free something.</p><p>Indeed it found the correct pin, but the testing results were always no success.</p><p>Then I did something desperate - because I usually would expect that this cannot work.</p><p>I switched back to the DsFindPin.ByName and changed DsUtils.</p><p>Into the finally section of that function I added 'Marshal.ReleaseComObject(pPins[0]);' that it now looks like below:</p><p>[CODE]</p><p>public static IPin ByName(IBaseFilter vSource, string vPinName)</p><p> {</p><p>...</p><p> finally</p><p> {</p><p> Marshal.ReleaseComObject(pPins[0]);</p><p> Marshal.ReleaseComObject(ppEnum);</p><p> }</p><p>...</p><p></p><p>[/CODE]</p><p>This would destroy the return value but surprisingly I get results better than ever <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />!</p><p>Even on my other machine I can restart TVService as often as I want and always can tune high-bands.</p><p>Nevertheless this cannot be the final solution because the code is not correct. But it points to a somehow mystery behavior of Marshal.ReleaseComObject.</p><p></p><p>Also I still can get situations where this does not work - eg. after playing with different code the Hauppauge drivers or DS comes into a state where only low-bands can be tuned.</p><p>This situation then requires a reboot and then it's fine again.</p><p></p><p>Any ideas ?</p><p></p><p>Thanks</p><p>Gregor</p></blockquote><p></p>
[QUOTE="GregorV, post: 295963, member: 57522"] Hi blaudden, here my results: copied your DLL and started TVService: 1. tune n-tv -> does not work 2. tune DW-TV -> works 3. tune n-tv -> still not working 4. do my initialization trick (change LNB settings from 11700 to 11701 5. tune n-tv -> works Logs from this attached. yesterday I could do some more tests. As mentioned earlier I can get much better results, if I exchange the function for finding the pin and I suspected Marshal.RealeaseComObject(). So I tried a self written function using method Filter.FindPin which can be written without the need to free something. Indeed it found the correct pin, but the testing results were always no success. Then I did something desperate - because I usually would expect that this cannot work. I switched back to the DsFindPin.ByName and changed DsUtils. Into the finally section of that function I added 'Marshal.ReleaseComObject(pPins[0]);' that it now looks like below: [CODE] public static IPin ByName(IBaseFilter vSource, string vPinName) { ... finally { Marshal.ReleaseComObject(pPins[0]); Marshal.ReleaseComObject(ppEnum); } ... [/CODE] This would destroy the return value but surprisingly I get results better than ever :S! Even on my other machine I can restart TVService as often as I want and always can tune high-bands. Nevertheless this cannot be the final solution because the code is not correct. But it points to a somehow mystery behavior of Marshal.ReleaseComObject. Also I still can get situations where this does not work - eg. after playing with different code the Hauppauge drivers or DS comes into a state where only low-bands can be tuned. This situation then requires a reboot and then it's fine again. Any ideas ? Thanks Gregor [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
High band does not (always) work
Contact us
RSS
Top
Bottom