(Tvheadend)suspend to ram(wip)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bibi Offline
Senior Member
Posts: 193
Joined: Sep 2009
Reputation: 0
Post: #1
Hi,

I use Openelec PVR beta 2 (client) with TVHeadend on my server.
My server suspends to ram automatically with a PM script. For TVHeadend to work, i had to add a hook to my PM setup to stop and start TVHeadend on suspend/resume (dont really know why, it doesn't work from scratch, maybe because of my kernel DVB modules).
Now i have include in my xbmc client a script to resume the server when the client resumes from suspend. It works, but sometimes the TVHeadend addon can't connect to the TVHeadend server (normal cause the server is still awakening).
I would like to know if it's possible to decrease on the addon side the timeout between the attempt of reconnection to the server side, or force the addon to wait 10 sec before to try to connect to the server, in order to wait that the server is fully resumed ?

Bibi
find quote