diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-04-27 07:14:27 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-04-27 07:14:27 +0200 |
commit | 40889067514769b356eb50d60d6a75889aeb99e3 (patch) | |
tree | 186f332caabe653bd458773623bd49739bb10ef2 /parse.h | |
parent | faab1db375b46658959c22ddbd1977bc1fdeb50b (diff) | |
download | vdr-plugin-xmltv2vdr-40889067514769b356eb50d60d6a75889aeb99e3.tar.gz vdr-plugin-xmltv2vdr-40889067514769b356eb50d60d6a75889aeb99e3.tar.bz2 |
Added -e parameter for path to episodes dir
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -29,8 +29,9 @@ class cParse }; private: - iconv_t conv; - char *epdir; + iconv_t cep2ascii; + iconv_t cutf2ascii; + const char *epdir; const char *epgfile; cEPGSource *source; cEPGMappings *maps; @@ -38,12 +39,13 @@ private: time_t ConvertXMLTVTime2UnixTime(char *xmltvtime); bool FetchEvent(xmlNodePtr node); public: - cParse(const char *EPGFile, cEPGSource *Source, cEPGMappings *Maps); + cParse(const char *EPGFile, const char *EPDir, cEPGSource *Source, cEPGMappings *Maps); ~cParse(); int Process(cEPGExecutor &myExecutor, char *buffer, int bufsize); static void RemoveNonAlphaNumeric(char *String); - static bool FetchSeasonEpisode(iconv_t Conv, const char *EPDir, const char *Title, - const char *ShortText, int &Season, int &Episode); + static bool FetchSeasonEpisode(iconv_t cEP2ASCII, iconv_t cUTF2ASCII, const char *EPDir, + const char *Title, const char *ShortText, int &Season, + int &Episode); static void InitLibXML(); static void CleanupLibXML(); }; |