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)
PS sometimes not waking up HTPC for recordings
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="mm1352000" data-source="post: 1128613" data-attributes="member: 82144"><p>Yes, it's a nasty issue, but it <strong>cannot </strong>be fixed quickly and reliably with only not-null checks. It really requires locking to properly protect all access to _tsFilterInterface. Locking is necessary because this issue will only be observed when multiple threads are interacting with the tuner/sub-channel. You have one EPG grabber thread that is in the middle of tuning (in this case waiting for PMT, but it could really be anywhere in the tuning process) and another from PS that is telling the service to suspend. Handling this properly is not so straightforward. Yes it would only take 30 minutes or so to add lock () {} and if ( != null) {} around things... but you have to take time to consider the potential for deadlocks, which are especially possible due to the call backs from TsWriter.</p><p></p><p></p><p>Oh, no. What I meant was that the PC was on shortly before the recording. It suspended at ~19:21 and would have remained suspended until some later time.</p><p></p><p></p><p>By "it" you mean Windows, right?</p><p>I can only tell you what I read in the log files, and what I read is that the service crashed on suspend at 19:21 and did not get restarted until 20:11. Perhaps Windows doesn't automatically restart until resume. I don't know. I didn't write the Windows code. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p></p><p>Use the time-shifting EPG grabber only, and schedule a fake recording every day?</p><p></p><p></p><p>Yeah, the answer is no. I'm not going to do it.</p><p></p><p></p><p>I'm not able to help you with PS[++] questions.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1128613, member: 82144"] Yes, it's a nasty issue, but it [B]cannot [/B]be fixed quickly and reliably with only not-null checks. It really requires locking to properly protect all access to _tsFilterInterface. Locking is necessary because this issue will only be observed when multiple threads are interacting with the tuner/sub-channel. You have one EPG grabber thread that is in the middle of tuning (in this case waiting for PMT, but it could really be anywhere in the tuning process) and another from PS that is telling the service to suspend. Handling this properly is not so straightforward. Yes it would only take 30 minutes or so to add lock () {} and if ( != null) {} around things... but you have to take time to consider the potential for deadlocks, which are especially possible due to the call backs from TsWriter. Oh, no. What I meant was that the PC was on shortly before the recording. It suspended at ~19:21 and would have remained suspended until some later time. By "it" you mean Windows, right? I can only tell you what I read in the log files, and what I read is that the service crashed on suspend at 19:21 and did not get restarted until 20:11. Perhaps Windows doesn't automatically restart until resume. I don't know. I didn't write the Windows code. :) Use the time-shifting EPG grabber only, and schedule a fake recording every day? Yeah, the answer is no. I'm not going to do it. I'm not able to help you with PS[++] questions. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
PS sometimes not waking up HTPC for recordings
Contact us
RSS
Top
Bottom