google-code-export / sagetv-addons

Automatically exported from code.google.com/p/sagetv-addons
1 stars 0 forks source link

Notification by email when a certain favorite is due to record #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is for the Sage alert plugin. 
I don't know if this would be very difficult, But I would like an email 
notification that a certain favorite recording will be recording in the next 
day or 2. The reason for this is so I can set my cable box to automatically 
change the channel it will record before the program starts because I don't 
have a way to change the channel on it without adding another usbuirt. Also by 
setting the channel to record in the cable box, it warns someone ( my wife) 
trying to change the channel that a recording is in progress so the channel 
isn't accidently changed . This is essentially so my wife doesn't accidently 
change the channel while a recoeding is in progress.

Original issue reported on code.google.com by rnadeau6299 on 1 Feb 2012 at 4:19

GoogleCodeExporter commented 9 years ago
Unfortunately, SageAlert isn't really designed for this kind of situation.  
SageAlert reacts and notifies based on events generated by SageTV and SageTV 
has no event notifying about the future recording of a favourite.

Now, what you can do is write a script or program that does what you want and 
then attach that program (registered as process executor under Servers) to the 
"Recording Schedule Changed" event in SageAlert.  Then every time the recording 
schedule is updated SageAlert would simply run your program and do the check.  
If the favs of interest show up in the schedule then send an email.  That's 
about the best SageAlert can do for this situation.

Original comment by de...@battams.ca on 2 Feb 2012 at 3:54

GoogleCodeExporter commented 9 years ago
Thanks for responding. Could you tell me how to query the sage system so I 
can write some code to do this?
Thanks.

Original comment by rnadeau6299 on 2 Feb 2012 at 3:35

GoogleCodeExporter commented 9 years ago
Have a look at the sagex remote APIs:

http://code.google.com/p/customsagetv/wiki/SageTVapi

Original comment by de...@battams.ca on 2 Feb 2012 at 9:56

GoogleCodeExporter commented 9 years ago
I tried this but installing sagex doesn't seem to install the rpcxml file. 
Do you know where I can get this?

Original comment by rnadeau6299 on 3 Feb 2012 at 7:05

GoogleCodeExporter commented 9 years ago
You also need to install the sagex-services plugin for remote API access.  Then 
you'll have access to an RMI service if you're using Java or an HTTP interface 
to the APIs if using other languages.

Original comment by de...@battams.ca on 4 Feb 2012 at 3:59