summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-03-09 17:38:03 +0100
committerhorchi <vdr@jwendel.de>2018-03-09 17:38:03 +0100
commitbc845e984ba0790bb160c80578ed8ddde2637735 (patch)
treefd0634486fac759ec9a44e3a58795258a6cc2519 /menu.c
parentf7db728bcfa4d1663b07873bfa364ccbb9bfb1ce (diff)
downloadvdr-plugin-epg2vdr-1.1.93.tar.gz
vdr-plugin-epg2vdr-1.1.93.tar.bz2
2018-03-09 version 1.1.93 (horchi)\n - added: Menu for matching 'jobs' (timersdone) of search timer results, with delete option\n - added: some german translations\n - added: optional (configurable) osd notification on timer change\n\n1.1.93
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/menu.c b/menu.c
index a9360dd..a1ae23f 100644
--- a/menu.c
+++ b/menu.c
@@ -359,6 +359,7 @@ int cMenuDb::initDb()
selectRecordingForEventByLv->build("select ");
selectRecordingForEventByLv->bindAllOut();
+ // selectRecordingForEventByLv->bindTextFree(", epglvr(title, ?)", recordingListDb->getValue("TITLE"), cDBS::bndIn); -> core :o
selectRecordingForEventByLv->build(" from %s where ", recordingListDb->TableName());
selectRecordingForEventByLv->build(" (%s <> 'D' or %s is null)",
recordingListDb->getField("STATE")->getDbName(),
@@ -653,7 +654,7 @@ int cMenuDb::modifyTimer(cDbRow* timerRow, const char* destUuid, char destType)
if (knownTimer)
{
timerDb->clear();
- timerDb->copyValues(timerRow, cDBS::ftPrimary);
+ timerDb->getRow()->copyValues(timerRow, cDBS::ftPrimary);
if (!timerDb->find())
{
@@ -678,7 +679,7 @@ int cMenuDb::modifyTimer(cDbRow* timerRow, const char* destUuid, char destType)
// create new on other vdr
- timerDb->copyValues(timerRow, cDBS::ftData); // takeover all data (can be modified by user)
+ timerDb->getRow()->copyValues(timerRow, cDBS::ftData); // takeover all data (can be modified by user)
timerDb->setValue("ID", 0); // don't care on insert!
timerDb->setValue("VDRUUID", destUuid);
timerDb->setCharValue("ACTION", taCreate);
@@ -693,7 +694,7 @@ int cMenuDb::modifyTimer(cDbRow* timerRow, const char* destUuid, char destType)
{
// create 'C'reate oder 'M'odify request ...
- timerDb->copyValues(timerRow, cDBS::ftData);
+ timerDb->getRow()->copyValues(timerRow, cDBS::ftData);
timerDb->setCharValue("ACTION", knownTimer ? taModify : taCreate);
timerDb->getValue("STATE")->setNull();
@@ -766,7 +767,7 @@ int cMenuDb::createTimer(cDbRow* timerRow, const char* destUuid, int type)
// Timer 'C'reate request ...
timerDb->clear();
- timerDb->copyValues(timerRow, cDBS::ftData);
+ timerDb->getRow()->copyValues(timerRow, cDBS::ftData);
timerDb->setValue("VDRUUID", destUuid);
timerDb->setCharValue("TYPE", type);