From patchwork Sun May 29 19:32:24 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: 11894 Received: from wproxy.gmail.com ([64.233.184.207]) by www.linuxtv.org with esmtp (Exim 4.34) id 1DcTX0-0007KI-4k for vdr@linuxtv.org; Sun, 29 May 2005 21:33:06 +0200 Received: by wproxy.gmail.com with SMTP id 69so1633562wra for ; Sun, 29 May 2005 12:32:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:disposition-notification-to:date:reply-to:organization:user-agent:x-accept-language:mime-version:to:subject:x-enigmail-version:x-enigmail-supports:content-type:from; b=C53hY/FGZE/gaQxWORlCEGeZA2Y1PB3q/pz5pgEWJPiBD8oK3ySnokes5u/Jt9LP4QkbRvpDLqgi8T79ivg5zVlU0L/bJw/3SuwgewgTpe/pZlLlAq+rKuIYQhpm4WKGnatwBLkrfhAUmyUasQBpp17qlrEwiNRtRf8Ug7WcDvM= Received: by 10.54.145.15 with SMTP id s15mr2023723wrd; Sun, 29 May 2005 12:32:34 -0700 (PDT) Received: from nofear.bounceme.net ([4.246.12.63]) by mx.gmail.com with ESMTP id d8sm345652wra.2005.05.29.12.32.33; Sun, 29 May 2005 12:32:34 -0700 (PDT) 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 849AA73534 for ; Sun, 29 May 2005 12:32:22 -0700 (PDT) Message-ID: <429A18C8.7040605@syphir.sytes.net> Date: Sun, 29 May 2005 12:32:24 -0700 Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vdr X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime From: "C.Y.M" Subject: [vdr] Patches for Streamdev and Burn plugins 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: Sun, 29 May 2005 19:33:06 -0000 Status: O X-Status: X-Keywords: X-UID: 2580 This seems to fix the issue with Summary() Regards, --- streamdev/server/connectionVTP.c.orig 2005-05-29 12:20:40.000000000 -0700 +++ streamdev/server/connectionVTP.c 2005-05-29 12:25:30.000000000 -0700 @@ -369,8 +369,8 @@ if (isnumber(Option)) { cRecording *recording = Recordings.Get(strtol(Option, NULL, 10) - 1); if (recording) { - if (recording->Summary()) { - char *summary = strdup(recording->Summary()); + if (recording->Info()->Title()) { + char *summary = strdup(recording->Info()->Title()); Reply(250, "%s", strreplace(summary,'\n','|')); free(summary); } --- jobs.c.orig 2005-05-29 12:28:44.000000000 -0700 +++ jobs.c 2005-05-29 12:29:58.000000000 -0700 @@ -23,7 +23,7 @@ char *ptr, *tmp; mFileName = strdup(Recording->FileName()); strncpy(mName, Recording->Name(), JOBNAMELEN); - mSummary = (Recording->Summary() ? strdup(Recording->Summary()) : NULL); + mSummary = (Recording->Info()->Title() ? strdup(Recording->Info()->Title()) : NULL); mTempDir = NULL; mTimestamp = Timestamp; mNumber = -1;