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
General Support
No free card available after hibernate
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: 827547" data-attributes="member: 82144"><p>Hi again</p><p></p><p>The error is this:</p><p></p><p></p><p></p><p>I think the relevant code that is generating the error is (TvEngine3\TVLibrary\TvService\CardManagement\CardHandler\Recorder.Start() line 94):</p><p></p><p>[CODE] try</p><p> {</p><p> RemoteControl.HostName = _cardHandler.DataBaseCard.ReferencedServer().HostName;</p><p> if (!RemoteControl.Instance.CardPresent(_cardHandler.DataBaseCard.IdCard))</p><p> return TvResult.CardIsDisabled;</p><p></p><p> if (_cardHandler.IsLocal == false)</p><p> {</p><p> return RemoteControl.Instance.StartRecording(ref user, ref fileName, contentRecording, startTime);</p><p> }</p><p> }</p><p> catch (Exception)</p><p> {</p><p> Log.Error("card: unable to connect to slave controller at:{0}",</p><p> _cardHandler.DataBaseCard.ReferencedServer().HostName);</p><p> return TvResult.UnknownError;</p><p> }[/CODE]</p><p></p><p>I'm not sure that I fully understand what is going on but I believe it is something to do with networking - 90% sure it is that call to RemoteControl.Instance.CardPresent(). For that call to succeed there *must* be a connected network connection and the hostname (in this case "santy") must be resolvable via DNS or some other mechanism. In practise how this works out is that TV Server tries to start recording over and over again but each time the recording fails just before it starts.</p><p></p><p>So my first question would be: are you using a static IP address on the TV Server machine?</p><p>Second: have you added the host name (santy) to the system hosts file (C:\windows\system32\drivers\etc\hosts) on the server and any clients?</p><p></p><p>If the answer to either of those questions is no then please fix those issues and see whether it helps. You can read how to edit the system hosts file --><a href="http://coolwebdeveloper.com/2009/02/what-is-hosts-file-and-how-to-edit-hosts-file-in-win-xp-and-win-vista/" target="_blank">here</a><--.</p><p></p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 827547, member: 82144"] Hi again The error is this: I think the relevant code that is generating the error is (TvEngine3\TVLibrary\TvService\CardManagement\CardHandler\Recorder.Start() line 94): [CODE] try { RemoteControl.HostName = _cardHandler.DataBaseCard.ReferencedServer().HostName; if (!RemoteControl.Instance.CardPresent(_cardHandler.DataBaseCard.IdCard)) return TvResult.CardIsDisabled; if (_cardHandler.IsLocal == false) { return RemoteControl.Instance.StartRecording(ref user, ref fileName, contentRecording, startTime); } } catch (Exception) { Log.Error("card: unable to connect to slave controller at:{0}", _cardHandler.DataBaseCard.ReferencedServer().HostName); return TvResult.UnknownError; }[/CODE] I'm not sure that I fully understand what is going on but I believe it is something to do with networking - 90% sure it is that call to RemoteControl.Instance.CardPresent(). For that call to succeed there *must* be a connected network connection and the hostname (in this case "santy") must be resolvable via DNS or some other mechanism. In practise how this works out is that TV Server tries to start recording over and over again but each time the recording fails just before it starts. So my first question would be: are you using a static IP address on the TV Server machine? Second: have you added the host name (santy) to the system hosts file (C:\windows\system32\drivers\etc\hosts) on the server and any clients? If the answer to either of those questions is no then please fix those issues and see whether it helps. You can read how to edit the system hosts file -->[URL="http://coolwebdeveloper.com/2009/02/what-is-hosts-file-and-how-to-edit-hosts-file-in-win-xp-and-win-vista/"]here[/URL]<--. mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
No free card available after hibernate
Contact us
RSS
Top
Bottom