1 #ifndef __SCRAPER2VDRSERVICES_H
2 #define __SCRAPER2VDRSERVICES_H
7 #include <vdr/recording.h>
15 /*********************************************************************
17 *********************************************************************/
43 std::string firstAired;
44 std::string guestStars;
47 cTvMedia episodeImage;
61 /*********************************************************************
62 * Data Structures for Service Calls
63 *********************************************************************/
65 // Data structure for service "GetEventType"
66 class ScraperGetEventType {
68 ScraperGetEventType(void) {
77 const cEvent *event; // check type for this event
78 const cRecording *recording; // or for this recording
80 tvType type; //typeSeries or typeMovie
86 //Data structure for full series and episode information
106 int movieId; // movieId fetched from ScraperGetEventType
109 std::string originalTitle;
111 std::string overview;
113 std::string collectionName;
117 std::string homepage;
118 std::string releaseDate;
124 cTvMedia collectionPoster;
125 cTvMedia collectionFanart;
126 std::vector<cActor> actors;
129 //Data structure for full series and episode information
144 int seriesId; // seriesId fetched from ScraperGetEventType
145 int episodeId; // episodeId fetched from ScraperGetEventType
148 std::string overview;
149 std::string firstAired;
155 std::vector<cActor> actors;
156 std::vector<cTvMedia> posters;
157 std::vector<cTvMedia> banners;
158 std::vector<cTvMedia> fanarts;
159 cTvMedia seasonPoster;
162 // Data structure for service "GetPosterBanner"
163 class ScraperGetPosterBanner {
165 ScraperGetPosterBanner(void) {
169 const cEvent *event; // check type for this event
171 tvType type; //typeSeries or typeMovie
176 // Data structure for service "GetPoster"
177 class ScraperGetPoster {
180 const cEvent *event; // check type for this event
181 const cRecording *recording; // or for this recording
186 // Data structure for service "GetPosterThumb"
187 class ScraperGetPosterThumb {
190 const cEvent *event; // check type for this event
191 const cRecording *recording; // or for this recording
196 #endif //__SCRAPER2VDRSERVICES_H