2014-06-07, 16:16
When running XBMC and DVBViewer Recording Service on the same PC, I can't go into suspend (S3, Suspend-to-RAM) triggered by XBMC. Here is the RS log:
So XBMC seems to shutdown the PVR part and then tries suspend. But the RS has not yet released all references (streaming client and webserver for commands). This results in the RS preventing suspend and setting AWAY mode. Everything happens in the same second. So if XBMC just waited a bit before trying suspend, so giving the RS time to properly close everything, it should be fine. Can this somehow be achieved?
Code:
07.06.14 16:04:00.061 TRecordingEngine AddReference webserver: 2
07.06.14 16:04:19.090 tStreamClient Release Digital Devices DVB-S/S2 Tuner 1 (1)
07.06.14 16:04:19.090 tStreamClient Destroy Digital Devices DVB-S/S2 Tuner 1 (1)
07.06.14 16:04:19.359 TRecordingEngine Powermessage Going Away...
07.06.14 16:04:19.363 tStreamClient Destroyed Digital Devices DVB-S/S2 Tuner 1 (1)
07.06.14 16:04:19.363 tStreamClient hamDeleted Digital Devices DVB-S/S2 Tuner 1 (1)
07.06.14 16:04:19.363 TRecordingEngine ReleaseReference TStreamClient: 1
07.06.14 16:04:34.532 ReleaseStandbyblock webserver
07.06.14 16:04:34.532 SetThreadExecutionState 0x80000000
07.06.14 16:04:34.532 TRecordingEngine ReleaseReference webserver: 0
So XBMC seems to shutdown the PVR part and then tries suspend. But the RS has not yet released all references (streaming client and webserver for commands). This results in the RS preventing suspend and setting AWAY mode. Everything happens in the same second. So if XBMC just waited a bit before trying suspend, so giving the RS time to properly close everything, it should be fine. Can this somehow be achieved?