diff options
author | horchi <vdr@jwendel.de> | 2017-12-21 18:23:43 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-12-21 18:23:43 +0100 |
commit | 1fb464434a00a74bfb9ca50350d860718419c663 (patch) | |
tree | a132c850e36a7cd70cf1effcc9d1ea3da3705ee4 /recording.c | |
parent | 6c5b1d1729ddec6b4815e5f4115544e0c9f47ac3 (diff) | |
download | vdr-plugin-epg2vdr-1fb464434a00a74bfb9ca50350d860718419c663.tar.gz vdr-plugin-epg2vdr-1fb464434a00a74bfb9ca50350d860718419c663.tar.bz2 |
fixed bug with field definition
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recording.c b/recording.c index 04b620e..1d0a840 100644 --- a/recording.c +++ b/recording.c @@ -361,7 +361,7 @@ int cUpdate::updateRecordingTable(int fullReload) int eventId = 0; std::string channelId = ""; const char* description = ""; - const char* longdescription = ""; +// const char* longdescription = ""; const char* title = rec->Name(); const cRecordingInfo* recInfo = rec->Info(); int pathOffset = 0; @@ -403,8 +403,8 @@ int cUpdate::updateRecordingTable(int fullReload) if (!isEmpty(recInfo->GetEvent()->Aux()) && xml.set(recInfo->GetEvent()->Aux()) == success) { - if (XMLElement* e = xml.getElementByName("longdescription")) - longdescription = e->GetText(); + // if (XMLElement* e = xml.getElementByName("longdescription")) + // longdescription = e->GetText(); } } } @@ -433,8 +433,8 @@ int cUpdate::updateRecordingTable(int fullReload) recordingListDb->setValue("CHANNELID", channelId.c_str()); recordingListDb->setValue("FSK", fsk); - if (!isEmpty(longdescription)) - recordingListDb->setValue("ORGDESCRIPTION", longdescription); // since 'LONGDESCRIPTION' already used for 'DESCRIPTION' :( + // if (!isEmpty(longdescription)) + // recordingListDb->setValue("ORGDESCRIPTION", longdescription); // since 'LONGDESCRIPTION' already used for 'DESCRIPTION' :( if (channel) recordingListDb->setValue("CHANNELNAME", channel->Name()); |