diff options
author | louis <louis.braun@gmx.de> | 2014-05-11 09:00:21 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-05-11 09:00:21 +0200 |
commit | b1d2acff559c3cdc669254fa85e9279acdcb12dc (patch) | |
tree | ebcc682783e6de11c7b779e1efce4bb6fb4ae3e6 /services/tvscraper.h | |
parent | 490beed385054354bba92d0ffbd68621f79c9630 (diff) | |
download | vdr-plugin-tvguide-b1d2acff559c3cdc669254fa85e9279acdcb12dc.tar.gz vdr-plugin-tvguide-b1d2acff559c3cdc669254fa85e9279acdcb12dc.tar.bz2 |
Version 1.2.2 scraper2vdr support
Diffstat (limited to 'services/tvscraper.h')
-rw-r--r-- | services/tvscraper.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/services/tvscraper.h b/services/tvscraper.h deleted file mode 100644 index 9ebb84b..0000000 --- a/services/tvscraper.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef __TVGUIDE_TVSCRAPER_H -#define __TVGUIDE_TVSCRAPER_H - -#include <string> -#include <vector> -#include <vdr/epg.h> - -enum tvMediaType { - typeSeries, - typeMovie, - typeNone, -}; - -struct tvMedia { - std::string path; - int width; - int height; -}; - -struct tvActor { - std::string name; - std::string role; - tvMedia thumb; -}; - -// Data structure for service "TVScraper-GetPosterOrBanner" -struct TVScraperGetPosterOrBanner -{ -// in - const cEvent *event; // search image for this event -//out - tvMediaType type; //typeSeries or typeMovie - tvMedia media; //banner or poster -}; - -// Data structure for service "TVScraper-GetPoster" -struct TVScraperGetPoster -{ -// in - const cEvent *event; // search image for this event - bool isRecording; // search in current EPG or recordings -//out - tvMedia media; //poster -}; - - -/* Data structure for service "TVScraper-GetFullEPGInformation" -if type == typeMovie a poster and a fanart image is delivered -if type == typeSeries a banner and up to three posters and fanarts are delivered -*/ -struct TVScraperGetFullInformation -{ -// in - const cEvent *event; // search all media for this event - bool isRecording; // search in current EPG or recordings -//out - tvMediaType type; - tvMedia banner; - std::vector<tvMedia> posters; - std::vector<tvMedia> fanart; - std::vector<tvActor> actors; - std::string description; -}; - -#endif //__TVGUIDE_TVSCRAPER_H
\ No newline at end of file |