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

read out XBMC play, pause stop status
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
read out XBMC play, pause stop status
6th Apr, 2014, 08:54 PM
Post: #19
lukeg01 Offline
Registered
Posts: 77
Joined: Dec 2013
Reputation: 1
RE: read out XBMC play, pause stop status
(16th Mar, 2014 06:35 PM)mk01 Wrote:  
Code:
start on screensaver or player or library
task

env UPSTART_EVENTS
env ACTION
env TYPE

script

    echo "$UPSTART_EVENTS $ACTION $TYPE" >> /tmp/events.log

    case $UPSTART_EVENTS in
         screensaver)
                 ;;
         player)
                 if [ $ACTION = START ]; then
                     echo "Video Playing, dimming ligths!"
                      kaku 123 1 dim 4
                 else
                      echo "Video Stopped, brighting ligths!"
                      kaku 123 1 dim 8;
                 fi
                 ;;
         library)
                 ;;
         *)
               ;;
     esac

end script
wich user uses this script?, i got a problem now : i stoped using the "kaku" script because it worked terrible, i went to pilight now and made a script wich can be activated with
Terminal
sudo python /home/xbian/lights.py arg
arg can be replaced with "play" "pause" and "stop"
but pilight needs root... so i though maybe i can give wich user uses this script nopwd premission for pilight (i'm not even shure how to do that so i'm going to ask curlymo if doesn't already responses on this thread

luke

-edit-
i made it possible without root using direct path

okay... next problem, even tough it logs the items it doesn't seem to execute the script, any ideas?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
read out XBMC play, pause stop status - lukeg01 - 25th Jan, 2014, 07:56 PM
RE: read out XBMC play, pause stop status - mk01 - 26th Jan, 2014, 01:12 AM
RE: read out XBMC play, pause stop status - lukeg01 - 26th Jan, 2014, 01:45 AM
RE: read out XBMC play, pause stop status - mk01 - 26th Jan, 2014, 03:26 AM
RE: read out XBMC play, pause stop status - lukeg01 - 26th Jan, 2014, 03:44 AM
RE: read out XBMC play, pause stop status - mk01 - 26th Jan, 2014, 05:17 AM
RE: read out XBMC play, pause stop status - lukeg01 - 26th Jan, 2014, 05:20 AM
RE: read out XBMC play, pause stop status - mk01 - 26th Jan, 2014, 05:23 AM
RE: read out XBMC play, pause stop status - lukeg01 - 26th Jan, 2014, 05:57 AM
RE: read out XBMC play, pause stop status - lukeg01 - 26th Jan, 2014, 05:46 PM
RE: read out XBMC play, pause stop status - mk01 - 26th Jan, 2014, 11:10 PM
RE: read out XBMC play, pause stop status - lukeg01 - 27th Jan, 2014, 12:53 AM
RE: read out XBMC play, pause stop status - lukeg01 - 2nd Feb, 2014, 03:42 AM
RE: read out XBMC play, pause stop status - mk01 - 3rd Feb, 2014, 06:32 AM
RE: read out XBMC play, pause stop status - lukeg01 - 4th Feb, 2014, 04:07 AM
read out XBMC play, pause stop status - lukeg01 - 8th Feb, 2014, 06:39 AM
RE: read out XBMC play, pause stop status - lukeg01 - 19th Feb, 2014, 04:31 AM
RE: read out XBMC play, pause stop status - mk01 - 16th Mar, 2014, 06:35 PM
RE: read out XBMC play, pause stop status - lukeg01 - 6th Apr, 2014 08:54 PM
RE: read out XBMC play, pause stop status - CurlyMo - 6th Apr, 2014, 10:12 PM
RE: read out XBMC play, pause stop status - lukeg01 - 6th Apr, 2014, 10:15 PM
RE: read out XBMC play, pause stop status - CurlyMo - 6th Apr, 2014, 11:17 PM
RE: read out XBMC play, pause stop status - lukeg01 - 6th Apr, 2014, 11:25 PM
RE: read out XBMC play, pause stop status - CurlyMo - 6th Apr, 2014, 11:59 PM
RE: read out XBMC play, pause stop status - lukeg01 - 7th Apr, 2014, 12:02 AM
RE: read out XBMC play, pause stop status - lukeg01 - 7th Apr, 2014, 01:31 AM
RE: read out XBMC play, pause stop status - CurlyMo - 7th Apr, 2014, 06:54 AM
RE: read out XBMC play, pause stop status - lukeg01 - 7th Apr, 2014, 04:03 PM
RE: read out XBMC play, pause stop status - CurlyMo - 7th Apr, 2014, 11:40 PM
RE: read out XBMC play, pause stop status - lukeg01 - 7th Apr, 2014, 11:43 PM
RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014, 12:21 AM
RE: read out XBMC play, pause stop status - lukeg01 - 8th Apr, 2014, 12:23 AM
RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014, 04:37 AM
RE: read out XBMC play, pause stop status - lukeg01 - 8th Apr, 2014, 04:46 AM
RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014, 06:40 AM
RE: read out XBMC play, pause stop status - lukeg01 - 11th Apr, 2014, 05:00 AM
RE: read out XBMC play, pause stop status - CurlyMo - 11th Apr, 2014, 05:22 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [IDEA] Start/stop XBMC from web gui Fred 8 31,048 11th Apr, 2013 10:41 PM
Last Post: wuschl

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

Current time: 23rd May, 2025, 09:39 PM Powered By MyBB, © 2002-2025 MyBB Group.