From 5ad8db6cf4425ba81cb84bbc29c408c5f5e84c14 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Wed, 30 Nov 2011 14:31:34 +0100 Subject: Added epgdata2xmltv.xls to dist package Compare only length of eplist shorttext --- Makefile | 2 +- parse.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 63a45ec..6befb58 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ dist: clean @mkdir $(TMPDIR)/$(ARCHIVE) @cp -a *.cpp *.h HISTORY COPYING Makefile README po $(TMPDIR)/$(ARCHIVE) @mkdir -p $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv - @cp -a dist/epgdata2xmltv/*.cpp dist/epgdata2xmltv/*.h dist/epgdata2xmltv/Makefile dist/epgdata2xmltv/INSTALL dist/epgdata2xmltv/COPYING dist/epgdata2xmltv/epgdata2xmltv.dist $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv + @cp -a dist/epgdata2xmltv/*.cpp dist/epgdata2xmltv/*.h dist/epgdata2xmltv/Makefile dist/epgdata2xmltv/INSTALL dist/epgdata2xmltv/COPYING dist/epgdata2xmltv/epgdata2xmltv.dist dist/epgdata2xmltv/epgdata2xmltv.xsl $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv @tar czf $(PACKAGE).tgz -C $(TMPDIR) --exclude debian --exclude CVS --exclude .svn $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) @echo Distribution package created as $(PACKAGE).tgz diff --git a/parse.cpp b/parse.cpp index 7a2de45..c464f33 100644 --- a/parse.cpp +++ b/parse.cpp @@ -490,7 +490,7 @@ void cParse::FetchSeasonEpisode(cEvent *event) { char *lf=strchr(title,'\n'); if (lf) *lf=0; - if (!strcmp(event->ShortText(),title)) + if (!strncasecmp(event->ShortText(),title,strlen(title))) { xevent.SetSeason(season); xevent.SetEpisode(episode); -- cgit v1.2.3