Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Fw: Message submitted to 'vdr'




----- Original Message -----
From: "Listar" <listar@convergence.de>
To: <vdr-moderators@linuxtv.org>
Sent: Saturday, March 02, 2002 12:42 PM
Subject: Message submitted to 'vdr'


> This message was received for a list you are a moderator on, and
> was marked for moderation due to the following reason:
> Non-member submission to closed-post list.
>
> To approve this message and have it go out on the list, forward this
to
> vdr-repost@linuxtv.org
>
> If you wish to decline the post, change the 'apppost' below to
'delpost'.
> If you wish to edit the post, change it to 'modpost' and edit the
message
> as needed - not all mail programs will work with modpost.
>
> DO NOT DELETE THE FOLLOWING LINE.  Listar needs it.
> // apppost 3C80BA8C:1DBE.1:iqe
>
> From richard.cieply@web.de Sat Mar 02 12:42:04 2002
> Received: from smtp02.web.de ([217.72.192.151] helo=smtp.web.de)
> by chambertin.convergence.de with  esmtp (Exim 3.33 #2 )
> id 16h7ts-0001p6-00
> for <vdr@linuxtv.org>; Sat, 02 Mar 2002 12:42:04 +0100
> Received: from a1as16-p136.stg.tli.de ([195.252.192.136] helo=web.de)
> by smtp.web.de with asmtp (WEB.DE(Exim) 4.29 #47)
> id 16h7tN-00035U-00
> for vdr@linuxtv.org; Sat, 02 Mar 2002 12:41:33 +0100
> Message-ID: <3C80BA6D.90404@web.de>
> Date: Sat, 02 Mar 2002 12:41:33 +0100
> From: Richard Cieply <richard.cieply@web.de>
> User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18)
Gecko/20010110 Netscape6/6.5
> X-Accept-Language: de-de, en-us
> MIME-Version: 1.0
> To: vdr <vdr@linuxtv.org>
> Subject: master-timer, timer names in TITLE~SUBTITLE format
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> Sender: richard.cieply@web.de
>
> Hi list,
>
> as the new formula 1 season starts soon I used master-timer to record
> all formula 1 on RTL ( yes I know, it' crazy ;-> )
> Unfortunetly RTL has chosen a ':' in the title like "Formel I: Rennen"
> and so on.
> The epg bugfix in parseepgdata.pl convertst this to title = "Formel I"
> and subtitle = "Rennen".
> This seems feasible to me.
>
> One could remove this bugfix in such that the above title results in a
> timer with title = "Formel I: Das Rennen".
> But however transfertimer.pl passes the timers via SVDRP and there the
> ':' is used as a token delimiter -> the above timer is programmed with
> the title "Formel I".
> This results in multiple "Formel I" (with no addition sub) timer
entries
> so it's cumbersome to see what the recordings really are.
> Since I'm very lazy I don't want to programm multiple entries in
> torecord each maching a "Formel I" subcategory like "Rennen",
> "Qualifying" and so on. I would like to program timers with the
> TITLE/SUBTITLE scheme like vdr does.
>
> Therefor I use the following scheme (it's quite quick and dirty):
> In to record I define "Timertitle" = TITLE~SUB.
> I modified processprogram.pl to check if Timertitle was set in
torecord
>     and if it is equal to "TITLE~SUB".
> If so the timertitle is set to TITLE~SUBTITLE giving the recording a
> directory structure like "Formel I"->"Rennen".
> If subtitle is not set in the epg-data then timertitle is simply set
to
> TITLE.
>
> here is the patch (2nd chunk):
> --- processprogram.pl.bak       Fri Mar  1 16:26:09 2002
> +++ processprogram.pl   Fri Mar  1 19:30:50 2002
> @@ -74,7 +74,7 @@
>           $rPEntry = $$rProgram{$title}{$channel}{$time};
>
>           # If already tested, or done, or blacklisted then next
> -       if ( $$rPEntry{torecord} || $$rPEntry{done} ||
> $$rPEntry{deepblack} == 2) {
> +       if ( $$rPEntry{torecord} || $$rPEntry{done} ||
> ($$rPEntry{deepblack} && ($$rPEntry{deepblack} == 2))) {
>             next;
>           }
>
> @@ -107,7 +107,13 @@
>
>             # What Title to use for the timer
>             if ($$rToEntry{timertitle}) {
> -           $timertitle = $$rToEntry{timertitle}
> +            if ($$rToEntry{timertitle} =~ /^TITLE~SUB$/) {
> +              $timertitle = $title;
> +              $timertitle .= "~" . $$rPEntry{subtitle} if
> ($$rPEntry{subtitle});
> +            }
> +            else {
> +             $timertitle = $$rToEntry{timertitle}
> +            }
>             }
>             else {
>               $timertitle = $title;
>
> The first chunk only removes some warnings during processing.
>
> Have fun.
>     Richard
>
>
>
> // eompost 3C80BA8C:1DBE.1:iqe
>
>
>




Home | Main Index | Thread Index