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 5 6 7 8 9 10 11 12 13 14 15 |
#15 Version 0.0.12, horchi
- added own thread for the tcp communication
#14 Version 0.0.11b, horchi
- New sections WhatsOnNow, WatchsOnNext and WhatsOnElse for epgsearch
WhatsOnElse is the smae than WhatsOn (only a epgseach compatible name)
- New section MenuSetupPage
#13 Version 0.0.11, horchi
- fixed typo 'transperents' in theme, transitional both spellings
can be used.
#12 Version 0.0.10b, horchi
- added parting line handling for epgsearch
- added tcp communication for X frontend
|
|
|
Source code |
1 2 3 |
tar xvjf graphtft-fe-0.0.1.tar.bz2 cd graphtft-fe ./build |
|
|
Source code |
1 |
graphtft-fe -h vdr-host [-p port] |
This post has been edited 2 times, last edit by "horchi" (Nov 2nd 2006, 4:25pm)


Quoted
Original von horchi
Als nächsten Schritt möchte ich statt dem Bild die einzelnen Elemente mit dem Frontend kommunizieren und ggf auch eine Tastatur/Maus Bedienung einbauen.
Grüße Horchi
Quoted
Original von Uatschitchun
Wie "störend" wirken sich die Patches für VDR und EPGSearch aus, wenn das Plugin nicht genutzt wird?
Meine Frage zielt in Richtung der gängigen Distributionen ... z.B. ctvdr ...
Quoted
Hier wird wahrscheinlich die Entwicklung erstmal abzuwarten sein ... oder stehen die Patches schon jetzt und verändern sich auch nicht mehr?
Quoted
Original von mig
bin genauso begeistert das es weitergeht...
ein wunsch von mir wäre ein patch für das span plugin, damit wäre das graphtft plugin für mich perfekt.
Quoted
Original von duc
hallo horchi,
erst mal vielen herzlichen dank für die neue version.
in der doku habe ich nichts bezüglich der neuen tcp schnittstelle gefunden. könntest du das bei gelegenheit etwas näher erleutern?
mir ist nicht klar, wie das jetzt funktioniert.
danke
duc
Quoted
Für die TCP Kommunikation muß das Plugin mit Imlib übersetzt werden, den Port kann man mit dem optionalen Parameter -p angeben, der default Port ist 2039.
Die TCP Schnittstelle steht allein oder aber zusammen mit der Ausgabe via /dev/fb* oder vdr/* zur Verfügung. Zusammen mit directFB ist sie in dieser Version noch nicht verwendbar.
Quoted
Original von horchi
Quoted
Original von mig
bin genauso begeistert das es weitergeht...
ein wunsch von mir wäre ein patch für das span plugin, damit wäre das graphtft plugin für mich perfekt.
Hi,
ich habe mir span mal angesehen, geht nicht auf die Schnelle, da es mehr als nur ein Menü anzeigt und man erst einmal an die anzuzeigenden Daten kommen muss. Ich habe es mal unen an meine TODO Liste angefügt.
horchi


|
|
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 |
graphtft.c :
============
class cPluginGraphTFT : public cPlugin {
// Add any member variables or functions you may need here.
private:
cGraphTFTDisplay *_graphTFTdisplay;
char *_cfgDir;
char *_dev;
public:
cPluginGraphTFT(void);
virtual ~cPluginGraphTFT();
virtual const char *Version(void) { return VERSION; }
virtual const char *Description(void) { return tr(DESCRIPTION); }
virtual const char *CommandLineHelp(void);
virtual bool ProcessArgs(int argc, char *argv[]);
virtual bool Initialize(void);
virtual bool Start(void);
virtual void Housekeeping(void);
virtual const char *MainMenuEntry(void) {
return NULL;
}
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
// NEU
#if APIVERSNUM >= 10330
virtual bool Service(const char *Id, void *Data);
#endif
};
....
...
..
.
//NEU
bool cPluginGraphTFT::Service(const char *Id, void *Data)
{
if (strcmp(Id, SPAN_PROVIDER_CHECK_ID) == 0)
{
if (Data != NULL)
*((Span_Provider_Check_1_0*)Data)->isActive = true;
return true;
}
return false;
}
|
This post has been edited 2 times, last edit by "Morone" (Nov 2nd 2006, 2:02pm)
Quoted
Original von horchi
BTW hattest du damals meine PM bekommen?
Grüße
horchi
Bitte alles aus diesem Thread verwenden.
Quoted
Original von Morone
Setupoption an/aus waere auch net verkehrt (siehe wieder graphlcd).


|
|
Source code |
1 2 3 4 5 6 7 8 |
root@linvdr:/usr/src/vdr-1.4.2# cat /usr/src/vdr-1.4.3/PLUGINS/src/graphtft/patch/vdr-1.4.3.with_bigpatch-menu-column.diff | patch patching file menu.c patching file menu.h patching file menuitems.h patching file osdbase.c patching file osdbase.h patching file status.c patching file status.h |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
root@vdr:/usr/local/src/VDR# cat PLUGINS/src/graphtft/patch/vdr-1.4.3.with_bigpatch-menu-column.diff |patch patching file menu.c Hunk #9 succeeded at 3494 (offset -22 lines). patching file menu.h Hunk #4 succeeded at 82 (offset -1 lines). Hunk #5 succeeded at 153 (offset -1 lines). Hunk #6 succeeded at 166 (offset -1 lines). Hunk #7 succeeded at 194 (offset -1 lines). patching file menuitems.h patching file osdbase.c patching file osdbase.h patching file status.c Hunk #1 succeeded at 152 with fuzz 2 (offset -6 lines). patching file status.h Hunk #1 FAILED at 82. Hunk #2 FAILED at 114. 2 out of 2 hunks FAILED -- saving rejects to file status.h.rej |
|
|
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 |
***************
*** 82,92 ****
// Checks if a plugin is protected.
virtual void UserAction(const eKeys key, const cOsdObject* Interact) {} // PIN PATCH
// report user action
- virtual void OsdMenuDisplay(eOsdMenuKind kind) {}
- // report menu creation
- virtual void OsdMenuDestroy() {}
- // report menu destruvtion
-
public:
cStatus(void);
--- 82,87 ----
// Checks if a plugin is protected.
virtual void UserAction(const eKeys key, const cOsdObject* Interact) {} // PIN PATCH
// report user action
public:
cStatus(void);
***************
*** 114,121 ****
static void MsgTimerCreation(cTimer* Timer, const cEvent *Event); // PIN PATCH
static bool MsgPluginProtected(cPlugin* Plugin); // PIN PATCH
static void MsgUserAction(const eKeys key, const cOsdObject* Interact); // PIN PATCH
- static void MsgOsdMenuDisplay(const eOsdMenuKind kind);
- static void MsgOsdMenuDestroy();
};
#endif //__STATUS_H
--- 109,114 ----
static void MsgTimerCreation(cTimer* Timer, const cEvent *Event); // PIN PATCH
static bool MsgPluginProtected(cPlugin* Plugin); // PIN PATCH
static void MsgUserAction(const eKeys key, const cOsdObject* Interact); // PIN PATCH
};
#endif //__STATUS_H
|
This post has been edited 1 times, last edit by "duc" (Nov 2nd 2006, 7:46pm)