Forum
read out XBMC play, pause stop status - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: read out XBMC play, pause stop status (/thread-2055.html)

Pages: 1 2 3


RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014 12:21 AM

Nope, not yet. Events will be implemented in the next version.


RE: read out XBMC play, pause stop status - lukeg01 - 8th Apr, 2014 12:23 AM

If it is, wil it be capable of running scripts aswell? And is there an ETA?


RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014 04:37 AM

That's the whole point of events. It will be like this:
Code:
IF xbmc.action IS play AND xbmc.media IS movie THEN SET living.light TO on



RE: read out XBMC play, pause stop status - lukeg01 - 8th Apr, 2014 04:46 AM

That's inside pilight's I was more wondering this:
If xbmc . action = play AND xbmc. media = movie THEN execute script.py


RE: read out XBMC play, pause stop status - CurlyMo - 8th Apr, 2014 06:40 AM

Why would you? Almost everything people want to add in custom scripts can be done with events. Especially for people who see programming as chinese. One of the clients i pointed to is also in python and you said you couldn't read it.


RE: read out XBMC play, pause stop status - lukeg01 - 11th Apr, 2014 05:00 AM

I need something done related with time


RE: read out XBMC play, pause stop status - CurlyMo - 11th Apr, 2014 05:22 AM

That will also be supported:
Code:
IF (xbmc.action IS play AND xbmc.media IS movie) AND (datetime.hour > 20) THEN SET living.light TO on