Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

|
|
Source code |
1 2 3 4 |
cd /tmp /etc/init.d/ vdr stop ulimit -c unlimited /etc/init.d/ vdr start |

This post has been edited 1 times, last edit by "C-3PO" (Oct 21st 2008, 5:13pm)
Quoted
Original von prudentis
Hallo horchi,
Danke fürs bereitstellen, läuft unter EasyVDR 0.6
fertig kompiliert: http://www.easy-vdr.de/forum/index.php?topic=5612.0
lg prudentis
ps: mein Problem von der letzten Version ist damit auch gelöst![]()
Quoted
Original von prudentis
...epgsearch ist klar, nur wwas muss am VDR gepatcht werden ???
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
--- /usr/src/plain/vdr-1.7.0//menu.c 2008-09-27 06:59:35.000000000 +0200
+++ menu.c 2008-09-27 14:07:41.000000000 +0200
@@ -1510,6 +1511,7 @@
virtual eOSState ProcessKey(eKeys Key);
#ifdef USE_GRAPHTFT
virtual const char* MenuKind() { return now ? "MenuWhatsOnNow" : "MenuWhatsOnNext"; }
+ virtual void Display(void);
#endif /* GRAPHTFT */
};
@@ -1546,6 +1548,20 @@
SetHelpKeys();
}
+#ifdef USE_GRAPHTFT
+void cMenuWhatsOn::Display(void)
+{
+ cOsdMenu::Display();
+
+ if (Count() > 0) {
+ int ni = 0;
+ for (cOsdItem *item = First(); item; item = Next(item)) {
+ cStatus::MsgOsdEventItem(((cMenuScheduleItem*)item)->event, item->Text(), ni++, Count());
+ }
+ }
+}
+#endif /* GRAPHTFT */
+
bool cMenuWhatsOn::Update(void)
{
bool result = false;
@@ -1688,6 +1704,7 @@
virtual eOSState ProcessKey(eKeys Key);
#ifdef USE_GRAPHTFT
virtual const char* MenuKind() { return "MenuSchedule"; }
+ virtual void Display(void);
#endif /* GRAPHTFT */
};
@@ -1714,6 +1731,20 @@
cMenuWhatsOn::ScheduleEvent(); // makes sure any posted data is cleared
}
+#ifdef USE_GRAPHTFT
+void cMenuSchedule::Display(void)
+{
+ cOsdMenu::Display();
+
+ if (Count() > 0) {
+ int ni = 0;
+ for (cOsdItem *item = First(); item; item = Next(item)) {
+ cStatus::MsgOsdEventItem(((cMenuScheduleItem*)item)->event, item->Text(), ni++, Count());
+ }
+ }
+}
+#endif /* GRAPHTFT */
+
void cMenuSchedule::PrepareScheduleAllThis(const cEvent *Event, const cChannel *Channel)
{
Clear();
--- /usr/src/plain/vdr-1.7.0//status.c 2008-09-27 06:59:35.000000000 +0200
+++ status.c 2008-09-27 14:06:44.000000000 +0200
@@ -201,5 +201,11 @@
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
sm->OsdMenuDestroy();
}
+
+void cStatus::MsgOsdEventItem(const cEvent* Event, const char *Text, int Index, int Count)
+{
+ for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
+ sm->OsdEventItem(Event, Text, Index, Count);
+}
#endif /* GRAPHTFT */
--- /usr/src/plain/vdr-1.7.0//status.h 2008-09-27 06:59:35.000000000 +0200
+++ status.h 2008-09-27 14:06:16.000000000 +0200
@@ -109,6 +109,9 @@
// report menu creation
virtual void OsdMenuDestroy() {}
// report menu destruvtion
+ virtual void OsdEventItem(const cEvent* Event, const char *Text, int Index, int Count) {}
+ // The OSD displays the given single line Event as menu item at Index.
+
#endif /* GRAPHTFT */
public:
@@ -146,6 +149,7 @@
static void MsgOsdSetRecording(const cRecording* recording);
static void MsgOsdMenuDisplay(const char* kind);
static void MsgOsdMenuDestroy();
+ static void MsgOsdEventItem(const cEvent* Event, const char *Text, int Index, int Count);
#endif /* GRAPHTFT */
};
|

This post has been edited 1 times, last edit by "C-3PO" (Oct 21st 2008, 7:28pm)
Quoted
/usr/src/plain/vdr-1.7.0//menu.c
This post has been edited 1 times, last edit by "data" (Oct 21st 2008, 8:44pm)
Quoted
Hi prudentis, das Patch muss für andere VDR Versionen angepasst werden. Hast Du die Mail von mir bekommen? gruß data
This post has been edited 1 times, last edit by "Taipan" (Oct 23rd 2008, 7:10pm)
Quoted
Original von data
Hi Taipan,
was es nicht alles gibt.
Nein, Taipan. Das ist nicht nur bei Dir so. Ich kann das bei mir auch nachvollziehen.
Scheint ein Fall für horchi zu sein.
Gruß
data
This post has been edited 1 times, last edit by "prudentis" (Oct 24th 2008, 5:32pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
Plugin graphtft: make[1]: Betrete Verzeichnis '/usr/local/src/vdr-1.7.0/PLUGINS/src/graphtft-0.2.1' g++ -g -O2 -Wall -Woverloaded-virtual -fPIC -g -ggdb -O0 -c -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PLUGINMISSING -DUSE_PREMIEREEPGFIX -DUSE_SETTIME -DUSE_SORTRECORDS -DUSE_TIMERINFO -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"graphtft"' -DHAVE_IMAGE_MAGICK -DHAVE_IMLIB -DWITH_SYSINFO -DWITH_TCP_COM -DHAVE_DFB -DHAVE_FFMPEG -DHAVE_SWSCALE -I/usr/local/src/multiproto_plus/linux/include -I../../../include -I/usr/local/src/multiproto_plus/linux/include -I. -I./imlibrenderer -I./imlibrenderer/fbrenderer -I./imlibrenderer/dvbrenderer -I./dfbrenderer -I./imlibrenderer/dmyrenderer `pkg-config libgtop-2.0 --cflags` -I/src `directfb-config --cflags` -I/usr/include/ffmpeg -o dspitems.o dspitems.c In file included from dspitems.c:16: ./theme.h: In constructor »Scan::Scan(const char*)«: ./theme.h:42: Warnung: Format ist kein Zeichenkettenliteral, und keine Formatargumente dspitems.c: In member function »const char* cDisplayItem::lookupVariable(const char*)«: dspitems.c:275: Fehler: »const class cRecordingInfo« hat kein Element namens »EventID« make[1]: *** [dspitems.o] Fehler 1 make[1]: Verlasse Verzeichnis '/usr/local/src/vdr-1.7.0/PLUGINS/src/graphtft-0.2.1' |
