summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-common.ice
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-09-19 23:52:30 +0000
committerrandomdan <randomdan@localhost>2014-09-19 23:52:30 +0000
commit28691c29e93fbc4fdb5ae4866287282840fba021 (patch)
tree8b83ca80afc3f3a5d11b04a56c440d2aa38f4e16 /libtmdb/tmdb-common.ice
parentSupport muxing directly in storage (diff)
downloadp2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.tar.bz2
p2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.tar.xz
p2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.zip
First bash at a slicer ice proxy for TMDb and an untested instantiation in p2pvr's core adapter
Diffstat (limited to 'libtmdb/tmdb-common.ice')
-rw-r--r--libtmdb/tmdb-common.ice90
1 files changed, 90 insertions, 0 deletions
diff --git a/libtmdb/tmdb-common.ice b/libtmdb/tmdb-common.ice
new file mode 100644
index 0000000..532d65b
--- /dev/null
+++ b/libtmdb/tmdb-common.ice
@@ -0,0 +1,90 @@
+#ifndef TMDB_COMMON_ICE
+#define TMDB_COMMON_ICE
+
+module TMDb {
+ struct Date {
+ short Year;
+ short Month;
+ short Day;
+ };
+
+ struct CountryRef {
+ ["slicer:name:iso_3166_1"]
+ string Id;
+
+ ["slicer:name:name"]
+ string Name;
+ };
+ sequence<CountryRef> CountryRefList;
+
+ struct CompanyRef {
+ ["slicer:name:id"]
+ int Id;
+
+ ["slicer:name:name"]
+ string Name;
+ };
+ sequence<CompanyRef> CompanyRefList;
+
+ struct Language {
+ ["slicer:name:iso_639_1"]
+ string Id;
+
+ ["slicer:name:name"]
+ string Name;
+ };
+ sequence<Language> LanguageList;
+
+ struct Genre {
+ ["slicer:name:id"]
+ int Id;
+
+ ["slicer:name:name"]
+ string Name;
+ };
+ sequence<Genre> GenreList;
+
+ struct PersonRef {
+ ["slicer:name:id"]
+ int Id;
+
+ ["slicer:name:name"]
+ string Name;
+
+ ["slicer:name:profile_path"]
+ string ProfilePath;
+ };
+ sequence<PersonRef> PersonRefList;
+
+ struct SeasonRef {
+ ["slicer:name:air_date",
+ "slicer:conversion:std.string:stringToDate:dateToString"]
+ Date AirDate;
+
+ ["slicer:name:id"]
+ int Id;
+
+ ["slicer:name:poster_path"]
+ string PosterPath;
+
+ ["slicer:name:season_number"]
+ short SeasonNumber;
+
+ };
+ sequence<SeasonRef> SeasonRefList;
+
+ struct NetworkRef {
+ ["slicer:name:id"]
+ int Id;
+
+ ["slicer:name:name"]
+ string Name;
+ };
+ sequence<NetworkRef> NetworkRefList;
+
+ sequence<short> Runtimes;
+ sequence<string> StringList;
+};
+
+#endif
+