- October 15, 2009
- 199
- 48
- Home Country
-
United States of America
Running without the TV server, I get the following error when PowerScheduler tries to prevent standby. Is power scheduler dependent on the tv server functionality?
The problem I'm seeing is that MediaPortal goes to sleep during playback. I do not see anywhere in the source to prevent this when I looked through.
I see a function PreventMonitorPowerdown in Win32API but it is never called.
MediaPortal Version: 1.1
MediaPortal Skin: xfactor
Windows Version: windows 7 ultimate 64
CPU Type: intel E6300 wolfdale 2.8ghz
HDD: seagate 1.5tb
Memory: 4gb ddr2 800
Motherboard: gigabyte h57
Video Card: ati 5750
Video Card Driver: 10.9a
Sound Card: ati hdmi out
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: ffdshow
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: imon
TV: JVC RS10
TV - HTPC Connection: hdmi
The problem I'm seeing is that MediaPortal goes to sleep during playback. I do not see anywhere in the source to prevent this when I looked through.
I see a function PreventMonitorPowerdown in Win32API but it is never called.
Code:
2010-09-21 15:11:00.851896 [Info.][(29)]: PowerScheduler: Keep server alive
2010-09-21 15:11:08.867355 [Info.][(29)]: Exception :System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:31457
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvEngine.PowerScheduler.Interfaces.IPowerController.UserActivityDetected(DateTime when)
at MediaPortal.Plugins.Process.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
2010-09-21 15:11:08.868355 [Info.][(29)]: Exception :Unable to connect to the remote server
2010-09-21 15:11:08.868355 [Info.][(29)]: site :Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
2010-09-21 15:11:08.868355 [Info.][(29)]: source :mscorlib
2010-09-21 15:11:08.869355 [Info.][(29)]: stacktrace:
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvEngine.PowerScheduler.Interfaces.IPowerController.UserActivityDetected(DateTime when)
at MediaPortal.Plugins.Process.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
2010-09-21 15:11:33.874785 [Info.][(28)]: PowerScheduler: Keep server alive
2010-09-21 15:11:34.435817 [Info.][DirectoryWorker(27)]: SQLiteClient: Closing database: movingpictures.db3
2010-09-21 15:11:34.449818 [Info.][DirectoryWorker(27)]: SQLiteClient: Closing database: TVSeriesDatabase4.db3
2010-09-21 15:11:41.902244 [Info.][(28)]: Exception :System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:31457
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvEngine.PowerScheduler.Interfaces.IPowerController.UserActivityDetected(DateTime when)
at MediaPortal.Plugins.Process.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
2010-09-21 15:11:41.903244 [Info.][(28)]: Exception :Unable to connect to the remote server
2010-09-21 15:11:41.903244 [Info.][(28)]: site :Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
2010-09-21 15:11:41.904244 [Info.][(28)]: source :mscorlib
2010-09-21 15:11:41.904244 [Info.][(28)]: stacktrace:
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvEngine.PowerScheduler.Interfaces.IPowerController.UserActivityDetected(DateTime when)
at MediaPortal.Plugins.Process.PowerScheduler.OnTimerElapsed(Object sender, ElapsedEventArgs e)
2010-09-21 15:11:53.414903 [Info.][MPMain(1)]: Main: WM_POWERBROADCAST: 4
2010-09-21 15:11:53.414903 [Info.][MPMain(1)]: Main: Windows is suspending
2010-09-21 15:11:53.415903 [Info.][MPMain(1)]: Main: Stopping playback
MediaPortal Skin: xfactor
Windows Version: windows 7 ultimate 64
CPU Type: intel E6300 wolfdale 2.8ghz
HDD: seagate 1.5tb
Memory: 4gb ddr2 800
Motherboard: gigabyte h57
Video Card: ati 5750
Video Card Driver: 10.9a
Sound Card: ati hdmi out
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: ffdshow
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: imon
TV: JVC RS10
TV - HTPC Connection: hdmi