summaryrefslogtreecommitdiff
path: root/libtmdb/samples
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/samples
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/samples')
-rw-r--r--libtmdb/samples/movie_550.json57
-rw-r--r--libtmdb/samples/searchMulti_breakingBad.json39
-rw-r--r--libtmdb/samples/tv_1396.json89
3 files changed, 185 insertions, 0 deletions
diff --git a/libtmdb/samples/movie_550.json b/libtmdb/samples/movie_550.json
new file mode 100644
index 0000000..fe0b4a8
--- /dev/null
+++ b/libtmdb/samples/movie_550.json
@@ -0,0 +1,57 @@
+{
+ "adult": false,
+ "backdrop_path": "/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg",
+ "belongs_to_collection": null,
+ "budget": 63000000,
+ "genres": [
+ {
+ "id": 28,
+ "name": "Action"
+ },
+ {
+ "id": 18,
+ "name": "Drama"
+ },
+ {
+ "id": 53,
+ "name": "Thriller"
+ }
+ ],
+ "homepage": "http://www.fightclub.com/",
+ "id": 550,
+ "imdb_id": "tt0137523",
+ "original_title": "Fight Club",
+ "overview": "A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking new form of therapy. Their concept catches on, with underground \"fight clubs\" forming in every town, until an eccentric gets in the way and ignites an out-of-control spiral toward oblivion.",
+ "popularity": 61151.745000000003,
+ "poster_path": "/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg",
+ "production_companies": [
+ {
+ "name": "20th Century Fox",
+ "id": 25
+ }
+ ],
+ "production_countries": [
+ {
+ "iso_3166_1": "DE",
+ "name": "Germany"
+ },
+ {
+ "iso_3166_1": "US",
+ "name": "United States of America"
+ }
+ ],
+ "release_date": "1999-10-15",
+ "revenue": 100853753,
+ "runtime": 139,
+ "spoken_languages": [
+ {
+ "iso_639_1": "en",
+ "name": "English"
+ }
+ ],
+ "status": "Released",
+ "tagline": "How much can you know about yourself if you've never been in a fight?",
+ "title": "Fight Club",
+ "vote_average": 9.0999999999999996,
+ "vote_count": 174
+}
diff --git a/libtmdb/samples/searchMulti_breakingBad.json b/libtmdb/samples/searchMulti_breakingBad.json
new file mode 100644
index 0000000..fb0ec82
--- /dev/null
+++ b/libtmdb/samples/searchMulti_breakingBad.json
@@ -0,0 +1,39 @@
+{
+ "page": 1,
+ "results": [
+ {
+ "backdrop_path": "/sIJyCJedGlZf1TId41gCtkblBGo.jpg",
+ "id": 1396,
+ "original_name": "Breaking Bad",
+ "first_air_date": "2008-01-19",
+ "poster_path": "/4yMXf3DW6oCL0lVPZaZM2GypgwE.jpg",
+ "popularity": 12.2665228348243,
+ "name": "Breaking Bad",
+ "vote_average": 9,
+ "vote_count": 68,
+ "media_type": "tv"
+ },
+ {
+ "adult": false,
+ "backdrop_path": "/mMKahLSpwb9Yj2B0tB6vku3tkGy.jpg",
+ "id": 239459,
+ "original_title": "No Half Measures: Creating the Final Season of Breaking Bad",
+ "release_date": "2013-11-26",
+ "poster_path": "/8OixSR45U5dbqv8F0tlspmTbXxN.jpg",
+ "popularity": 2.8761099924108,
+ "title": "No Half Measures: Creating the Final Season of Breaking Bad",
+ "vote_average": 8.5,
+ "vote_count": 5,
+ "media_type": "movie"
+ },
+ {
+ "adult": false,
+ "id": 287,
+ "name": "Brad Pitt",
+ "profile_path": "/w8zJQuN7tzlm6FY9mfGKihxp3Cb.jpg",
+ "media_type": "person"
+ }
+ ],
+ "total_pages": 1,
+ "total_results": 3
+}
diff --git a/libtmdb/samples/tv_1396.json b/libtmdb/samples/tv_1396.json
new file mode 100644
index 0000000..6043750
--- /dev/null
+++ b/libtmdb/samples/tv_1396.json
@@ -0,0 +1,89 @@
+{
+ "backdrop_path": "/sIJyCJedGlZf1TId41gCtkblBGo.jpg",
+ "created_by": [
+ {
+ "id": 66633,
+ "name": "Vince Gilligan",
+ "profile_path": "/rLSUjr725ez1cK7SKVxC9udO03Y.jpg"
+ }
+ ],
+ "episode_run_time": [
+ 45,
+ 47
+ ],
+ "first_air_date": "2008-01-19",
+ "genres": [
+ {
+ "id": 18,
+ "name": "Drama"
+ }
+ ],
+ "homepage": "http://www.amctv.com/shows/breaking-bad",
+ "id": 1396,
+ "in_production": false,
+ "languages": [
+ "en",
+ "de",
+ "ro",
+ "es",
+ "fa"
+ ],
+ "last_air_date": "2013-09-29",
+ "name": "Breaking Bad",
+ "networks": [
+ {
+ "id": 174,
+ "name": "AMC"
+ }
+ ],
+ "number_of_episodes": 62,
+ "number_of_seasons": 5,
+ "original_name": "Breaking Bad",
+ "origin_country": [
+ "US"
+ ],
+ "overview": "Breaking Bad is an American crime drama television series created and produced by Vince Gilligan. Set and produced in Albuquerque, New Mexico, Breaking Bad is the story of Walter White, a struggling high school chemistry teacher who is diagnosed with inoperable lung cancer at the beginning of the series. He turns to a life of crime, producing and selling methamphetamine, in order to secure his family's financial future before he dies, teaming with his former student, Jesse Pinkman. Heavily serialized, the series is known for positioning its characters in seemingly inextricable corners and has been labeled a contemporary western by its creator.",
+ "popularity": 7.68402647476576,
+ "poster_path": "/4yMXf3DW6oCL0lVPZaZM2GypgwE.jpg",
+ "seasons": [
+ {
+ "air_date": "2009-02-17",
+ "id": 3577,
+ "poster_path": "/spPmYZAq2xLKQOEIdBPkhiRxrb9.jpg",
+ "season_number": 0
+ },
+ {
+ "air_date": "2008-01-19",
+ "id": 3572,
+ "poster_path": "/dHCYpEoHEjAV6Xt3eyNthkdLRl3.jpg",
+ "season_number": 1
+ },
+ {
+ "air_date": "2009-03-08",
+ "id": 3573,
+ "poster_path": "/ww6cDy0dhrVEdMqielNEsYz96mg.jpg",
+ "season_number": 2
+ },
+ {
+ "air_date": "2010-03-21",
+ "id": 3575,
+ "poster_path": "/rINvcsYHUprsx9L8zNr5JltALda.jpg",
+ "season_number": 3
+ },
+ {
+ "air_date": "2011-07-17",
+ "id": 3576,
+ "poster_path": "/ngnE7FFQqrrLgK3yVsv3kjwtQMZ.jpg",
+ "season_number": 4
+ },
+ {
+ "air_date": "2012-07-15",
+ "id": 3578,
+ "poster_path": "/ih1JKNxEzW56azeFpEQmdu4poA4.jpg",
+ "season_number": 5
+ }
+ ],
+ "status": "Ended",
+ "vote_average": 9,
+ "vote_count": 72
+}