Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] [patch] Stop Recording entry
This little patch allows to single card owner to stop recordings from
timers in the main menu.
I haven't tested very much, but seems work with a single card
----------cut here
--- menu.c.orig 2003-05-26 23:39:22.000000000 +0200
+++ menu.c 2003-05-27 00:06:13.000000000 +0200
@@ -3407,8 +3407,10 @@
timer = new cTimer(true);
Timers.Add(timer);
Timers.Save();
- asprintf(&instantId, cDevice::NumDevices() > 1 ? "%s - %d" : "%s", timer->Channel()->Name(), device->CardIndex() + 1);
}
+
+ asprintf(&instantId, cDevice::NumDevices() > 1 ? "%s - %d" : "%s", timer->Channel()->Name(), device->CardIndex() + 1);
+
timer->SetPending(true);
timer->SetRecording(true);
----------
Ciao Uberto
mailto:uberto@ubiland.net
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index