diff options
author | louis <louis.braun@gmx.de> | 2014-05-24 16:59:29 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-05-24 16:59:29 +0200 |
commit | ad4b1f3017d65ecb92b7c5c41ad131c3e0743159 (patch) | |
tree | 5757c11a7f42b4e71a41c7a9fafa1c2b10cdfb13 /services | |
parent | dc67dd4d443273119e9dfdf637b93a3c3900b570 (diff) | |
download | skin-nopacity-ad4b1f3017d65ecb92b7c5c41ad131c3e0743159.tar.gz skin-nopacity-ad4b1f3017d65ecb92b7c5c41ad131c3e0743159.tar.bz2 |
added support for tvscraper again, tvscraper Version 0.2.0 needed
Diffstat (limited to 'services')
-rw-r--r-- | services/scraper2vdr.h | 2 | ||||
-rw-r--r-- | services/tvscraper.h | 64 |
2 files changed, 2 insertions, 64 deletions
diff --git a/services/scraper2vdr.h b/services/scraper2vdr.h index 703d077..3538130 100644 --- a/services/scraper2vdr.h +++ b/services/scraper2vdr.h @@ -1,6 +1,8 @@ #ifndef __SCRAPER2VDRSERVICES_H
#define __SCRAPER2VDRSERVICES_H
+#include <string>
+#include <vector>
#include <vdr/epg.h>
#include <vdr/recording.h>
diff --git a/services/tvscraper.h b/services/tvscraper.h deleted file mode 100644 index 8c3cf35..0000000 --- a/services/tvscraper.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef __NOPACITY_TVSCRAPER_H -#define __NOPACITY_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 // __NOPACITY_TVSCRAPER_H
\ No newline at end of file |