Hallo zusammen,
hat eventuell schon jemand das Graphlcd Plugin oder das Wetter Plugin soweit gepatcht das es sich unter VDR 1.3.2 kompilieren läßt ??
Vielen Dank im voraus ....
Gruß,
Frank
Hallo zusammen,
hat eventuell schon jemand das Graphlcd Plugin oder das Wetter Plugin soweit gepatcht das es sich unter VDR 1.3.2 kompilieren läßt ??
Vielen Dank im voraus ....
Gruß,
Frank
hey,
hier kommt mal der graphlcd-patch.
-- randy
diff -uN graphlcd-0.0.7/display.c graphlcd-0.0.7_1.3.2/display.c
--- graphlcd-0.0.7/display.c 2003-06-30 20:19:12.000000000 +0200
+++ graphlcd-0.0.7_1.3.2/display.c 2004-01-24 00:23:27.000000000 +0100
@@ -762,41 +762,42 @@
void
cGraphLCDDisplay::GetProgramme (void) {
-
- const cEventInfo *Present = NULL, *Following = NULL;
- cMutexLock MutexLock;
- const cSchedules *Schedules = cSIProcessor::Schedules(MutexLock);
+ if(channel) {
+ const cEvent *Present = NULL, *Following = NULL;
+ cSchedulesLock SchedulesLock;
+ const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
if(Schedules) {
- const cSchedule *Schedule = Schedules->GetSchedule();
+ const cSchedule *Schedule = Schedules->GetSchedule(channel->GetChannelID());
if(Schedule) {
if((Present = Schedule->GetPresentEvent()) != NULL) {
- tPresentTime = Present->GetTime();
+ tPresentTime = Present->StartTime();
FREENULL(pszPresentTitle);
- if(!isempty(Present->GetTitle())) {
- pszPresentTitle=MALLOC(char, strlen(Present->GetTitle())+1);
- strcpy(pszPresentTitle, Present->GetTitle());
+ if(!isempty(Present->Title())) {
+ pszPresentTitle=MALLOC(char, strlen(Present->Title())+1);
+ strcpy(pszPresentTitle, Present->Title());
}
FREENULL(pszPresentSubtitle);
- if(!isempty(Present->GetSubtitle())) {
- pszPresentSubtitle=MALLOC(char, strlen(Present->GetSubtitle())+1);
- strcpy(pszPresentSubtitle, Present->GetSubtitle());
+ if(!isempty(Present->ShortText())) {
+ pszPresentSubtitle=MALLOC(char, strlen(Present->ShortText())+1);
+ strcpy(pszPresentSubtitle, Present->ShortText());
}
}
if((Following = Schedule->GetFollowingEvent()) != NULL) {
- tFollowingTime = Following->GetTime();
+ tFollowingTime = Following->StartTime();
FREENULL(pszFollowingTitle);
- if(!isempty(Following->GetTitle())) {
- pszFollowingTitle=MALLOC(char, strlen(Following->GetTitle())+1);
- strcpy(pszFollowingTitle, Following->GetTitle());
+ if(!isempty(Following->Title())) {
+ pszFollowingTitle=MALLOC(char, strlen(Following->Title())+1);
+ strcpy(pszFollowingTitle, Following->Title());
}
FREENULL(pszFollowingSubtitle);
- if(!isempty(Following->GetSubtitle())) {
- pszFollowingSubtitle=MALLOC(char, strlen(Following->GetSubtitle())+1);
- strcpy(pszFollowingSubtitle, Following->GetSubtitle());
+ if(!isempty(Following->ShortText())) {
+ pszFollowingSubtitle=MALLOC(char, strlen(Following->ShortText())+1);
+ strcpy(pszFollowingSubtitle, Following->ShortText());
}
}
}
}
+ }
}
diff -uN graphlcd-0.0.7/display.h graphlcd-0.0.7_1.3.2/display.h
--- graphlcd-0.0.7/display.h 2003-06-26 10:41:40.000000000 +0200
+++ graphlcd-0.0.7_1.3.2/display.h 2004-01-24 00:01:41.000000000 +0100
@@ -29,7 +29,7 @@
#ifndef GRAPHLCD_DISPLAY_H
#define GRAPHLCD_DISPLAY_H
-
+#include <sys/time.h>
#include <vdr/thread.h>
#include <vdr/player.h>
@@ -74,6 +74,8 @@
bool update;
bool active;
+ cChannel *channel;
+
cGraphLCDGraphLib*pLCD;
cGraphLCDFont*pF_l;
cGraphLCDFont*pF_n;
Alles anzeigen
edit: hatte den if(channel) switch vergessen, sorry. kommt davon, wemma nur auf nem dummy system arbeitet
Hallo randy,
vielen Dank, werde ich direkt heute abend mal ausprobieren !!
Gruß,
Frank
/me, too
ich geb nachher mal laut.
dank dir, randy !
Hallo randy,
wollte mal kurz ein Feedback geben.
Compilieren lies es sich einwandfrei nur leider bekomme ich beim starten ein Seg..fault und der VDR startet ständig neu.
Irgendeine Idee ??
Meine Konfig : Debian Woody, VDR 1.3.2
Gruß,
Frank
hey,
ich schau mir das nachher hier mal an. in der firma debuggen ist teilweise
recht muehsam. mit DEBUG_OSD isses wenigstens gelaufen.
irgendwelche logfiles?
-- randy
wo logt der denn ??
wo kann ich nachschauen ??
Gruß,
Frank
mit ssh auf die bychse,"logread" zeigt das syslog an und dann schoen
alles copy&paste
danke,
-- randy
soweit ich das sehen kann keine Fehlermeldung :
Jan 23 21:18:52 fvdr vdr[1694]: setting primary device to 1
Jan 23 21:18:52 fvdr vdr[1694]: SVDRP listening on port 2001
Jan 23 21:18:52 fvdr vdr[1694]: starting plugin: graphlcd
Jan 23 21:18:52 fvdr vdr[1698]: graphlcd plugin: Display update thread started (pid=1698)
Jan 23 21:18:52 fvdr vdr[1698]: graphlcd plugin: benchmark started.
Jan 23 21:18:53 fvdr vdr[1698]: graphlcd plugin: benchmark stopped. Time for Port Command: 1231ns
Jan 23 21:18:53 fvdr vdr[1698]: graphlcd plugin: KS0108 initialized.
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: status
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: vdrcd
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: mp3
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: mplayer
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: osdteletext
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: osdpip
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: browser
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: dvdselect
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: pilot
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: prefermenu
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: clock
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: sleeptimer
Jan 23 21:18:53 fvdr vdr[1694]: starting plugin: streamdev
Gruß,
Frank
Hallo!
Ich habe das gleiche Problem. Anbei der strace-Output vom Start, falls es hilft.
Matthias
Ja, auch bei mir gibts einen segfault ...
probiert bitten den korrigierten patch von oben. damit sollte es tun.
hatte das if(channel) vergessen
-- randy
Hallo randy,
diesmal ein positives Feedback -> es funktioniert prima !!!
Vielen Dank !!!
Gruß,
Frank
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!