poms 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile.lock +11 -3
  4. data/README.md +12 -0
  5. data/lib/poms/api/auth.rb +40 -0
  6. data/lib/poms/api/request.rb +44 -0
  7. data/lib/poms/merged_series.rb +5 -4
  8. data/lib/poms/version.rb +1 -1
  9. data/poms.gemspec +4 -5
  10. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast_starts_at/returns_a_datetime.yml +17 -17
  11. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_position.yml +16 -16
  12. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_title.yml +16 -16
  13. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_video_url.yml +16 -16
  14. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_an_image_id.yml +17 -17
  15. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_current_broadcast_fetches_the_current_broadcast.yml +17 -17
  16. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_next_broadcast_and_key_fetches_the_current_broadcast.yml +68 -0
  17. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_next_broadcast_and_key_returns_the_key.yml +68 -0
  18. data/spec/fixtures/vcr_cassettes/poms/merged_series/turns_the_json_into_a_hash.yml +19 -19
  19. data/spec/fixtures/vcr_cassettes/poms_fetch/a_broadcast_has_scheduled_events_with_last_with_starts_at.yml +13 -13
  20. data/spec/fixtures/vcr_cassettes/poms_fetch/a_clip_has_a_title.yml +16 -16
  21. data/spec/fixtures/vcr_cassettes/poms_fetch/an_aankeiler_has_images.yml +13 -13
  22. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_a_mid.yml +16 -16
  23. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_a_title.yml +16 -16
  24. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_scheduled_events_with_last_with_starts_at.yml +16 -16
  25. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast_and_key/has_a_broadcast_with_a_mid.yml +16 -16
  26. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast_and_key/has_a_key.yml +16 -16
  27. data/spec/fixtures/vcr_cassettes/poms_fetch_group/has_a_child_with_a_media_type.yml +409 -383
  28. data/spec/fixtures/vcr_cassettes/poms_fetch_group/has_a_child_with_a_title.yml +409 -383
  29. data/spec/fixtures/vcr_cassettes/poms_fetch_playlist_clips/creates_an_array_of_clips.yml +987 -906
  30. data/spec/lib/poms/api/auth_spec.rb +34 -0
  31. data/spec/lib/poms/api/request_spec.rb +30 -0
  32. data/spec/lib/poms/builderless/clip_spec.rb +2 -2
  33. data/spec/lib/poms/merged_series_spec.rb +8 -10
  34. data/spec/lib/poms/views_spec.rb +2 -2
  35. data/spec/lib/poms_spec.rb +14 -14
  36. data/spec/spec_helper.rb +4 -4
  37. metadata +14 -18
  38. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_position.yml +0 -43
  39. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_title.yml +0 -43
  40. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_a_video_url.yml +0 -43
  41. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast/has_an_image_id.yml +0 -43
  42. data/spec/fixtures/vcr_cassettes/poms/merged_series/is_enumerable.yml +0 -46
@@ -7,37 +7,37 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Fri, 23 Oct 2015 12:11:04 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:28 GMT
23
+ Server:
24
24
  - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
- etag:
26
- - '"4-594e55601c906f36434b21bc9db51c90"'
27
- content-type:
25
+ Etag:
26
+ - '"8-427f3fcb3d9b620ddcd3e9387a4e67c2"'
27
+ Content-Type:
28
28
  - text/plain; charset=utf-8
29
- content-length:
30
- - '1569'
31
- cache-control:
29
+ Content-Length:
30
+ - '1634'
31
+ Cache-Control:
32
32
  - must-revalidate
33
- x-proxyinstancename:
33
+ X-Proxyinstancename:
34
34
  - poms1b
