summaryrefslogtreecommitdiff
path: root/libtmdb
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2015-01-22 16:32:38 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2015-01-22 16:32:38 +0000
commit4114f7777f183685deb6d66ab6813696644ec627 (patch)
tree3fc98cba9132b1c07cc34d3922971f0e30693f00 /libtmdb
parentMerge branch 'master' of randomdan.homeip.net:/var/git/src (diff)
downloadp2pvr-4114f7777f183685deb6d66ab6813696644ec627.tar.bz2
p2pvr-4114f7777f183685deb6d66ab6813696644ec627.tar.xz
p2pvr-4114f7777f183685deb6d66ab6813696644ec627.zip
Centralize the conversion specifications
Diffstat (limited to 'libtmdb')
-rw-r--r--libtmdb/tmdb-common.ice15
1 files changed, 7 insertions, 8 deletions
diff --git a/libtmdb/tmdb-common.ice b/libtmdb/tmdb-common.ice
index a75c0e1..1dec40f 100644
--- a/libtmdb/tmdb-common.ice
+++ b/libtmdb/tmdb-common.ice
@@ -48,7 +48,7 @@ module TMDb {
struct PersonRef {
["slicer:name:id"]
int Id;
-
+
["slicer:name:name"]
string Name;
@@ -58,26 +58,25 @@ module TMDb {
sequence<PersonRef> PersonRefList;
struct SeasonRef {
- ["slicer:name:air_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:air_date"]
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;
};