diff options
author | horchi <vdr@jwendel.de> | 2018-03-11 14:00:09 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-03-11 14:00:09 +0100 |
commit | cc0ddd47a78d451b445cfa7667757400c619cd5b (patch) | |
tree | 2cfadc6b53b10ceba0606a59176035af9e7b13a4 /epgd.h | |
parent | 69218e79181c863a92e51d0d0b8f8a31b31c66c2 (diff) | |
download | vdr-epg-daemon-cc0ddd47a78d451b445cfa7667757400c619cd5b.tar.gz vdr-epg-daemon-cc0ddd47a78d451b445cfa7667757400c619cd5b.tar.bz2 |
2018-03-11: version 1.1.138 (horchi)\n change: Fixed image problem with epgdata\n due to interface change by epgdata (patch by seahawk1986)\n\n1.1.138
Diffstat (limited to 'epgd.h')
-rw-r--r-- | epgd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -77,6 +77,14 @@ class Plugin virtual int hasSource(const char* source) { return strcmp(getSource(), source) == 0; } virtual int getPicture(const char* imagename, const char* fileRef, MemoryStruct* data) = 0; + + virtual char* fsNameOfPicture(const char* imagename) // caller has to free the result! + { + char* buffer = strdup(imagename); + replaceChars(buffer, "<>:\"/\\:|?*", '_'); + return buffer; + } + virtual int processDay(int day, int fullupdate, Statistic* stat) = 0; virtual int cleanupBefore() { return done; } @@ -203,6 +211,7 @@ class cEpgd : public cFrame, public cSystemNotification int exitDb(); int migrateFromDbApi4(); int migrateFromDbApi5(); + int migrateFromDbApi6(); int tryFillEmptyRecTableFields(); int checkProcedure(const char* name, cDBS::ProcType type, cDbProcedure* fp = 0); int checkView(const char* name, const char* file); |