[mythtv-users] Sending recordings info over email?

2005-08-24 Thread Allan Kogerma
Hi

Does MythTV have plugin for that  (or some 3'rd part solution)?
I'm familiar with Web plugin. Some times when I'm out and have only mobile with 
me, it's easy to send email over WAP to setup new recording.

I know how to parse parameters from mail body 
(channle,date,time,begin_time,end_time etc))but need info how tu set up 
scheduled recording in myth.

Is there any command line syntax (sample) avaible ?

Br,
Allan


-
ITV - Sinu lemmiksaated internetis!
http://www.itv.ee

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Sending recordings info over email?

2005-08-24 Thread Jens Baumeister
On 8/24/05, Allan Kogerma [EMAIL PROTECTED] wrote:

 I know how to parse parameters from mail body 
 (channle,date,time,begin_time,end_time etc))but need info how tu set up 
 scheduled recording in myth.
 
 Is there any command line syntax (sample) avaible ?

I don't think there's a CLI interface for myth - you could try hacking
up a copy of the relevant PHP page from mythweb to turn it into a CLI
script, though.

Jens
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Sending recordings info over email?

2005-08-24 Thread Joshua King
I believe there might be some Python code somewhere that you could look at
(I think you could look at either the xbox media center or MythTV for Media
MVP to find it I can't remember where it was mentioned).

The PHP code is probably a good idea -- get the SQL query and push it
through the mysql command if you want a command line, then you might need to
tell the backend to reschedule recordings (not sure if this is necessary, I
think you only need to do this if you change the program guide).

But the main reason I wrote is to say if you get this working, please let
the group know because I'd dearly love to have this functionality too (it's
on my admittedly very long list of things to do over the summer).

Joshua


Send instant messages to your online friends http://au.messenger.yahoo.com 
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Sending recordings info over email?

2005-08-24 Thread Joshua King
On 24/8/05 7:56 PM, Allan Kogerma [EMAIL PROTECTED] wrote:

 
 I know how to parse parameters from mail body
 (channle,date,time,begin_time,end_time etc))but need info how tu set up
 scheduled recording in myth.
 
 Is there any command line syntax (sample) avaible ?
 

Might have found what you're looking for. Have a look at:
http://cvs.mythtv.org/trac/browser/trunk/mythplugins/mythweb/includes/record
ing_schedules.php
Lines 225-258 are the SQL query that you'd pipe into mysql.

http://cvs.mythtv.org/trac/browser/trunk/mythplugins/mythweb/schedule_manual
ly.php
Is the manual schedule interface for mythweb.

You could probably leave most of the parameters to the SQL query with fixed
sensible values (have a look at what's in your database currently).

Hope this is a starting point for you.

Joshua King


Send instant messages to your online friends http://au.messenger.yahoo.com 
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users