[Announce] epgd-0.1.1 und epg2vdr-0.1.0
- TheChief
- Geschlossen
-
-
Ich habe da noch einen kleinen Schönheitsfehler bei den EPG-Images.
Und zwar sehe ich nur ab und zu ein Bild. EPGD und epg2vdr funktionieren einwandfrei. Ich denke auch dass die Bilder alle da sind (zumindest sind im Verzeichnis einige Tausend Bilder), aber scheinbar sind einige Symlinks verkehrt.
Hat das Problem noch wer oder bin ich der Einzige ?
Gruß
SieDu -
Ich habe auch nicht zu jeder Sendung Bilder. Ich denke, die externe Quelle stellt nicht zu allem ein Bild (oder mehrere) zur Verfügung.
-
Und zwar sehe ich nur ab und zu ein Bild
in welchem Plugin ? - Wieviele symlinks zu wievielen Bildern? - epgadata? MaxImagesPerEvent?ich hab hier bei MaxImagesPerEvent = 3 ca. 74000 Symlinks bei 26000 Bildern, und extrem viele Bilder in live oder auch nopacity
Welchen Skin nutzt du?
Christian
-
Ich habe (MaxImagesPerEvent = 10, DaysInAdvance = 14) 25.067 Symlinks bei 9577 Bildern und ich nutze nopacity als Skin.
Als EPG-Quelle nutze ich mein epgdata.com-Abo.Allerdings sind in meiner Senderliste "nur" 180 Sender.
In den Logs sind keine Fehler. keine Ahnung wo ich da suchen muss.
Gruß
SieDu -
du hast gar keine Bilder oder nur wenige?
wir haben in der aktuellen Version damit die Bilder in live nicht immer mehrfach angezeigt werden auf den symlink eventid.jpg verzichtet, und aus Kompatibilitätsgründen zu graphtft schreiben wir für das erste Bild jetzt nur noch das Bild eventid_0.jpg
Louis hat hier letzte Woche einen Fallback auf das _0 jpg in nopacity eingebaut, wenn deine Version hier hinreichend aktuell ist ist das natürlich nicht der Grund. - Ansonsten kann man temporär im makefile des Plugins den gewohnten ersten Link ohne _0 wieder einschalten.
wenn dem so ist einfach das Plugin neu kompilieren und ein svdrpsend epg2vdr reload absetzen
Christian
-
Ich nutze den aktuellen git-Stand von epgd, epg2vdr und nOpacity.
Bez. Drr Änderung im Makefile: Meinst Du nOpacity oder epg2vdr ?
Gruß
SieDu -
epg2vdr
-
Irgendwie stehe ich auf dem Schlauch. Im Makefile von epg2vdr sehe ich nichts was ich diesbezüglich ändern könnte.
#
# Makefile for a Video Disk Recorder plugin
#PLUGIN = epg2vdr
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char\* VERSION *=' $(PLUGIN).h | awk '{ print $$6 }' | sed -e 's/[";]//
g')### The directory environment:
# Use package data if installed...otherwise assume we're under the VDR source directory:
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$
(1) vdr pkg-config --variable=$(1) ../../../vdr.pc))
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)
#
TMPDIR ?= /tmp### The compiler options:
export CFLAGS += $(call PKGCFG,cflags)
export CXXFLAGS += $(call PKGCFG,cxxflags) -Wno-unused-result### The version number of VDR's plugin API:
APIVERSION = $(call PKGCFG,apiversion)
### Allow user defined options to overwrite defaults:
-include $(PLGCFG)
#DEFINES += -D_IMG_LINK
LIBS = -lmysqlclient_r -luuid
EPG2VDR_DATA_DIR = "/var/cache/vdr"ifdef EPG2VDR_DATA_DIR
DEFINES += -DEPG2VDR_DATA_DIR='$(EPG2VDR_DATA_DIR)'
endif### The name of the distribution archive:
ARCHIVE = $(PLUGIN)-$(VERSION)
PACKAGE = vdr-$(ARCHIVE)### The name of the shared object file:
SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
INCLUDES +=
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
DEFINES += -DVDR_PLUGIN -DUSEUUID### The object files (add further files here):
OBJS = $(PLUGIN).o update.o lib/db.o lib/tabledef.o lib/common.o lib/config.o
### The main target:
all: $(SOFILE) i18n
### Implicit rules:
%.o: %.c
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<### Dependencies:
MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@-include $(DEPFILE)
### Internationalization (I18N):
PODIR = po
I18Npo = $(wildcard $(PODIR)/*.po)
I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
I18Npot = $(PODIR)/$(PLUGIN).pot%.mo: %.po
msgfmt -c -o $@ $<$(I18Npot): $(wildcard *.c)
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<vdr@jwendel.de>' -o $@ `ls $^`%.po: $(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
@touch $@$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
install -D -m644 $< $@.PHONY: i18n
i18n: $(I18Nmo) $(I18Npot)install-i18n: $(I18Nmsgs)
### Targets:
$(SOFILE): $(OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@install-lib: $(SOFILE)
install -D -m644 $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)install: install-lib install-i18n
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)
@tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE)
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@echo Distribution package created as $(PACKAGE).tgzclean:
@-rm -f $(OBJS) $(DEPFILE) *.so *.core* *~ lib/*~ lib/t
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
@-rm -f $(PACKAGE).tgzcppchk:
cppcheck --template="{file}:{line}:{severity}:{message}" --quiet --force *.c *.hGruß
SieDu[Edit]
Kommando zurück
ich habe im Makefile gerade die Zeile "#DEFINES += -D_IMG_LINK" auskommentiert und jetzt legt er auch die anderen Symlinks an.
[/Edit] -
hatte gerade nachgeschaut
-
So, jetzt habe ich 46.328 Symlinks bei 9797 Bildern. Jetzt gibt es jeden Symlink doppelt, einmal mit "_0" und einmal ohne.
Aber irgendwie sieht es immer noch nicht besser aus. Ich habe nur bei ca. der Hälfte der Sender ein EPG-Bild (wenn ich die Senderinfo auswähle).Gruß
SieDu -
Gibt halt auch nicht zu jedem Event ein Bild.
-
Gibt halt auch nicht zu jedem Event ein Bild.
Eben! - Und bei epgdata.com gibt es so oder so kaum Bilder. -
Das beruhigt mich
Dann kann ich meine Änderung wieder rückgängig machen.Gruß
SieDu -
mit multimerge werden wir das Ganze etwas optimieren in dem man optional den Provider zu einzelnen Events wechseln kann wenn bspw der Andere auch gut trifft aber "höherwertiger" im Sinne von hat Serieninfos oder eben Bilder.
Das funktioniert im Prototypen schon sehr gut...
Christian
-
Hallo !
Nachdem ich auf epgdata als "Datenquelle" umgestellt habe, ist alles ok.
Grüße,
Dirk
-
Hallo,
und zunächst mal danke für die tolle Arbeit!
Das sieht hier alles sehr schick aus mit dem nopacity.Ich habe auch nicht bei jedem event ein Bild, denke aber das ist so richtig.
Mich verunsichern noch etwas diese Fehler im Log:
CodeNov 16 07:56:52 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_
Code
Alles anzeigencat /var/log/messages | grep epgd Nov 16 07:55:41 [epgd] State now 'busy (events)' Nov 16 07:55:46 [epgd] Starting cleanup of events Nov 16 07:55:46 [epgd] Delete fileref [substr(name,1,8) <= '20131115'] Nov 16 07:55:47 [epgd] Delete events [starttime+duration < 1384563347] Nov 16 07:56:26 [epgd] Cleanup of events finished Nov 16 07:56:26 [epgd] EPG Update started Nov 16 07:56:26 [epgd] Updating 'tvm' day today+0 now Nov 16 07:56:52 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:57:10 [epgd] Updating 'tvm' day today+1 now Nov 16 07:57:33 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:06 [epgd] Updating 'tvm' day today+2 now Nov 16 07:58:06 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:06 [epgd] Updating 'tvm' day today+3 now Nov 16 07:58:06 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:07 [epgd] Updating 'tvm' day today+4 now Nov 16 07:58:07 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:07 [epgd] Updating 'tvm' day today+5 now Nov 16 07:58:07 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:07 [epgd] Updating 'tvm' day today+6 now Nov 16 07:58:08 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:58:08 [epgd] Updating 'tvm' day today+7 now Nov 16 07:58:32 [epgd] Error: Zipped input data corrupted while skipping the header! Details: incorrect header check_ Nov 16 07:59:15 [epgd] EPG Update finished, loaded 273 files (3.644 MB), 97 non-updates skipped, 16 rejected due to format error. Nov 16 07:59:15 [epgd] Starting episode download ... Nov 16 07:59:16 [epgd] SVDRPCL: connected to eplists.constabel.net:2006 'eplists.constabel.net EpisodesListsServer 0.0.5-beta6; Sat Nov 16 07:59:16 2013' Nov 16 07:59:16 [epgd] Got 'Setting encoding to utf8' Nov 16 07:59:16 [epgd] Requesting episode changes of last 882 minutes Nov 16 07:59:16 [epgd] Received 0 episode files Nov 16 07:59:16 [epgd] Starting episode lookup ... Nov 16 07:59:27 [epgd] Lookup done for 877 series, matched 7767 parts by compare and 297 parts by lv in 11 seconds Nov 16 07:59:27 [epgd] Calling 'mergeepg' Nov 16 07:59:46 [epgd] 'mergeepg' suceeded Nov 16 07:59:46 [epgd] State now 'busy (images)' Nov 16 07:59:46 [epgd] Starting cleanup of imagerefs Nov 16 07:59:49 [epgd] Starting cleanup of images Nov 16 08:00:15 [epgd] Image cleanup finished Nov 16 08:00:15 [epgd] Start download of new images Nov 16 08:00:28 [epgd] Still updating images, now 500 of 7338 checked and 52 loaded (1643.673 KB) Nov 16 08:00:35 [epgd] Still updating images, now 1000 of 7338 checked and 96 loaded (3.039 MB) Nov 16 08:00:52 [epgd] Still updating images, now 1500 of 7338 checked and 131 loaded (4.041 MB) Nov 16 08:01:09 [epgd] Still updating images, now 2000 of 7338 checked and 172 loaded (5.197 MB) Nov 16 08:01:22 [epgd] Still updating images, now 2500 of 7338 checked and 209 loaded (6.419 MB) Nov 16 08:01:35 [epgd] Still updating images, now 3000 of 7338 checked and 253 loaded (7.797 MB) Nov 16 08:01:56 [epgd] Still updating images, now 3500 of 7338 checked and 312 loaded (9.585 MB) Nov 16 08:02:20 [epgd] Still updating images, now 4000 of 7338 checked and 363 loaded (11.147 MB) Nov 16 08:02:36 [epgd] Still updating images, now 4500 of 7338 checked and 412 loaded (12.704 MB) Nov 16 08:02:42 [epgd] Still updating images, now 5000 of 7338 checked and 446 loaded (13.568 MB) Nov 16 08:02:45 [epgd] Still updating images, now 5500 of 7338 checked and 461 loaded (14.038 MB) Nov 16 08:02:50 [epgd] Still updating images, now 6000 of 7338 checked and 489 loaded (14.871 MB) Nov 16 08:03:00 [epgd] Still updating images, now 6500 of 7338 checked and 560 loaded (16.983 MB) Nov 16 08:03:14 [epgd] Still updating images, now 7000 of 7338 checked and 642 loaded (19.700 MB) Nov 16 08:03:19 [epgd] Loaded 679 images (20.881 MB), checked 7338; 255 failed to load in 184 seconds Nov 16 08:03:19 [epgd] Scheduled next update in 12 hour(s) Nov 16 08:03:19 [epgd] State now 'standby' Nov 16 08:03:42 [epgd] 8783 DVB pending, mergeepg done after 9.500 seconds Nov 16 08:04:45 [epgd] 653 DVB pending, mergeepg done after 11.539 seconds Nov 16 08:57:11 [epgd] Shutdown triggered with signal 15 Nov 16 08:57:11 [epgd] State now 'stopped' Nov 16 08:57:11 [epgd] normal exit
Bezieht sich der "format error" auf meine channelmap.conf?
Gruß astra
-
Hi,
nein die "format errors" beziehen sich auf die TVM Dateien, kommt wenn diese entweder nicht auspacken oder das XML nicht 'wohlgeformt' ist. In deinem Fall lassen sie sich, warum auch immer, nicht auspacken, ggf. Übertragungsfehler beim download.
Passiert das jedesmal?
Jörg
-
Habe es erst seit 3 Tagen am Laufen . In den logs tauchen die errors jedes mal auf und es sind immer 16 rejected.
Handelt es sich vielleicht um immer die selben gepackten Dateien? Ich habe mal unter /tmp geschaut, aber nichts gefunden. -
alles klar, ich weiß schon - oder kanns mir denken.
du hast ne ungültige ID in deiner conf und dann schicken die statt dem file ne html seite die diesen Fehler hervorruft.
Also einfach mal die channelmap checken...
Christian
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!