summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-05-18 14:34:45 +0200
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-05-18 14:34:45 +0200
commit1271728831c84ae458720dc0f659ef23f18aadd8 (patch)
tree1d3342a4558c9111bcdbce20b3a01b244e9994ec /services
parent19235b742a8aa6b02cce98325945ca79e72feca1 (diff)
downloadskin-flatplus-1271728831c84ae458720dc0f659ef23f18aadd8.tar.gz
skin-flatplus-1271728831c84ae458720dc0f659ef23f18aadd8.tar.bz2
new tvscraper service api. Use only with new tvscraper version 0.2.0 or greater!
Diffstat (limited to 'services')
-rw-r--r--services/tvscraper.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/services/tvscraper.h b/services/tvscraper.h
deleted file mode 100644
index fc278add..00000000
--- a/services/tvscraper.h
+++ /dev/null
@@ -1,56 +0,0 @@
-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;
-}; \ No newline at end of file