diff options
author | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2015-01-22 16:32:38 +0000 |
---|---|---|
committer | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2015-01-22 16:32:38 +0000 |
commit | 4114f7777f183685deb6d66ab6813696644ec627 (patch) | |
tree | 3fc98cba9132b1c07cc34d3922971f0e30693f00 /libtmdb/tmdb-common.ice | |
parent | Merge branch 'master' of randomdan.homeip.net:/var/git/src (diff) | |
download | p2pvr-4114f7777f183685deb6d66ab6813696644ec627.tar.bz2 p2pvr-4114f7777f183685deb6d66ab6813696644ec627.tar.xz p2pvr-4114f7777f183685deb6d66ab6813696644ec627.zip |
Centralize the conversion specifications
Diffstat (limited to 'libtmdb/tmdb-common.ice')
-rw-r--r-- | libtmdb/tmdb-common.ice | 15 |
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; }; |