diff options
author | Jochen Dolze <vdr@dolze.de> | 2014-09-02 12:38:05 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2014-09-02 12:38:05 +0200 |
commit | b48e0bec3c87531c872da028d4fb87c65f3e050e (patch) | |
tree | 927d7f898d81aa8be35a5a3a5c39cd3626c3c692 /parse.cpp | |
parent | 15cce10b7822cf94166b296204994e78fe2c9b28 (diff) | |
download | vdr-plugin-xmltv2vdr-b48e0bec3c87531c872da028d4fb87c65f3e050e.tar.gz vdr-plugin-xmltv2vdr-b48e0bec3c87531c872da028d4fb87c65f3e050e.tar.bz2 |
Added statements to debug eplist compare
Diffstat (limited to 'parse.cpp')
-rw-r--r-- | parse.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -104,6 +104,7 @@ void cParse::RemoveNonAlphaNumeric(char *String, bool InDescription) // remove " Teil " (special for .episodes files) int len=strlen(String); char *p=strstr(String," Teil "); + if (!p) p=strstr(String,"(Teil "); if (p) { memmove(p,p+6,len-6); @@ -364,6 +365,11 @@ bool cParse::FetchSeasonEpisode(iconv_t cEP2ASCII, iconv_t cUTF2ASCII, const cha tsyslog("trying to find shorttext for '%s', with '%s'",Title,dshorttext); } +#undef DEBCMP + +#ifdef DEBCMP + tsyslog("dshorttext=%s",dshorttext); +#endif char *line=NULL; size_t length; @@ -393,7 +399,9 @@ bool cParse::FetchSeasonEpisode(iconv_t cEP2ASCII, iconv_t cUTF2ASCII, const cha { strcpy(depshorttext,epshorttext); // ok lets try with the original text } - +#ifdef DEBCMP + tsyslog("depshorttext=%s",depshorttext); +#endif if (!strcasecmp(dshorttext,depshorttext)) { // exact match @@ -485,6 +493,9 @@ bool cParse::FetchSeasonEpisode(iconv_t cEP2ASCII, iconv_t cUTF2ASCII, const cha } if (found) { +#ifdef DEBCMP + tsyslog("found shorttext '%s'",*EPShortText); +#endif if (!ShortText) { tsyslog("found shorttext '%s' with description of '%s'",*EPShortText,Title); |