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

XBMC event based commands
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
XBMC event based commands
23rd Oct, 2014, 02:38 AM
Post: #4
Calzor Suzay Offline
Registered
Posts: 27
Joined: Apr 2014
Reputation: 1
RE: XBMC event based commands
Ok it can be done but I don't get what or how Sad

Upstart events look good enough for me but how do I make use of this?
Do I need to copy the gen.package.sh script somewhere, is it already running?

Do I just need to modify the xbian-xbmc-player.conf script to have the upstart action call a webpage (Json)?

Mine is currently:-
env TYPE=none

instance $TYPE

start on player ACTION=PLAY
stop on player ACTION=STOP

pre-start script
/usr/local/sbin/xbian-led FRONT trigger none
/usr/local/sbin/xbian-led FRONT brightness 0
end script

post-stop script
/usr/local/sbin/xbian-led FRONT trigger cpu0
end script
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
XBMC event based commands - Calzor Suzay - 21st Oct, 2014, 11:40 PM
RE: XBMC event based commands - menakite - 22nd Oct, 2014, 12:05 AM
RE: XBMC event based commands - Calzor Suzay - 22nd Oct, 2014, 01:20 AM
RE: XBMC event based commands - Calzor Suzay - 23rd Oct, 2014 02:38 AM
RE: XBMC event based commands - menakite - 23rd Oct, 2014, 04:15 AM
RE: XBMC event based commands - Calzor Suzay - 23rd Oct, 2014, 10:19 PM

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

Current time: 7th Jun, 2025, 01:53 AM Powered By MyBB, © 2002-2025 MyBB Group.