Linux [RELEASE]Plugin for Timer- and Powermanagement in XBMCbuntu/XBMC-live and TVHeadend

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
_BJ1 Offline
Senior Member
Posts: 126
Joined: Apr 2010
Reputation: 0
Location: Germany
Post: #41
The addon could'nt cause the Crash. If xbmc crashes, the addon will die too. In this case control over powermanagement is lost and the pc is still powered on. Because xbmc and tvheadend are independent from each other, tvheadend will still do his job even when xbmc has crashed.
find quote
bilbonvidia Offline
Fan
Posts: 436
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #42
Thanks yes realised what it was. I have created a startup script to wake up mysql / media server so this doesn't happen again. (Rather than leave it on all the time)
find quote
esofron Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #43
Hello,

i am getting the following to the log file,


23.08.2012 14:44:53: PVR Manager: ERROR: <urlopen error [Errno -2] Name or service not known>
23.08.2012 14:44:53: PVR Manager: found PIDFile with ID 1442 but should be 1474, XBMC probably crashed
23.08.2012 14:44:53: PVR Manager: service finished

any idea? thanks.
find quote
_BJ1 Offline
Senior Member
Posts: 126
Joined: Apr 2010
Reputation: 0
Location: Germany
Post: #44
The addon could'nt find the status.xml. Please check your settings. If tvheadend runs on the same machine, verify it with the screenshots posted (see links in Post #1).

If tvheadend runs on another machine, the tvheadend URL must be: http://ip.of.your.server:9981/status.xml
(This post was last modified: 2012-08-23 16:36 by _BJ1.)
find quote
esofron Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #45
Ok it is on the same machine, but it looks like the xbmc crashes & reloads again as i am getting the following

23.08.2012 18:36:36: PVR Manager: found PIDFile with ID 1495 but should be 1519, XBMC probably crashed
23.08.2012 18:36:56: PVR Manager: Service still active, monitoring PWR/OTHER: no/no

also i have changed the url in the configuration from localhost to the ip of the xbmc.

how can i extend test it to see it works again?

thanks.
find quote
_BJ1 Offline
Senior Member
Posts: 126
Joined: Apr 2010
Reputation: 0
Location: Germany
Post: #46
23.08.2012 18:36:56: PVR Manager: Service still active, monitoring PWR/OTHER: no/no

That means, addon is active and monitoring your remote events (power button and other buttons). If you press power on remote now, the addon will display a message showing in screenshot #1 and the machine will power off after the schedule.
find quote
esofron Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #47
(2012-08-23 17:57)_BJ1 Wrote:  23.08.2012 18:36:56: PVR Manager: Service still active, monitoring PWR/OTHER: no/no

That means, addon is active and monitoring your remote events (power button and other buttons). If you press power on remote now, the addon will display a message showing in screenshot #1 and the machine will power off after the schedule.


ok tried that with no success, the power button does nothing.

i have made all the changes you describing in the readme file.

thanks.

also i rebooted my xbmc now & i got a message that the script for pvrmanager failed.
i understand that xbmc does not know what the power button from control does. will it work if i select the shutdown command from the interface?

thanks.
(This post was last modified: 2012-08-23 18:06 by esofron.)
find quote
_BJ1 Offline
Senior Member
Posts: 126
Joined: Apr 2010
Reputation: 0
Location: Germany
Post: #48
> also i rebooted my xbmc now & i got a message that the script for pvrmanager failed.

Sorry I'm on vacation now. We talk about it next week. I need a summary of the xbmc.log when the script fails.
find quote
esofron Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Post: #49
ok no problem.
find quote
Pino80 Offline
Junior Member
Posts: 16
Joined: Aug 2012
Reputation: 0
Post: #50
When I had my htpc record a movie overnight, the htpc would hang and would still be powered on the next day.
When I tried to make a recording at daytime, all went fine.

The solution to my problem was that at night my tv was powered off. Linux wouldn't boot correctly because it couldn't determine the right resolution for my screen. After I saved the EDID-information of my tv to the local hard drive, Linux could boot without the tv turned on.
Now recording at night works fine.

I hope this information is helpful to you.
find quote
Post Reply