From patchwork Sun May 29 22:56:10 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: 11895 Received: from wproxy.gmail.com ([64.233.184.194]) by www.linuxtv.org with esmtp (Exim 4.34) id 1DcWiD-0005qH-Oa for vdr@linuxtv.org; Mon, 30 May 2005 00:56:53 +0200 Received: by wproxy.gmail.com with SMTP id 69so1672746wra for ; Sun, 29 May 2005 15:56:22 -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:references:in-reply-to:x-enigmail-version:x-enigmail-supports:content-type:from; b=rNMtNqbffBXERiQJmf9lKlGNPASUl1uMeQqrbTXzULQfJ8mKhDsi/ZXMB3Re7InEovNJ3aE2EwSHjWz1yzfh+Fxn1c7KhlhXOoX2nd3BJRXI67LciOYp7DIZqKSmW+g2TXAPmmApQ7mseoY40MzCDN9BjCCJIMO7RV/9fpSbS8I= Received: by 10.54.5.47 with SMTP id 47mr996536wre; Sun, 29 May 2005 15:56:22 -0700 (PDT) Received: from nofear.bounceme.net ([4.246.108.120]) by mx.gmail.com with ESMTP id d8sm392124wra.2005.05.29.15.56.19; Sun, 29 May 2005 15:56:22 -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 4551A73534 for ; Sun, 29 May 2005 15:56:08 -0700 (PDT) Message-ID: <429A488A.9060803@syphir.sytes.net> Date: Sun, 29 May 2005 15:56:10 -0700 Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Patches for Streamdev and Burn plugins References: <429A18C8.7040605@syphir.sytes.net> In-Reply-To: <429A18C8.7040605@syphir.sytes.net> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime From: "C.Y.M" 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 22:56:53 -0000 Status: O X-Status: X-Keywords: X-UID: 2588 C.Y.M wrote: > This seems to fix the issue with Summary() > Sorry, I accidentally used Title instead of Description. Regards, --- burn/jobs.c.orig 2005-05-29 12:28:44.000000000 -0700 +++ burn/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()->Description() ? strdup(Recording->Info()->Description()) : NULL); mTempDir = NULL; mTimestamp = Timestamp; mNumber = -1; --- 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()->Description()) { + char *summary = strdup(recording->Info()->Description()); Reply(250, "%s", strreplace(summary,'\n','|')); free(summary); }