qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Hetz Ben Hamo" <hetzbh@gmail.com>
To: qemu-devel@nongnu.org
Cc: iain@imcfarla.homelinux.net
Subject: Re: [Qemu-devel] Enable Recording with mythtv protocol 32 to 35 (at least)
Date: Sun, 30 Dec 2007 23:35:24 +0200	[thread overview]
Message-ID: <41e41e7a0712301335y2d967ea8uc557f71f1ca8bead@mail.gmail.com> (raw)
In-Reply-To: <200712301722.58872.iain@imcfarla.homelinux.net>

Hi,

Are you sure you've sent it to correct mailing list? :)

Thanks,
Hetz

On Dec 30, 2007 7:22 PM, Iain McFarlane <iain@imcfarla.homelinux.net> wrote:
> Hi all,
>
> This patch allows mvpmc to schedule recordings with Mythtv protocol 32 to 35 (and may do 36 but I haven't got a backend at that level to test)
>
> Signed-off-by: Iain McFarlane <iain@imcfarla.homelinux.net>
>
> Regards,
>
> Iain
>
> --- src/mythtv.c.orig   2007-12-29 09:21:39.000000000 +0000
> +++ src/mythtv.c        2007-12-30 15:22:20.000000000 +0000
> @@ -3130,6 +3130,35 @@
>                                         '0')", \
>                                         sqlprog[which].seriesid,sqlprog[which].programid,(int)sqlprog[which].starttime,(int)sqlprog[which].starttime,(int)sqlprog[which].starttime);
>                                 break;
> +                       case 32 ... 35:
> +                               sprintf(query, "REPLACE INTO record ( \
> +                                       recordid,type,chanid,starttime,startdate,endtime, \
> +                                       enddate,search,\
> +                                       title,\
> +                                       subtitle, \
> +                                       description, \
> +                                       profile,recpriority,category,maxnewest,inactive,maxepisodes, \
> +                                       autoexpire,startoffset,endoffset,recgroup,dupmethod,dupin, \
> +                                       station,\
> +                                       seriesid,programid,autocommflag,findday,findtime,findid, \
> +                                       autotranscode,parentid,transcoder,tsdefault,autouserjob1,autouserjob2,autouserjob3, \
> +                                       autouserjob4,playgroup,prefinput, \
> +                                       next_record,last_record,last_delete) values \
> +                                       ('%s','%d','%d',FROM_UNIXTIME(%d), \
> +                                        FROM_UNIXTIME(%d), FROM_UNIXTIME(%d), \
> +                                        FROM_UNIXTIME(%d),'',", recordid,
> +                                       type, sqlprog[which].chanid,
> +                                       (int)sqlprog[which].starttime,
> +                                       (int)sqlprog[which].starttime,
> +                                       (int)sqlprog[which].endtime,
> +                                       (int)sqlprog[which].endtime);
> +                               sprintf(query1, " ,'Default','0','%s','0','0','0','0', '%s', '%s','%s','6','15',", sqlprog[which].category,startoffset,endoffset,sqlrecgroups[rgroup].recgroups);
> +                               sprintf(query2,",'%s','%s','1',DAYOFWEEK(FROM_UNIXTIME(%d)),FROM_UNIXTIME(%d),TO_DAYS(FROM_UNIXTIME(%d)), \
> +                                       '0','0','0','1.00','0','0','0', \
> +                                       '0','0','0', \
> +                                       '00:00:00','00:00:00','00:00:00')", \
> +                                       sqlprog[which].seriesid,sqlprog[which].programid,(int)sqlprog[which].starttime,(int)sqlprog[which].starttime,(int)sqlprog[which].starttime);
> +                               break;
>                         default:
>                                 sprintf(guierrormsg, "No MythTV SQL support\nMythTV version: %d\n", cmyth_conn_get_protocol_version(control));
>                                 gui_error(guierrormsg);
>
>
>



-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

      reply	other threads:[~2007-12-30 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-30 17:22 [Qemu-devel] Enable Recording with mythtv protocol 32 to 35 (at least) Iain McFarlane
2007-12-30 21:35 ` Hetz Ben Hamo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41e41e7a0712301335y2d967ea8uc557f71f1ca8bead@mail.gmail.com \
    --to=hetzbh@gmail.com \
    --cc=iain@imcfarla.homelinux.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).