Patches for Streamdev and Burn plugins
Commit Message
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;
@@ -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);
}