From patchwork Thu Oct 20 18:03:19 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12065 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1ESejx-0006VR-Tb for vdr@linuxtv.org; Thu, 20 Oct 2005 20:02:10 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id BF00F73534 for ; Thu, 20 Oct 2005 11:01:33 -0700 (PDT) Message-ID: <4357DBE7.9070702@syphir.sytes.net> Date: Thu, 20 Oct 2005 11:03:19 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vdr X-Enigmail-Version: 0.92.1.0 Subject: [vdr] patches for undelete-0.0.3 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, 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, 20 Oct 2005 18:02:10 -0000 Status: O X-Status: X-Keywords: X-UID: 5580 It appears that the new undelete-0.0.3 requires some patches. Regards, diff -ruN undelete-0.0.3/menuundelete.c vdr-1.3.34-eepg/PLUGINS/src/undelete-0.0.3/menuundelete.c --- undelete-0.0.3/menuundelete.c.orig 2005-10-04 05:35:36.000000000 -0700 +++ undelete-0.0.3/menuundelete.c 2005-10-20 10:23:07.000000000 -0700 @@ -195,7 +195,7 @@ { cRecording *recording = GetRecording(ri); #if VDRVERSNUM >= 10325 - SetHelp(NULL, tr("Undelete"), tr("Delete"), (recording && recording->Info()->Title() && *recording->Info()->Title()) ? tr("Summary") : NULL); + SetHelp(NULL, tr("Undelete"), tr("Delete"), (recording && recording->Info()->Description() && *recording->Info()->Description()) ? tr("Info") : NULL); #else SetHelp(NULL, tr("Undelete"), tr("Delete"), (recording && recording->Summary() && *recording->Summary()) ? tr("Summary") : NULL); #endif @@ -295,23 +295,19 @@ { cRecording *recording = GetRecording(ri); #if VDRVERSNUM >= 10325 - if (recording && recording->Info()->Title() && *recording->Info()->Title()) + if (recording && recording->Info()->Description() && *recording->Info()->Description()) #else if (recording && recording->Summary() && *recording->Summary()) #endif #if VDRVERSNUM >= 10307 #if VDRVERSNUM >= 10325 - return AddSubMenu(new cMenuText(tr("Summary"), recording->Info()->Title())); + return AddSubMenu(new cMenuText(tr("Info"), recording->Info()->Description())); #else return AddSubMenu(new cMenuText(tr("Summary"), recording->Summary())); #endif #else -#if VDRVERSNUM >= 10325 - return AddSubMenu(new cMenuItemText(tr("Summary"), recording->Info()->Title())); -#else return AddSubMenu(new cMenuItemText(tr("Summary"), recording->Summary())); #endif -#endif } return osContinue; }