Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Start/Stop xbmc process upon CEC events
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Start/Stop xbmc process upon CEC events
13th Mar, 2014, 11:17 PM
Post: #1
LeoSum Offline
Registered
Posts: 10
Joined: Mar 2014
Reputation: 0
Start/Stop xbmc process upon CEC events
Hey there,
as I am running multiple other services (owncloud, fhem) on my raspberry and don't actually need XBMC most of the time, they unnecessarily suffer from the constant CPU load that XBMC produces even in idle.

I was wondering if there might be a way to write a script that reacts on CEC messages that my tv sends when I activate or deactivate the HDMI input that the pi is connected to.

I found the command tvservice -M which shout output any events on HDMI as I change HDMI settings on my TV (brand: Hisense) but it doesn't show anything. Also tvservice -s delivers the same status, no matter whether the tv is switched on or off.

CEC generally works though! In XBMC I can use my tv's remote to control the pi and the tv automatically switches to the correct HDMI input when the pi is powered on and this option is enabled in XBMC's input settings.

Any ideas how I could get this to work?

Regards
Leo
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 01:42 PM Powered By MyBB, © 2002-2025 MyBB Group.