Posts: 399
Joined: Jul 2009
Reputation:
0
I run openelec and tvheadend on one server pc and have just started using the standby option when the pc is idle. I have now started using xbmc on a tablet for watching live tv as a client. My issue is that the server pc will go to sleep if xbmc is idle for 10 minutes (which in a way is what i want) but what i would like to happen is for as long as xbmc is running on the tablet it keeps xbmc awake on the server pc. The advanced wake on lan addon lets me wake the server pc from the client tablet but it doesnt keep xbmc awake on the server pc. Anyone hear of any such service/addon that keeps one xbmc awake while another xbmc is on?
There's an addon for inhibiting the shutdown timer if certain ports are accessed but didnt have much luck with that.
Posts: 399
Joined: Jul 2009
Reputation:
0
anyone else have a solution for this scenario?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Yes, don't let the server go to sleep.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 399
Joined: Jul 2009
Reputation:
0
I use an app called smartpower on my windows 7 pc which hosts my media and it works great staying awake when certains clients are awake. However i run tvheadend on another pc (my pvr server) where the OS is Openelec and that will stay awake if a client is streaming from it but if a client stops streaming it will eventually fall asleep. I want it to always stay while the client is on, streaming or not, as i might start watching tv then start watching an mkv or something and then might want to go back to watching tv; by this time the tvheadend server would be gone to sleep and there would be tv server errors displayed on the client.
I would like not to have to waste electricity keeping the tvheadend server on 24/7 when its not being used 24/7. When live tv becomes more popular with xbmc it will probably be something that is more sought after with people who use the likes of openelec as their pvr server. Anyways hopefully something comes up in the future.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
"when live tv becomes more popular with xbmc"
Who says it isn't already popular? There are numerous PVR backends ported to the PVR addon framework and lots of people in the forums talking about it. I think the issue here is that a lot of people aren't in the need for your exact use case here. Generally the purpose of a server to stream, or record, media is that it is ON and ready to be used when the clients are. If you can't get OpenELEC to keep itself on when connecting with other clients that can hardly be blamed on XBMC.
I also wonder about your desire not to waste electricity by keeping the machine on. Have you actually done any fact checking here to see what the power consumption would be? Just keeping one computer on 24/7 shouldn't be adding a lot to your power bill. I hooked a kWh monitor up to my media server and found that it costs $5-$8 a month depending on usage. It seems like just letting the machine run and do its job will keep you alot happier than coming up with numerous workarounds to keep it alive when you want it and sleeping when you don't.
Posts: 399
Joined: Jul 2009
Reputation:
0
I'm not blaming xbmc for anything, i was just looking for ideas that is all.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
this is something for the backend software (myth, tvheadend, whatever) rather than xbmc
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.