From patchwork Thu May 26 15:02:50 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Huelswitt X-Patchwork-Id: 11892 Received: from wp012.webpack.hosteurope.de ([80.237.132.19]) by www.linuxtv.org with esmtp (Exim 4.34) id 1DbJt9-00037C-4S for vdr@linuxtv.org; Thu, 26 May 2005 17:03:11 +0200 Received: by wp012.webpack.hosteurope.de running Exim 4.43 using esmtpsa (TLSv1:DES-CBC3-SHA:168) from ip102.53.1411d-cud12k-02.ish.de ([62.143.53.102] helo=video.local.muempf.de) id 1DbJsz-0000eL-9w; Thu, 26 May 2005 17:03:01 +0200 Received: from video.local.muempf.de (localhost [127.0.0.1]) by video.local.muempf.de (8.12.6/8.12.6/SuSE Linux 0.6) with ESMTP id j4QF2ooF002062 for ; Thu, 26 May 2005 17:02:50 +0200 Received: (from news@localhost) by video.local.muempf.de (8.12.6/8.12.6/Submit) id j4QF2oKF002061 for vdr@linuxtv.org; Thu, 26 May 2005 17:02:50 +0200 To: vdr@linuxtv.org Path: not-for-mail From: s.huelswitt@gmx.de (Stefan Huelswitt) Newsgroups: local.linux.vdr Date: Thu, 26 May 2005 15:02:50 +0000 (UTC) Organization: Home, sweet home Lines: 28 Sender: nathan@gmx.de Message-ID: NNTP-Posting-Host: master.local.muempf.de Mime-Version: 1.0 X-Trace: video.local.muempf.de 1117119770 22671 192.168.1.1 (26 May 2005 15:02:50 GMT) X-Complaints-To: s.huelswitt@gmx.de NNTP-Posting-Date: Thu, 26 May 2005 15:02:50 +0000 (UTC) X-Newsreader: knews 1.0b.1 Subject: [vdr] Patch to fix SVDR LSTR X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 15:03:11 -0000 Status: O X-Status: X-Keywords: X-UID: 2493 Hi, I found that recordings with a name ending in a space are not correctly reported by the LSTR command. This is because after creating the output line any trailing spaces are stripped. Recording names with a trailing space are e.g. created by VDR itselfs for repeating timers when there is not EPG subtitle available. This patch fixes the problem: Regards. --- recording.c.orig 2005-05-07 17:25:15.000000000 +0200 +++ recording.c 2005-05-26 16:57:44.000000000 +0200 @@ -513,7 +513,6 @@ Delimiter, s); // let's not display a trailing '~': - stripspace(titleBuffer); s = &titleBuffer[strlen(titleBuffer) - 1]; if (*s == '~') *s = 0;