From patchwork Wed Apr 11 03:46:19 2007 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linux TV X-Patchwork-Id: 12450 Received: from server30.ukservers.net ([217.10.138.207]) by www.linuxtv.org with esmtp (Exim 4.50) id 1HbTnJ-0005Vs-Uj for vdr@linuxtv.org; Wed, 11 Apr 2007 05:46:53 +0200 Received: from server30.ukservers.net (localhost.localdomain [127.0.0.1]) by server30.ukservers.net (Postfix smtp) with ESMTP id 8DB2559C04B for ; Wed, 11 Apr 2007 04:49:14 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by server30.ukservers.net (Postfix smtp) with ESMTP id 5FB6459C034; Wed, 11 Apr 2007 04:49:14 +0100 (BST) Received: from 203.144.32.165 (proxying for 203.144.37.71, 203.144.32.165) (SquirrelMail authenticated user linuxtv@nzbaxters.com) by server27.ukservers.net with HTTP; Wed, 11 Apr 2007 04:46:19 +0100 (BST) Message-ID: <52481.203.144.32.165.1176263179.squirrel@server27.ukservers.net> In-Reply-To: <48677.203.144.32.165.1176248069.squirrel@server27.ukservers.net> References: <48677.203.144.32.165.1176248069.squirrel@server27.ukservers.net> Date: Wed, 11 Apr 2007 04:46:19 +0100 (BST) Subject: Re: [vdr] xmltv2vdr 1.0.6 "channel=" problems (RESOLVED) From: "Simon Baxter" To: "VDR Mailing List" Cc: vdr@linuxtv.org User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 03:46:54 -0000 Status: O X-Status: X-Keywords: X-UID: 12630 > I'm now getting my xml EPG from a different source, and am having problems > getting the perl script to run properly. My perl knowledge is poor (to > say the least!!) > > > The problem is, the epg xml I'm getting has the "channel=" at the wrong > end of the " > So instead of: > channel="1031.dvb.guide"> > > it has : > stop="20070412061000 +1200"> > DONE: $vdrst = &xmltime2vdr($xmlst, $adjust); $vdret = &xmltime2vdr($xmlet, $adjust); $vdrdur = $vdret - $vdrst; amazing what happens when you stare at a piece of code long enough... :P --- xmltv2vdr.pl 2006-08-17 04:35:33.000000000 +1200 +++ xmltv2vdr_SBB.pl 2007-04-11 14:16:14.000000000 +1200 @@ -187,7 +187,7 @@ if ( ($xmlline =~ /\