35
- set-cookie:
36
- - balancer://poms3cluster=balancer.poms1s1db; path=/;
35
+ Set-Cookie:
36
+ - balancer://poms3cluster=balancer.poms1madb; path=/;
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: |
40
- {"_id":"WO_NPO_1950962","_rev":"4-594e55601c906f36434b21bc9db51c90","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1442491591146,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"Liedje: de wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"Liedje: de wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"Liedje: de wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":1,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1442491834775,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
- http_version: '1.1'
40
+ {"_id":"WO_NPO_1950962","_rev":"8-427f3fcb3d9b620ddcd3e9387a4e67c2","objectType":"program","mid":"WO_NPO_1950962","creationDate":1442490263679,"lastModified":1447947725305,"sortDate":1442490263679,"urn":"urn:vpro:media:program:62589080","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"},{"value":"De wielen van de bus","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"De wielen van de bus","owner":"BROADCASTER","type":"MAIN"}],"genres":["Jeugd"],"countries":[],"languages":[],"duration":60000,"descendantOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST"},{"midRef":"POMS_S_NTR_3191139","urnRef":"urn:vpro:media:group:70383463","type":"SERIES"}],"memberOf":[{"midRef":"POMS_S_NPO_2015412","urnRef":"urn:vpro:media:group:62589310","type":"PLAYLIST","index":2,"highlighted":false,"added":1442490529409}],"locations":[{"programUrl":"http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4","avAttributes":{"bitrate":1000000,"avFileFormat":"MP4"},"owner":"BROADCASTER","creationDate":1442490345785,"lastModified":1442490345864,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:62589229"}],"images":[{"title":"Wielen van de bus","description":"wielen van de bus","imageUri":"urn:vpro:image:653515","height":259,"width":559,"owner":"BROADCASTER","type":"PORTRAIT","highlighted":true,"creationDate":1442491591052,"lastModified":1442491591141,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:62590127"}],"publishDate":1454339417687,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version:
42
42
  recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
43
  recorded_with: VCR 2.9.3
@@ -2,41 +2,41 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://docs.poms.omroep.nl/media/_design/media/_view/broadcasts-by-channel-and-start?descending=true&endkey=%5B%22NED3%22%2C+1410882727000%5D&include_docs=true&limit=1&reduce=false&startkey=%5B%22NED3%22%2C+1410969127000%5D
5
+ uri: http://docs.poms.omroep.nl/media/_design/media/_view/broadcasts-by-channel-and-start?descending=true&endkey=%5B%22NED3%22,%201410882727000%5D&include_docs=true&limit=1&reduce=false&startkey=%5B%22NED3%22,%201410969127000%5D
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Fri, 23 Oct 2015 12:11:04 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:30 GMT
23
+ Server:
24
24
  - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
- etag:
26
- - '"23R6ARXC8YQORKQWTBRGOM2WI"'
27
- content-type:
25
+ Etag:
26
+ - '"8IYNB95GD8GZMCCLF2H0JHWL9"'
27
+ Content-Type:
28
28
  - text/plain; charset=utf-8
29
- cache-control:
29
+ Cache-Control:
30
30
  - must-revalidate
31
- x-proxyinstancename:
31
+ X-Proxyinstancename:
32
32
  - poms1b
33
- set-cookie:
34
- - balancer://poms3cluster=balancer.poms1madb; path=/;
35
- transfer-encoding:
33
+ Set-Cookie:
34
+ - balancer://poms3cluster=balancer.poms1s1db; path=/;
35
+ Transfer-Encoding:
36
36
  - chunked
37
37
  body:
38
38
  encoding: UTF-8
39
- string: "{\"total_rows\":876157,\"offset\":331531,\"rows\":[\r\n{\"id\":\"AT_2023343\",\"key\":[\"NED3\",1410966669000],\"value\":null,\"doc\":{\"_id\":\"AT_2023343\",\"_rev\":\"77-ad380957afc1f479fff66e9e9877c31f\",\"objectType\":\"program\",\"mid\":\"AT_2023343\",\"creationDate\":1408855689977,\"lastModified\":1430914291267,\"hasSubtitles\":true,\"sortDate\":1410966669000,\"urn\":\"urn:vpro:media:program:44386090\",\"embeddable\":true,\"episodeOf\":[{\"midRef\":\"AT_2011551\",\"urnRef\":\"urn:vpro:media:group:43525293\",\"type\":\"SEASON\",\"index\":30,\"highlighted\":false,\"added\":1408855690158}],\"broadcasters\":[\"AVROTROS\"],\"titles\":[{\"value\":\"Junior
39
+ string: "{\"total_rows\":937833,\"offset\":362008,\"rows\":[\r\n{\"id\":\"AT_2023343\",\"key\":[\"NED3\",1410966669000],\"value\":null,\"doc\":{\"_id\":\"AT_2023343\",\"_rev\":\"77-ad380957afc1f479fff66e9e9877c31f\",\"objectType\":\"program\",\"mid\":\"AT_2023343\",\"creationDate\":1408855689977,\"lastModified\":1430914291267,\"hasSubtitles\":true,\"sortDate\":1410966669000,\"urn\":\"urn:vpro:media:program:44386090\",\"embeddable\":true,\"episodeOf\":[{\"midRef\":\"AT_2011551\",\"urnRef\":\"urn:vpro:media:group:43525293\",\"type\":\"SEASON\",\"index\":30,\"highlighted\":false,\"added\":1408855690158}],\"broadcasters\":[\"AVROTROS\"],\"titles\":[{\"value\":\"Junior
40
40
  Songfestival 2014\",\"owner\":\"MIS\",\"type\":\"MAIN\"},{\"value\":\"1e Halve
41
41
  Finale LIVE\",\"owner\":\"WHATS_ON\",\"type\":\"MAIN\"},{\"value\":\"1e Halve
42
42
  Finale Herhaling\",\"owner\":\"BROADCASTER\",\"type\":\"SUB\"},{\"value\":\"1e
@@ -55,6 +55,6 @@ http_interactions:
55
55
  de eerste halve finale strijden Bobby & Ella, Chelsea, Sem en Suze tegen elkaar.\",\"owner\":\"MIS\",\"type\":\"KICKER\"}],\"genres\":[\"Jeugd\",\"Muziek\"],\"countries\":[\"NL\"],\"languages\":[],\"avAttributes\":{\"videoAttributes\":{\"color\":\"BLACK_AND_WHITE_AND_COLOR\",\"aspectRatio\":\"16:9\"},\"audioAttributes\":{\"numberOfChannels\":2}},\"releaseYear\":2014,\"duration\":3016180,\"descendantOf\":[{\"midRef\":\"POMS_S_AVRO_096666\",\"urnRef\":\"urn:vpro:media:group:3731025\",\"type\":\"SERIES\"},{\"midRef\":\"AT_2011551\",\"urnRef\":\"urn:vpro:media:group:43525293\",\"type\":\"SEASON\"}],\"predictions\":[{\"state\":\"REALIZED\",\"platform\":\"INTERNETVOD\"},{\"state\":\"REALIZED\",\"publishStart\":1410969687000,\"publishStop\":1413388887000,\"platform\":\"PLUSVOD\"}],\"locations\":[{\"programUrl\":\"odip+http://odi.omroep.nl/video/adaptive/AT_2023343\",\"avAttributes\":{\"avFileFormat\":\"HASP\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972070989,\"lastModified\":1410972071100,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963233\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_sb/AT_2023343\",\"avAttributes\":{\"bitrate\":200000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410969965391,\"lastModified\":1410969965554,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44962711\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_bb/AT_2023343\",\"avAttributes\":{\"bitrate\":500000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410970863160,\"lastModified\":1410970863332,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44962922\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_std/AT_2023343\",\"avAttributes\":{\"bitrate\":1000000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410970873878,\"lastModified\":1410970874078,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44962924\"}],\"scheduleEvents\":[{\"guideDay\":1410904800000,\"start\":1410966669000,\"duration\":3016000,\"poProgID\":\"AT_2023343\",\"channel\":\"NED3\",\"urnRef\":\"urn:vpro:media:program:44386090\",\"midRef\":\"AT_2023343\"}],\"images\":[{\"title\":\"Junior
56
56
  Songfestival 1e halve finale\",\"description\":\"Junior Songfestival 1e halve
57
57
  finale\",\"imageUri\":\"urn:vpro:image:607332\",\"height\":1667,\"width\":2500,\"source\":\"\",\"owner\":\"BROADCASTER\",\"type\":\"PICTURE\",\"highlighted\":false,\"creationDate\":1430914290816,\"lastModified\":1430914290963,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:55030777\"}],\"publishDate\":1436335859110,\"workflow\":\"PUBLISHED\",\"type\":\"BROADCAST\",\"avType\":\"VIDEO\"}}\r\n]}\n"
58
- http_version: '1.1'
58
+ http_version:
59
59
  recorded_at: Wed, 17 Sep 2014 15:52:07 GMT
60
60
  recorded_with: VCR 2.9.3
@@ -0,0 +1,68 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/_design/media/_view/broadcasts-by-channel-and-start?endkey=%5B%22NED3%22,1411055527000%5D&include_docs=true&limit=1&reduce=false&startkey=%5B%22NED3%22,1410969127000%5D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:30 GMT
23
+ Server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ Etag:
26
+ - '"2FU2LZCP2Z323WK9DGGD0ZKHI"'
27
+ Content-Type:
28
+ - text/plain; charset=utf-8
29
+ Cache-Control:
30
+ - must-revalidate
31
+ X-Proxyinstancename:
32
+ - poms1b
33
+ Set-Cookie:
34
+ - balancer://poms3cluster=balancer.poms1madb; path=/;
35
+ Transfer-Encoding:
36
+ - chunked
37
+ body:
38
+ encoding: UTF-8
39
+ string: "{\"total_rows\":937833,\"offset\":575825,\"rows\":[\r\n{\"id\":\"KN_1661991\",\"key\":[\"NED3\",1410969900000],\"value\":null,\"doc\":{\"_id\":\"KN_1661991\",\"_rev\":\"83-090c8431983739dc16ef62342cc3cf63\",\"objectType\":\"program\",\"mid\":\"KN_1661991\",\"creationDate\":1408855690276,\"lastModified\":1448285013315,\"hasSubtitles\":true,\"sortDate\":1410969900000,\"urn\":\"urn:vpro:media:program:44386098\",\"embeddable\":true,\"episodeOf\":[{\"midRef\":\"KN_1660484\",\"urnRef\":\"urn:vpro:media:group:44162415\",\"type\":\"SEASON\",\"index\":13,\"highlighted\":false,\"added\":1408855690427}],\"broadcasters\":[\"NCRV\"],\"titles\":[{\"value\":\"Het
40
+ verborgen eiland\",\"owner\":\"MIS\",\"type\":\"MAIN\"},{\"value\":\"Het verborgen
41
+ eiland\",\"owner\":\"WHATS_ON\",\"type\":\"MAIN\"}],\"descriptions\":[{\"value\":\"Terwijl
42
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
43
+ man. De kinderen hebben ruzie over het wel of niet opeten van het gewonde
44
+ konijn. Opeens is Isis verdwenen. En het konijn ook. Tevens is er flinke storm
45
+ opkomst.\",\"owner\":\"WHATS_ON\",\"type\":\"MAIN\"},{\"value\":\"Terwijl
46
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
47
+ man. De kinderen hebben ruzie over het wel of niet opeten van het gewonde
48
+ konijn.\",\"owner\":\"MIS\",\"type\":\"SHORT\"},{\"value\":\"Terwijl Jip en
49
+ Feike het konijn bevrijden uit een val, zien we plotseling een vreemde man.
50
+ De kinderen hebben ruzie over het wel of niet opeten van het gewonde konijn.
51
+ Opeens is Isis verdwenen. En het konijn ook. Tevens is er flinke storm opkomst.\",\"owner\":\"MIS\",\"type\":\"EPISODE\"},{\"value\":\"Terwijl
52
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
53
+ man.\",\"owner\":\"MIS\",\"type\":\"KICKER\"}],\"genres\":[\"Jeugd\",\"Serie/soap\"],\"countries\":[\"NL\"],\"languages\":[\"NL\"],\"avAttributes\":{\"videoAttributes\":{\"color\":\"BLACK_AND_WHITE_AND_COLOR\",\"aspectRatio\":\"16:9\"},\"audioAttributes\":{\"numberOfChannels\":2}},\"releaseYear\":2014,\"duration\":1190650,\"descendantOf\":[{\"midRef\":\"KN_1660484\",\"urnRef\":\"urn:vpro:media:group:44162415\",\"type\":\"SEASON\"},{\"midRef\":\"POMS_S_KN_608510\",\"urnRef\":\"urn:vpro:media:group:44243120\",\"type\":\"SERIES\"}],\"ageRating\":6,\"contentRatings\":[\"GEWELD\",\"ANGST\"],\"websites\":[{\"value\":\"www.hetverborgeneiland.nl\"}],\"predictions\":[{\"state\":\"REALIZED\",\"platform\":\"INTERNETVOD\"},{\"state\":\"REALIZED\",\"publishStart\":1410971132000,\"publishStop\":1413390332000,\"platform\":\"PLUSVOD\"}],\"locations\":[{\"programUrl\":\"odip+http://odi.omroep.nl/video/adaptive/KN_1661991\",\"avAttributes\":{\"avFileFormat\":\"HASP\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410973863627,\"lastModified\":1410973863786,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963513\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_sb/KN_1661991\",\"avAttributes\":{\"bitrate\":200000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972376294,\"lastModified\":1410972376456,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963260\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_bb/KN_1661991\",\"avAttributes\":{\"bitrate\":500000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972373898,\"lastModified\":1410972374067,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963258\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_std/KN_1661991\",\"avAttributes\":{\"bitrate\":1000000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972667934,\"lastModified\":1410972668120,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963311\"}],\"scheduleEvents\":[{\"textSubtitles\":\"Teletekst
54
+ ondertitels\",\"guideDay\":1410904800000,\"start\":1410969900000,\"offset\":41000,\"duration\":1230000,\"poProgID\":\"KN_1661991\",\"channel\":\"NED3\",\"net\":\"ZAPP\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"},{\"repeat\":{\"isRerun\":true},\"textSubtitles\":\"Teletekst
55
+ ondertitels\",\"guideDay\":1450306800000,\"start\":1450367700000,\"duration\":1239000,\"poProgID\":\"KN_1661991\",\"channel\":\"BVNT\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"},{\"repeat\":{\"isRerun\":true},\"textSubtitles\":\"Teletekst
56
+ ondertitels\",\"guideDay\":1450306800000,\"start\":1450410900000,\"duration\":1239000,\"poProgID\":\"KN_1661991\",\"channel\":\"BVNT\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"}],\"images\":[{\"title\":\"still\",\"description\":\"still\",\"imageUri\":\"urn:vpro:image:512055\",\"height\":413,\"width\":738,\"owner\":\"BROADCASTER\",\"type\":\"STILL\",\"highlighted\":true,\"creationDate\":1410794480560,\"lastModified\":1410794483179,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44900796\"},{\"title\":\"Het
57
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
58
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
59
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512963\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201015,\"lastModified\":1410973201944,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963428\"},{\"title\":\"Het
60
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
61
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
62
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512964\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201362,\"lastModified\":1410973201945,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963429\"},{\"title\":\"Het
63
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
64
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
65
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512965\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201721,\"lastModified\":1410973201945,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963430\"}],\"publishDate\":1449809323127,\"workflow\":\"PUBLISHED\",\"type\":\"BROADCAST\",\"avType\":\"VIDEO\"}}\r\n]}\n"
66
+ http_version:
67
+ recorded_at: Wed, 17 Sep 2014 15:52:07 GMT
68
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,68 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://docs.poms.omroep.nl/media/_design/media/_view/broadcasts-by-channel-and-start?endkey=%5B%22NED3%22,1411055527000%5D&include_docs=true&limit=1&reduce=false&startkey=%5B%22NED3%22,1410969127000%5D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:30 GMT
23
+ Server:
24
+ - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
+ Etag:
26
+ - '"7MLPIE1S35WJSIWX1C2DK1SYO"'
27
+ Content-Type:
28
+ - text/plain; charset=utf-8
29
+ Cache-Control:
30
+ - must-revalidate
31
+ X-Proxyinstancename:
32
+ - poms1b
33
+ Set-Cookie:
34
+ - balancer://poms3cluster=balancer.poms1s1db; path=/;
35
+ Transfer-Encoding:
36
+ - chunked
37
+ body:
38
+ encoding: UTF-8
39
+ string: "{\"total_rows\":937833,\"offset\":575825,\"rows\":[\r\n{\"id\":\"KN_1661991\",\"key\":[\"NED3\",1410969900000],\"value\":null,\"doc\":{\"_id\":\"KN_1661991\",\"_rev\":\"83-090c8431983739dc16ef62342cc3cf63\",\"objectType\":\"program\",\"mid\":\"KN_1661991\",\"creationDate\":1408855690276,\"lastModified\":1448285013315,\"hasSubtitles\":true,\"sortDate\":1410969900000,\"urn\":\"urn:vpro:media:program:44386098\",\"embeddable\":true,\"episodeOf\":[{\"midRef\":\"KN_1660484\",\"urnRef\":\"urn:vpro:media:group:44162415\",\"type\":\"SEASON\",\"index\":13,\"highlighted\":false,\"added\":1408855690427}],\"broadcasters\":[\"NCRV\"],\"titles\":[{\"value\":\"Het
40
+ verborgen eiland\",\"owner\":\"MIS\",\"type\":\"MAIN\"},{\"value\":\"Het verborgen
41
+ eiland\",\"owner\":\"WHATS_ON\",\"type\":\"MAIN\"}],\"descriptions\":[{\"value\":\"Terwijl
42
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
43
+ man. De kinderen hebben ruzie over het wel of niet opeten van het gewonde
44
+ konijn. Opeens is Isis verdwenen. En het konijn ook. Tevens is er flinke storm
45
+ opkomst.\",\"owner\":\"WHATS_ON\",\"type\":\"MAIN\"},{\"value\":\"Terwijl
46
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
47
+ man. De kinderen hebben ruzie over het wel of niet opeten van het gewonde
48
+ konijn.\",\"owner\":\"MIS\",\"type\":\"SHORT\"},{\"value\":\"Terwijl Jip en
49
+ Feike het konijn bevrijden uit een val, zien we plotseling een vreemde man.
50
+ De kinderen hebben ruzie over het wel of niet opeten van het gewonde konijn.
51
+ Opeens is Isis verdwenen. En het konijn ook. Tevens is er flinke storm opkomst.\",\"owner\":\"MIS\",\"type\":\"EPISODE\"},{\"value\":\"Terwijl
52
+ Jip en Feike het konijn bevrijden uit een val, zien we plotseling een vreemde
53
+ man.\",\"owner\":\"MIS\",\"type\":\"KICKER\"}],\"genres\":[\"Jeugd\",\"Serie/soap\"],\"countries\":[\"NL\"],\"languages\":[\"NL\"],\"avAttributes\":{\"videoAttributes\":{\"color\":\"BLACK_AND_WHITE_AND_COLOR\",\"aspectRatio\":\"16:9\"},\"audioAttributes\":{\"numberOfChannels\":2}},\"releaseYear\":2014,\"duration\":1190650,\"descendantOf\":[{\"midRef\":\"KN_1660484\",\"urnRef\":\"urn:vpro:media:group:44162415\",\"type\":\"SEASON\"},{\"midRef\":\"POMS_S_KN_608510\",\"urnRef\":\"urn:vpro:media:group:44243120\",\"type\":\"SERIES\"}],\"ageRating\":6,\"contentRatings\":[\"GEWELD\",\"ANGST\"],\"websites\":[{\"value\":\"www.hetverborgeneiland.nl\"}],\"predictions\":[{\"state\":\"REALIZED\",\"platform\":\"INTERNETVOD\"},{\"state\":\"REALIZED\",\"publishStart\":1410971132000,\"publishStop\":1413390332000,\"platform\":\"PLUSVOD\"}],\"locations\":[{\"programUrl\":\"odip+http://odi.omroep.nl/video/adaptive/KN_1661991\",\"avAttributes\":{\"avFileFormat\":\"HASP\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410973863627,\"lastModified\":1410973863786,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963513\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_sb/KN_1661991\",\"avAttributes\":{\"bitrate\":200000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972376294,\"lastModified\":1410972376456,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963260\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_bb/KN_1661991\",\"avAttributes\":{\"bitrate\":500000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972373898,\"lastModified\":1410972374067,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963258\"},{\"programUrl\":\"odi+http://odi.omroep.nl/video/h264_std/KN_1661991\",\"avAttributes\":{\"bitrate\":1000000,\"avFileFormat\":\"H264\"},\"owner\":\"CERES\",\"platform\":\"INTERNETVOD\",\"creationDate\":1410972667934,\"lastModified\":1410972668120,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:location:44963311\"}],\"scheduleEvents\":[{\"textSubtitles\":\"Teletekst
54
+ ondertitels\",\"guideDay\":1410904800000,\"start\":1410969900000,\"offset\":41000,\"duration\":1230000,\"poProgID\":\"KN_1661991\",\"channel\":\"NED3\",\"net\":\"ZAPP\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"},{\"repeat\":{\"isRerun\":true},\"textSubtitles\":\"Teletekst
55
+ ondertitels\",\"guideDay\":1450306800000,\"start\":1450367700000,\"duration\":1239000,\"poProgID\":\"KN_1661991\",\"channel\":\"BVNT\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"},{\"repeat\":{\"isRerun\":true},\"textSubtitles\":\"Teletekst
56
+ ondertitels\",\"guideDay\":1450306800000,\"start\":1450410900000,\"duration\":1239000,\"poProgID\":\"KN_1661991\",\"channel\":\"BVNT\",\"urnRef\":\"urn:vpro:media:program:44386098\",\"midRef\":\"KN_1661991\"}],\"images\":[{\"title\":\"still\",\"description\":\"still\",\"imageUri\":\"urn:vpro:image:512055\",\"height\":413,\"width\":738,\"owner\":\"BROADCASTER\",\"type\":\"STILL\",\"highlighted\":true,\"creationDate\":1410794480560,\"lastModified\":1410794483179,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44900796\"},{\"title\":\"Het
57
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
58
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
59
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512963\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201015,\"lastModified\":1410973201944,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963428\"},{\"title\":\"Het
60
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
61
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
62
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512964\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201362,\"lastModified\":1410973201945,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963429\"},{\"title\":\"Het
63
+ verborgen eiland\",\"description\":\"Terwijl Jip en Feike het konijn bevrijden
64
+ uit een val, zien we plotseling een vreemde man. De kinderen hebben ruzie
65
+ over het wel of niet opeten van het gewonde konijn.\",\"imageUri\":\"urn:vpro:image:512965\",\"owner\":\"NEBO\",\"type\":\"STILL\",\"highlighted\":false,\"creationDate\":1410973201721,\"lastModified\":1410973201945,\"workflow\":\"PUBLISHED\",\"urn\":\"urn:vpro:media:image:44963430\"}],\"publishDate\":1449809323127,\"workflow\":\"PUBLISHED\",\"type\":\"BROADCAST\",\"avType\":\"VIDEO\"}}\r\n]}\n"
66
+ http_version:
67
+ recorded_at: Wed, 17 Sep 2014 15:52:07 GMT
68
+ recorded_with: VCR 2.9.3
@@ -7,40 +7,40 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Tue, 05 Jan 2016 16:34:17 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:28 GMT
23
+ Server:
24
24
  - Apache/2.4.12 (Unix) OpenSSL/1.0.1k
25
- vary:
25
+ Vary:
26
26
  - Accept
27
- cache-control:
27
+ Cache-Control:
28
28
  - public
29
- etag:
30
- - '"47646207"'
31
- last-modified:
32
- - Tue, 05 Jan 2016 08:47:10 GMT
33
- content-type:
29
+ Etag:
30
+ - '"3474294"'
31
+ Last-Modified:
32
+ - Fri, 05 Feb 2016 13:41:26 GMT
33
+ Content-Type:
34
34
  - application/json;charset=utf-8
35
- x-proxyinstancename:
35
+ X-Proxyinstancename:
36
36
  - poms1a
37
- set-cookie:
38
- - balancer://poms8cluster=balancer.poms8aas; path=/;
39
- transfer-encoding:
37
+ Set-Cookie:
38
+ - balancer://poms8cluster=balancer.poms8bas; path=/;
39
+ Transfer-Encoding:
40
40
  - chunked
41
41
  body:
42
42
  encoding: UTF-8
43
- string: '{"lastUpdate":"2016-01-05T09:47:10.672+01:00","map":{"POMS_S_EO_097367":"VPWON_1257896"}}'
44
- http_version: '1.1'
43
+ string: '{"lastUpdate":"2016-02-05T14:41:26.817+01:00","map":{"POMS_S_VPRO_083803":"VPWON_1250374","POMS_S_AVRO_096666":"POMS_S_AVRO_120136","POMS_S_TVGELDERLAND_133433":"POMS_S_RTVNH_133605","POMS_S_EO_097367":"VPWON_1257896","POMS_S_AVRO_120136":"POMS_S_VPRO_397956","POMS_S_AVRO_480138":"POMS_S_VPRO_113176","POMS_S_NTR_059958":"VPWON_1247335","POMS_S_NTR_452571":"VPWON_1249361","POMS_S_VPRO_686783":"VPWON_1250334","POMS_S_EO_059855":"VPWON_1257901","POMS_S_VPRO_405636":"VPWON_1250305","POMS_S_TROS_608455":"AT_2033889","POMS_S_MAX_112154":"POW_03094259","POMS_S_VPRO_084079":"VPWON_1250846","POMS_S_MAX_108583":"POW_03075258"}}'
44
+ http_version:
45
45
  recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
46
46
  recorded_with: VCR 2.9.3
@@ -7,37 +7,37 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Fri, 23 Oct 2015 12:11:03 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:27 GMT
23
+ Server:
24
24
  - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
- etag:
25
+ Etag:
26
26
  - '"4-357e2089c9265f0423947fef7cec1e4a"'
27
- content-type:
27
+ Content-Type:
28
28
  - text/plain; charset=utf-8
29
- content-length:
29
+ Content-Length:
30
30
  - '2611'
31
- cache-control:
31
+ Cache-Control:
32
32
  - must-revalidate
33
- x-proxyinstancename:
33
+ X-Proxyinstancename:
34
34
  - poms1b
35
- set-cookie:
35
+ Set-Cookie:
36
36
  - balancer://poms3cluster=balancer.poms1s1db; path=/;
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: |
40
40
  {"_id":"POW_00182680","_rev":"4-357e2089c9265f0423947fef7cec1e4a","objectType":"program","mid":"POW_00182680","creationDate":1384336210169,"lastModified":1418306875975,"sortDate":1239290408000,"urn":"urn:vpro:media:program:32429680","embeddable":true,"episodeOf":[{"midRef":"POW_00182675","urnRef":"urn:vpro:media:group:25364103","type":"SEASON","index":5,"highlighted":false,"added":1384336210271}],"broadcasters":["AVRO"],"titles":[{"value":"De uitverkorene","owner":"WHATS_ON","type":"MAIN"},{"value":"The Chosen One","owner":"WHATS_ON","type":"ORIGINAL"}],"descriptions":[{"value":"Live action comedy serie over Taylor Fry, een 11-jarig meisje met een rijke fantasie","owner":"WHATS_ON","type":"MAIN"}],"genres":[],"countries":[],"languages":[],"avAttributes":{"videoAttributes":{"color":"BLACK_AND_WHITE_AND_COLOR","aspectRatio":"16:9"},"audioAttributes":{"numberOfChannels":2}},"descendantOf":[{"midRef":"POW_00182675","urnRef":"urn:vpro:media:group:25364103","type":"SEASON"}],"scheduleEvents":[{"start":1239290408000,"duration":1323000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1267799700000,"duration":1323000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1271943407000,"duration":1323000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1272184155000,"duration":1312000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1303221344000,"duration":1320000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1303552520000,"duration":1321000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1310894549000,"duration":1312000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"},{"start":1371477678000,"duration":1321000,"poProgID":"POW_00182680","channel":"NED3","urnRef":"urn:vpro:media:program:32429680","midRef":"POW_00182680"}],"images":[{"title":"Zooo genant","description":"Zooo genant","imageUri":"urn:vpro:image:549327","height":1152,"width":2048,"credits":"","creationDate":1418306875888,"lastModified":1418306875968,"workflow":"PUBLISHED","owner":"BROADCASTER","type":"PROMO_LANDSCAPE","highlighted":false,"urn":"urn:vpro:media:image:48888808"}],"workflow":"PUBLISHED","type":"BROADCAST","avType":"VIDEO"}
41
- http_version: '1.1'
41
+ http_version:
42
42
  recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
43
  recorded_with: VCR 2.9.3
@@ -7,37 +7,37 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Fri, 23 Oct 2015 12:11:03 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:27 GMT
23
+ Server:
24
24
  - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
- etag:
26
- - '"7-2fff432a2a8578db51cf7eb4f8670b92"'
27
- content-type:
25
+ Etag:
26
+ - '"10-2155cf84a66f4d27d45a64e45669f32e"'
27
+ Content-Type:
28
28
  - text/plain; charset=utf-8
29
- content-length:
30
- - '3344'
31
- cache-control:
29
+ Content-Length:
30
+ - '3577'
31
+ Cache-Control:
32
32
  - must-revalidate
33
- x-proxyinstancename:
33
+ X-Proxyinstancename:
34
34
  - poms1b
35
- set-cookie:
35
+ Set-Cookie:
36
36
  - balancer://poms3cluster=balancer.poms1madb; path=/;
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: |
40
- {"_id":"POMS_EO_622912","_rev":"7-2fff432a2a8578db51cf7eb4f8670b92","objectType":"program","mid":"POMS_EO_622912","creationDate":1410179860837,"lastModified":1427709495597,"sortDate":1410179860837,"urn":"urn:vpro:media:program:44738242","embeddable":true,"broadcasters":["EO"],"titles":[{"value":"Thuistest knalerwt","owner":"BROADCASTER","type":"MAIN"},{"value":"cp s9 thuistest knalerwt","owner":"BROADCASTER","type":"WORK"}],"descriptions":[{"value":"Zin om je ouders even flink te laten schrikken? Koen weet hoe! Met knalerwten op de wc. Dat wordt lachen!","owner":"BROADCASTER","type":"MAIN"},{"value":"Zin om je ouders even flink te laten schrikken?","owner":"BROADCASTER","type":"SHORT"}],"genres":[],"countries":[],"languages":[],"avAttributes":{"avFileFormat":"UNKNOWN"},"duration":76000,"descendantOf":[{"midRef":"POMS_S_EO_470019","urnRef":"urn:vpro:media:group:35771109","type":"COLLECTION"},{"midRef":"POMS_S_NPO_823012","urnRef":"urn:vpro:media:group:53249931","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_EO_470019","urnRef":"urn:vpro:media:group:35771109","type":"COLLECTION","index":1,"highlighted":false,"added":1410179861151},{"midRef":"POMS_S_NPO_823012","urnRef":"urn:vpro:media:group:53249931","type":"PLAYLIST","index":2,"highlighted":false,"added":1427709494490}],"locations":[{"programUrl":"odiw+http://odi.omroep.nl/o/eo/01KnalerwtenChec_48a8bf0d.ism","avAttributes":{"avFileFormat":"HASP"},"owner":"BROADCASTER","creationDate":1410179839574,"lastModified":1410179860862,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738254"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-264k.mp4","avAttributes":{"bitrate":264000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860851,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738248"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-628k.mp4","avAttributes":{"bitrate":628000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860852,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738250"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-828k.mp4","avAttributes":{"bitrate":828000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860857,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738252"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-1092k.mp4","avAttributes":{"bitrate":1092000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860850,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738246"}],"relations":[{"value":"2014-09-09T16:30:14+02:00","urn":"urn:vpro:media:relation:44738416","broadcaster":"EO","type":"LAST_MODIFIED"},{"value":"Helena Hunink","urn":"urn:vpro:media:relation:44738417","broadcaster":"EO","type":"LAST_MODIFIER"}],"images":[{"title":"Checkpoint thuistest Koen knalerwt op wc","description":"Still","imageUri":"urn:vpro:image:509100","owner":"BROADCASTER","type":"PICTURE","highlighted":false,"creationDate":1410180105740,"lastModified":1410180105861,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:44738415"}],"publishDate":1427709677036,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
- http_version: '1.1'
40
+ {"_id":"POMS_EO_622912","_rev":"10-2155cf84a66f4d27d45a64e45669f32e","objectType":"program","mid":"POMS_EO_622912","creationDate":1410179860837,"lastModified":1448958866113,"sortDate":1410179860837,"urn":"urn:vpro:media:program:44738242","embeddable":true,"broadcasters":["EO"],"titles":[{"value":"Thuistest knalerwt","owner":"BROADCASTER","type":"MAIN"},{"value":"cp s9 thuistest knalerwt","owner":"BROADCASTER","type":"WORK"}],"descriptions":[{"value":"Zin om je ouders even flink te laten schrikken? Koen weet hoe! Met knalerwten op de wc. Dat wordt lachen!","owner":"BROADCASTER","type":"MAIN"},{"value":"Zin om je ouders even flink te laten schrikken?","owner":"BROADCASTER","type":"SHORT"}],"genres":[],"countries":[],"languages":[],"avAttributes":{"avFileFormat":"UNKNOWN"},"duration":76000,"descendantOf":[{"midRef":"POMS_S_EO_470019","urnRef":"urn:vpro:media:group:35771109","type":"COLLECTION"},{"midRef":"POMS_S_NPO_823012","urnRef":"urn:vpro:media:group:53249931","type":"PLAYLIST"},{"midRef":"POMS_S_EO_2698534","urnRef":"urn:vpro:media:group:66860512","type":"PLAYLIST"}],"memberOf":[{"midRef":"POMS_S_EO_470019","urnRef":"urn:vpro:media:group:35771109","type":"COLLECTION","index":1,"highlighted":false,"added":1410179861151},{"midRef":"POMS_S_NPO_823012","urnRef":"urn:vpro:media:group:53249931","type":"PLAYLIST","index":2,"highlighted":false,"added":1427709494490},{"midRef":"POMS_S_EO_2698534","urnRef":"urn:vpro:media:group:66860512","type":"PLAYLIST","index":8,"highlighted":false,"added":1448958865887}],"locations":[{"programUrl":"odiw+http://odi.omroep.nl/o/eo/01KnalerwtenChec_48a8bf0d.ism","avAttributes":{"avFileFormat":"HASP"},"owner":"BROADCASTER","creationDate":1410179839574,"lastModified":1410179860862,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738254"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-264k.mp4","avAttributes":{"bitrate":264000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860851,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738248"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-628k.mp4","avAttributes":{"bitrate":628000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860852,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738250"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-828k.mp4","avAttributes":{"bitrate":828000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860857,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738252"},{"programUrl":"http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-1092k.mp4","avAttributes":{"bitrate":1092000,"avFileFormat":"M4V"},"owner":"BROADCASTER","creationDate":1410179839573,"lastModified":1410179860850,"workflow":"PUBLISHED","urn":"urn:vpro:media:location:44738246"}],"relations":[{"value":"2014-09-09T16:30:14+02:00","urn":"urn:vpro:media:relation:44738416","broadcaster":"EO","type":"LAST_MODIFIED"},{"value":"Helena Hunink","urn":"urn:vpro:media:relation:44738417","broadcaster":"EO","type":"LAST_MODIFIER"}],"images":[{"title":"Checkpoint thuistest Koen knalerwt op wc","description":"Still","imageUri":"urn:vpro:image:509100","owner":"BROADCASTER","type":"PICTURE","highlighted":false,"creationDate":1410180105740,"lastModified":1410180105861,"workflow":"PUBLISHED","urn":"urn:vpro:media:image:44738415"}],"publishDate":1448959051046,"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
+ http_version:
42
42
  recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
43
  recorded_with: VCR 2.9.3
@@ -7,37 +7,37 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept-encoding:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- accept:
12
+ Accept:
13
13
  - "*/*"
14
- user-agent:
14
+ User-Agent:
15
15
  - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- date:
22
- - Fri, 23 Oct 2015 12:11:03 GMT
23
- server:
21
+ Date:
22
+ - Tue, 09 Feb 2016 11:02:27 GMT
23
+ Server:
24
24
  - CouchDB/1.6.1 (Erlang OTP/R15B01)
25
- etag:
25
+ Etag:
26
26
  - '"6-c273a64fa0e3d8caa9fcf5c91628b93a"'
27
- content-type:
27
+ Content-Type:
28
28
  - text/plain; charset=utf-8
29
- content-length:
29
+ Content-Length:
30
30
  - '1179'
31
- cache-control:
31
+ Cache-Control:
32
32
  - must-revalidate
33
- x-proxyinstancename:
33
+ X-Proxyinstancename:
34
34
  - poms1b
35
- set-cookie:
35
+ Set-Cookie:
36
36
  - balancer://poms3cluster=balancer.poms1madb; path=/;
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: |
40
40
  {"_id":"WO_NPO_698651","_rev":"6-c273a64fa0e3d8caa9fcf5c91628b93a","objectType":"program","mid":"WO_NPO_698651","creationDate":1416385472320,"lastModified":1418296810527,"sortDate":1416385472320,"urn":"urn:vpro:media:program:47726905","embeddable":true,"broadcasters":["NPO"],"titles":[{"value":"Promo Zapp-app","owner":"BROADCASTER","type":"MAIN"},{"value":"1","owner":"BROADCASTER","type":"SUB"}],"descriptions":[{"value":"Promo Zapp-app","owner":"BROADCASTER","type":"MAIN"}],"genres":[],"countries":[],"languages":[],"duration":60000,"locations":[{"programUrl":"http://www.publiekeomroep.nl/zapp/MP4/Zappapp.mp4","avAttributes":{"bitrate":1694000,"avFileFormat":"MP4"},"creationDate":1416385473319,"lastModified":1416385473621,"workflow":"PUBLISHED","owner":"BROADCASTER","urn":"urn:vpro:media:location:47726922"}],"images":[{"title":"Zappzapp","description":"Zappapp","imageUri":"urn:vpro:image:539854","height":315,"width":573,"credits":"","creationDate":1416385549296,"lastModified":1416385549383,"workflow":"PUBLISHED","owner":"BROADCASTER","type":"STILL","highlighted":false,"urn":"urn:vpro:media:image:47726953"}],"workflow":"PUBLISHED","type":"CLIP","avType":"VIDEO"}
41
- http_version: '1.1'
41
+ http_version:
42
42
  recorded_at: Tue, 06 Oct 2015 12:00:00 GMT
43
43
  recorded_with: VCR 2.9.3