poms 1.2.2 → 2.0.0.a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +17 -0
  3. data/.rubocop.yml +24 -0
  4. data/.ruby-version +1 -0
  5. data/.todo.reek +50 -0
  6. data/CHANGELOG.md +1 -0
  7. data/Gemfile +4 -0
  8. data/README.md +54 -6
  9. data/bin/ci-run +57 -0
  10. data/bin/ci-setup +46 -0
  11. data/bin/reek +16 -0
  12. data/bin/rspec +16 -0
  13. data/bin/rubocop +16 -0
  14. data/examples/fetch.rb +16 -0
  15. data/examples/search.rb +17 -0
  16. data/lib/poms.rb +84 -156
  17. data/lib/poms/api/auth.rb +42 -22
  18. data/lib/poms/api/client.rb +58 -0
  19. data/lib/poms/api/drivers/net_http.rb +69 -0
  20. data/lib/poms/api/json_client.rb +35 -0
  21. data/lib/poms/api/pagination_client.rb +67 -0
  22. data/lib/poms/api/request.rb +29 -31
  23. data/lib/poms/api/response.rb +31 -0
  24. data/lib/poms/api/search.rb +38 -0
  25. data/lib/poms/api/uris.rb +10 -0
  26. data/lib/poms/api/uris/media.rb +41 -0
  27. data/lib/poms/api/uris/schedule.rb +28 -0
  28. data/lib/poms/configuration.rb +59 -0
  29. data/lib/poms/errors.rb +26 -0
  30. data/lib/poms/fields.rb +26 -3
  31. data/lib/poms/timestamp.rb +10 -3
  32. data/lib/poms/version.rb +1 -1
  33. data/poms.gemspec +10 -11
  34. metadata +59 -128
  35. data/Gemfile.lock +0 -120
  36. data/lib/poms/base.rb +0 -8
  37. data/lib/poms/broadcast.rb +0 -55
  38. data/lib/poms/builder.rb +0 -92
  39. data/lib/poms/builderless/broadcast.rb +0 -37
  40. data/lib/poms/builderless/clip.rb +0 -36
  41. data/lib/poms/connect.rb +0 -11
  42. data/lib/poms/has_ancestors.rb +0 -54
  43. data/lib/poms/has_base_attributes.rb +0 -29
  44. data/lib/poms/merged_series.rb +0 -28
  45. data/lib/poms/poms_error.rb +0 -5
  46. data/lib/poms/schedule_event.rb +0 -34
  47. data/lib/poms/season.rb +0 -13
  48. data/lib/poms/series.rb +0 -12
  49. data/lib/poms/views.rb +0 -52
  50. data/spec/fabricators/poms_fabricator.rb +0 -44
  51. data/spec/fixtures/poms_broadcast.json +0 -318
  52. data/spec/fixtures/poms_broadcast_multiple_schedule_events.json +0 -354
  53. data/spec/fixtures/poms_broadcast_pippi.json +0 -180
  54. data/spec/fixtures/poms_group.json +0 -1087
  55. data/spec/fixtures/poms_series.json +0 -49
  56. data/spec/fixtures/poms_single_broadcast_by_channel.json +0 -136
  57. data/spec/fixtures/poms_zapp.json +0 -47363
  58. data/spec/fixtures/vcr_cassettes/poms/builderless/broadcast_starts_at/returns_a_datetime.yml +0 -53
  59. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_position.yml +0 -43
  60. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_title.yml +0 -43
  61. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_a_video_url.yml +0 -43
  62. data/spec/fixtures/vcr_cassettes/poms/builderless/clip/has_an_image_id.yml +0 -43
  63. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_current_broadcast_fetches_the_current_broadcast.yml +0 -60
  64. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_next_broadcast_and_key_fetches_the_current_broadcast.yml +0 -68
  65. data/spec/fixtures/vcr_cassettes/poms/fetch_broadcasts_fetch_next_broadcast_and_key_returns_the_key.yml +0 -68
  66. data/spec/fixtures/vcr_cassettes/poms/merged_series/turns_the_json_into_a_hash.yml +0 -46
  67. data/spec/fixtures/vcr_cassettes/poms_fetch/a_broadcast_has_scheduled_events_with_last_with_starts_at.yml +0 -43
  68. data/spec/fixtures/vcr_cassettes/poms_fetch/a_clip_has_a_title.yml +0 -43
  69. data/spec/fixtures/vcr_cassettes/poms_fetch/an_aankeiler_has_images.yml +0 -43
  70. data/spec/fixtures/vcr_cassettes/poms_fetch_broadcasts_for_serie/returns_nil_when_a_broadcast_does_not_exist.yml +0 -42
  71. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_a_mid.yml +0 -51
  72. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_a_title.yml +0 -51
  73. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast/has_scheduled_events_with_last_with_starts_at.yml +0 -51
  74. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast_and_key/has_a_broadcast_with_a_mid.yml +0 -51
  75. data/spec/fixtures/vcr_cassettes/poms_fetch_current_broadcast_and_key/has_a_key.yml +0 -51
  76. data/spec/fixtures/vcr_cassettes/poms_fetch_descendant_mids/returns_a_list_of_mids.yml +0 -42
  77. data/spec/fixtures/vcr_cassettes/poms_fetch_descendants_for_serie/builds_a_list_of_broadcasts.yml +0 -102755
  78. data/spec/fixtures/vcr_cassettes/poms_fetch_group/has_a_child_with_a_media_type.yml +0 -448
  79. data/spec/fixtures/vcr_cassettes/poms_fetch_group/has_a_child_with_a_title.yml +0 -448
  80. data/spec/fixtures/vcr_cassettes/poms_fetch_playlist_clips/creates_an_array_of_clips.yml +0 -1051
  81. data/spec/integration/poms_spec.rb +0 -87
  82. data/spec/lib/poms/api/auth_spec.rb +0 -34
  83. data/spec/lib/poms/api/request_spec.rb +0 -30
  84. data/spec/lib/poms/broadcast_spec.rb +0 -49
  85. data/spec/lib/poms/builder_spec.rb +0 -53
  86. data/spec/lib/poms/builderless/broadcast_spec.rb +0 -11
  87. data/spec/lib/poms/builderless/clip_spec.rb +0 -20
  88. data/spec/lib/poms/fields_spec.rb +0 -63
  89. data/spec/lib/poms/merged_series_spec.rb +0 -26
  90. data/spec/lib/poms/schedule_event_spec.rb +0 -15
  91. data/spec/lib/poms/timestamp_spec.rb +0 -13
  92. data/spec/lib/poms/views_spec.rb +0 -38
  93. data/spec/lib/poms_spec.rb +0 -137
  94. data/spec/spec_helper.rb +0 -32
@@ -1,1087 +0,0 @@
1
- {
2
- "total_rows": 105660,
3
- "offset": 46037,
4
- "rows": [
5
- {
6
- "id": "POMS_EO_547744",
7
- "key": "POMS_S_NPO_823012",
8
- "value": null,
9
- "doc": {
10
- "_id": "POMS_EO_547744",
11
- "_rev": "2-0d5fa854afc0e01ead44338ae4d96336",
12
- "objectType": "program",
13
- "mid": "POMS_EO_547744",
14
- "creationDate": 1401803507269,
15
- "lastModified": 1427709495598,
16
- "publishStart": -3552634270000,
17
- "sortDate": -3552634270000,
18
- "urn": "urn:vpro:media:program:42526105",
19
- "embeddable": true,
20
- "broadcasters": [
21
- "EO"
22
- ],
23
- "titles": [
24
- {
25
- "value": "Checkpoint thuistest Kompas",
26
- "owner": "BROADCASTER",
27
- "type": "MAIN"
28
- },
29
- {
30
- "value": "Checkpoint thuistest Kompas",
31
- "owner": "BROADCASTER",
32
- "type": "WORK"
33
- }
34
- ],
35
- "genres": [],
36
- "countries": [],
37
- "languages": [],
38
- "avAttributes": {
39
- "avFileFormat": "UNKNOWN"
40
- },
41
- "descendantOf": [
42
- {
43
- "midRef": "POMS_S_NPO_823012",
44
- "urnRef": "urn:vpro:media:group:53249931",
45
- "type": "PLAYLIST"
46
- }
47
- ],
48
- "memberOf": [
49
- {
50
- "midRef": "POMS_S_NPO_823012",
51
- "urnRef": "urn:vpro:media:group:53249931",
52
- "type": "PLAYLIST",
53
- "index": 5,
54
- "highlighted": false,
55
- "added": 1427709495073
56
- }
57
- ],
58
- "locations": [
59
- {
60
- "programUrl": "http://download.omroep.nl/ugc/eo/file20111007141433BBE1DD5673FD4FFCA90CCDE665B8F5F0.m4v",
61
- "avAttributes": {
62
- "avFileFormat": "M4V"
63
- },
64
- "owner": "BROADCASTER",
65
- "creationDate": 1401803465896,
66
- "lastModified": 1401803507279,
67
- "workflow": "PUBLISHED",
68
- "urn": "urn:vpro:media:location:42526110"
69
- },
70
- {
71
- "programUrl": "http://download.omroep.nl/ugc/eo/file201110071414047414D17C9C6D455C8B3F4DDB8480FFBF.flv",
72
- "avAttributes": {
73
- "avFileFormat": "FLV"
74
- },
75
- "owner": "BROADCASTER",
76
- "creationDate": 1401803465896,
77
- "lastModified": 1401803507278,
78
- "workflow": "PUBLISHED",
79
- "urn": "urn:vpro:media:location:42526108"
80
- },
81
- {
82
- "programUrl": "http://download.omroep.nl/ugc/eo/file2011100714143890DB45C9C028465C83BDB10D5D004F1B.flv",
83
- "avAttributes": {
84
- "avFileFormat": "FLV"
85
- },
86
- "owner": "BROADCASTER",
87
- "creationDate": 1401803465897,
88
- "lastModified": 1401803507280,
89
- "workflow": "PUBLISHED",
90
- "urn": "urn:vpro:media:location:42526112"
91
- }
92
- ],
93
- "images": [
94
- {
95
- "title": "Still",
96
- "description": "Still",
97
- "imageUri": "urn:vpro:image:473013",
98
- "owner": "BROADCASTER",
99
- "type": "STILL",
100
- "highlighted": false,
101
- "creationDate": 1401803507256,
102
- "lastModified": 1401803507277,
103
- "workflow": "PUBLISHED",
104
- "urn": "urn:vpro:media:image:42526106"
105
- }
106
- ],
107
- "publishDate": 1427709535436,
108
- "workflow": "PUBLISHED",
109
- "type": "CLIP",
110
- "avType": "VIDEO"
111
- }
112
- },
113
- {
114
- "id": "POMS_EO_547746",
115
- "key": "POMS_S_NPO_823012",
116
- "value": null,
117
- "doc": {
118
- "_id": "POMS_EO_547746",
119
- "_rev": "2-484b2a65cf21b794f85094f9b5a4e28c",
120
- "objectType": "program",
121
- "mid": "POMS_EO_547746",
122
- "creationDate": 1401803616471,
123
- "lastModified": 1427709495598,
124
- "publishStart": -3552634270000,
125
- "sortDate": -3552634270000,
126
- "urn": "urn:vpro:media:program:42526196",
127
- "embeddable": true,
128
- "broadcasters": [
129
- "EO"
130
- ],
131
- "titles": [
132
- {
133
- "value": "Checkpoint thuistest Rookmachine",
134
- "owner": "BROADCASTER",
135
- "type": "MAIN"
136
- },
137
- {
138
- "value": "Checkpoint thuistest Rookmachine",
139
- "owner": "BROADCASTER",
140
- "type": "WORK"
141
- }
142
- ],
143
- "genres": [],
144
- "countries": [],
145
- "languages": [],
146
- "avAttributes": {
147
- "avFileFormat": "UNKNOWN"
148
- },
149
- "descendantOf": [
150
- {
151
- "midRef": "POMS_S_NPO_823012",
152
- "urnRef": "urn:vpro:media:group:53249931",
153
- "type": "PLAYLIST"
154
- }
155
- ],
156
- "memberOf": [
157
- {
158
- "midRef": "POMS_S_NPO_823012",
159
- "urnRef": "urn:vpro:media:group:53249931",
160
- "type": "PLAYLIST",
161
- "index": 4,
162
- "highlighted": false,
163
- "added": 1427709494869
164
- }
165
- ],
166
- "locations": [
167
- {
168
- "programUrl": "http://download.omroep.nl/ugc/eo/file20111007142133DB90D3D20C1C462DABB9A5D19C8D85BB.m4v",
169
- "avAttributes": {
170
- "avFileFormat": "M4V"
171
- },
172
- "owner": "BROADCASTER",
173
- "creationDate": 1401803590346,
174
- "lastModified": 1401803617137,
175
- "workflow": "PUBLISHED",
176
- "urn": "urn:vpro:media:location:42526201"
177
- },
178
- {
179
- "programUrl": "http://download.omroep.nl/ugc/eo/file20111007142043DBAD533FD2974674AD695617FF9A8E96.flv",
180
- "avAttributes": {
181
- "avFileFormat": "FLV"
182
- },
183
- "owner": "BROADCASTER",
184
- "creationDate": 1401803590346,
185
- "lastModified": 1401803617136,
186
- "workflow": "PUBLISHED",
187
- "urn": "urn:vpro:media:location:42526199"
188
- },
189
- {
190
- "programUrl": "http://download.omroep.nl/ugc/eo/file20111007142153AE18956BA40342A3813EC3D7E18E0F4B.flv",
191
- "avAttributes": {
192
- "avFileFormat": "FLV"
193
- },
194
- "owner": "BROADCASTER",
195
- "creationDate": 1401803590347,
196
- "lastModified": 1401803617139,
197
- "workflow": "PUBLISHED",
198
- "urn": "urn:vpro:media:location:42526203"
199
- }
200
- ],
201
- "images": [
202
- {
203
- "title": "Still",
204
- "description": "Still",
205
- "imageUri": "urn:vpro:image:473015",
206
- "owner": "BROADCASTER",
207
- "type": "STILL",
208
- "highlighted": false,
209
- "creationDate": 1401803616457,
210
- "lastModified": 1401803617134,
211
- "workflow": "PUBLISHED",
212
- "urn": "urn:vpro:media:image:42526197"
213
- }
214
- ],
215
- "publishDate": 1427709535437,
216
- "workflow": "PUBLISHED",
217
- "type": "CLIP",
218
- "avType": "VIDEO"
219
- }
220
- },
221
- {
222
- "id": "POMS_EO_622912",
223
- "key": "POMS_S_NPO_823012",
224
- "value": null,
225
- "doc": {
226
- "_id": "POMS_EO_622912",
227
- "_rev": "7-2fff432a2a8578db51cf7eb4f8670b92",
228
- "objectType": "program",
229
- "mid": "POMS_EO_622912",
230
- "creationDate": 1410179860837,
231
- "lastModified": 1427709495597,
232
- "sortDate": 1410179860837,
233
- "urn": "urn:vpro:media:program:44738242",
234
- "embeddable": true,
235
- "broadcasters": [
236
- "EO"
237
- ],
238
- "titles": [
239
- {
240
- "value": "Thuistest knalerwt",
241
- "owner": "BROADCASTER",
242
- "type": "MAIN"
243
- },
244
- {
245
- "value": "cp s9 thuistest knalerwt",
246
- "owner": "BROADCASTER",
247
- "type": "WORK"
248
- }
249
- ],
250
- "descriptions": [
251
- {
252
- "value": "Zin om je ouders even flink te laten schrikken? Koen weet hoe! Met knalerwten op de wc. Dat wordt lachen!",
253
- "owner": "BROADCASTER",
254
- "type": "MAIN"
255
- },
256
- {
257
- "value": "Zin om je ouders even flink te laten schrikken?",
258
- "owner": "BROADCASTER",
259
- "type": "SHORT"
260
- }
261
- ],
262
- "genres": [],
263
- "countries": [],
264
- "languages": [],
265
- "avAttributes": {
266
- "avFileFormat": "UNKNOWN"
267
- },
268
- "duration": 76000,
269
- "descendantOf": [
270
- {
271
- "midRef": "POMS_S_EO_470019",
272
- "urnRef": "urn:vpro:media:group:35771109",
273
- "type": "COLLECTION"
274
- },
275
- {
276
- "midRef": "POMS_S_NPO_823012",
277
- "urnRef": "urn:vpro:media:group:53249931",
278
- "type": "PLAYLIST"
279
- }
280
- ],
281
- "memberOf": [
282
- {
283
- "midRef": "POMS_S_EO_470019",
284
- "urnRef": "urn:vpro:media:group:35771109",
285
- "type": "COLLECTION",
286
- "index": 1,
287
- "highlighted": false,
288
- "added": 1410179861151
289
- },
290
- {
291
- "midRef": "POMS_S_NPO_823012",
292
- "urnRef": "urn:vpro:media:group:53249931",
293
- "type": "PLAYLIST",
294
- "index": 2,
295
- "highlighted": false,
296
- "added": 1427709494490
297
- }
298
- ],
299
- "locations": [
300
- {
301
- "programUrl": "odiw+http://odi.omroep.nl/o/eo/01KnalerwtenChec_48a8bf0d.ism",
302
- "avAttributes": {
303
- "avFileFormat": "HASP"
304
- },
305
- "owner": "BROADCASTER",
306
- "creationDate": 1410179839574,
307
- "lastModified": 1410179860862,
308
- "workflow": "PUBLISHED",
309
- "urn": "urn:vpro:media:location:44738254"
310
- },
311
- {
312
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-264k.mp4",
313
- "avAttributes": {
314
- "bitrate": 264000,
315
- "avFileFormat": "M4V"
316
- },
317
- "owner": "BROADCASTER",
318
- "creationDate": 1410179839573,
319
- "lastModified": 1410179860851,
320
- "workflow": "PUBLISHED",
321
- "urn": "urn:vpro:media:location:44738248"
322
- },
323
- {
324
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-628k.mp4",
325
- "avAttributes": {
326
- "bitrate": 628000,
327
- "avFileFormat": "M4V"
328
- },
329
- "owner": "BROADCASTER",
330
- "creationDate": 1410179839573,
331
- "lastModified": 1410179860852,
332
- "workflow": "PUBLISHED",
333
- "urn": "urn:vpro:media:location:44738250"
334
- },
335
- {
336
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-828k.mp4",
337
- "avAttributes": {
338
- "bitrate": 828000,
339
- "avFileFormat": "M4V"
340
- },
341
- "owner": "BROADCASTER",
342
- "creationDate": 1410179839573,
343
- "lastModified": 1410179860857,
344
- "workflow": "PUBLISHED",
345
- "urn": "urn:vpro:media:location:44738252"
346
- },
347
- {
348
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KnalerwtenChec_48a8bf0d-1092k.mp4",
349
- "avAttributes": {
350
- "bitrate": 1092000,
351
- "avFileFormat": "M4V"
352
- },
353
- "owner": "BROADCASTER",
354
- "creationDate": 1410179839573,
355
- "lastModified": 1410179860850,
356
- "workflow": "PUBLISHED",
357
- "urn": "urn:vpro:media:location:44738246"
358
- }
359
- ],
360
- "relations": [
361
- {
362
- "value": "2014-09-09T16:30:14+02:00",
363
- "urn": "urn:vpro:media:relation:44738416",
364
- "broadcaster": "EO",
365
- "type": "LAST_MODIFIED"
366
- },
367
- {
368
- "value": "Helena Hunink",
369
- "urn": "urn:vpro:media:relation:44738417",
370
- "broadcaster": "EO",
371
- "type": "LAST_MODIFIER"
372
- }
373
- ],
374
- "images": [
375
- {
376
- "title": "Checkpoint thuistest Koen knalerwt op wc",
377
- "description": "Still",
378
- "imageUri": "urn:vpro:image:509100",
379
- "owner": "BROADCASTER",
380
- "type": "PICTURE",
381
- "highlighted": false,
382
- "creationDate": 1410180105740,
383
- "lastModified": 1410180105861,
384
- "workflow": "PUBLISHED",
385
- "urn": "urn:vpro:media:image:44738415"
386
- }
387
- ],
388
- "publishDate": 1427709677036,
389
- "workflow": "PUBLISHED",
390
- "type": "CLIP",
391
- "avType": "VIDEO"
392
- }
393
- },
394
- {
395
- "id": "POMS_EO_627705",
396
- "key": "POMS_S_NPO_823012",
397
- "value": null,
398
- "doc": {
399
- "_id": "POMS_EO_627705",
400
- "_rev": "3-c47f210e950682bf1db82cb43977d960",
401
- "objectType": "program",
402
- "mid": "POMS_EO_627705",
403
- "creationDate": 1410941427740,
404
- "lastModified": 1427709495598,
405
- "sortDate": 1410941427740,
406
- "urn": "urn:vpro:media:program:44933725",
407
- "embeddable": true,
408
- "broadcasters": [
409
- "EO"
410
- ],
411
- "titles": [
412
- {
413
- "value": "Thuistest lucifertruc",
414
- "owner": "BROADCASTER",
415
- "type": "MAIN"
416
- },
417
- {
418
- "value": "cp s9 thuistest lucifertruc",
419
- "owner": "BROADCASTER",
420
- "type": "WORK"
421
- }
422
- ],
423
- "descriptions": [
424
- {
425
- "value": "Kun jij een lucifer laten zweven? Na dit filmpje wel! Koen weet namelijk een hele vette truc! ",
426
- "owner": "BROADCASTER",
427
- "type": "MAIN"
428
- },
429
- {
430
- "value": "Kun jij een lucifer laten zweven?",
431
- "owner": "BROADCASTER",
432
- "type": "SHORT"
433
- }
434
- ],
435
- "genres": [],
436
- "countries": [],
437
- "languages": [],
438
- "avAttributes": {
439
- "avFileFormat": "UNKNOWN"
440
- },
441
- "duration": 110000,
442
- "descendantOf": [
443
- {
444
- "midRef": "POMS_S_EO_470019",
445
- "urnRef": "urn:vpro:media:group:35771109",
446
- "type": "COLLECTION"
447
- },
448
- {
449
- "midRef": "POMS_S_NPO_823012",
450
- "urnRef": "urn:vpro:media:group:53249931",
451
- "type": "PLAYLIST"
452
- }
453
- ],
454
- "memberOf": [
455
- {
456
- "midRef": "POMS_S_EO_470019",
457
- "urnRef": "urn:vpro:media:group:35771109",
458
- "type": "COLLECTION",
459
- "index": 1,
460
- "highlighted": false,
461
- "added": 1410941427820
462
- },
463
- {
464
- "midRef": "POMS_S_NPO_823012",
465
- "urnRef": "urn:vpro:media:group:53249931",
466
- "type": "PLAYLIST",
467
- "index": 3,
468
- "highlighted": false,
469
- "added": 1427709494676
470
- }
471
- ],
472
- "locations": [
473
- {
474
- "programUrl": "odiw+http://odi.omroep.nl/o/eo/02LucifertrucChe_a67ac206.ism",
475
- "avAttributes": {
476
- "avFileFormat": "HASP"
477
- },
478
- "owner": "BROADCASTER",
479
- "creationDate": 1410941427248,
480
- "lastModified": 1410941427755,
481
- "workflow": "PUBLISHED",
482
- "urn": "urn:vpro:media:location:44933737"
483
- },
484
- {
485
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/02LucifertrucChe_a67ac206-264k.mp4",
486
- "avAttributes": {
487
- "bitrate": 264000,
488
- "avFileFormat": "M4V"
489
- },
490
- "owner": "BROADCASTER",
491
- "creationDate": 1410941427248,
492
- "lastModified": 1410941427750,
493
- "workflow": "PUBLISHED",
494
- "urn": "urn:vpro:media:location:44933731"
495
- },
496
- {
497
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/02LucifertrucChe_a67ac206-628k.mp4",
498
- "avAttributes": {
499
- "bitrate": 628000,
500
- "avFileFormat": "M4V"
501
- },
502
- "owner": "BROADCASTER",
503
- "creationDate": 1410941427248,
504
- "lastModified": 1410941427751,
505
- "workflow": "PUBLISHED",
506
- "urn": "urn:vpro:media:location:44933733"
507
- },
508
- {
509
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/02LucifertrucChe_a67ac206-828k.mp4",
510
- "avAttributes": {
511
- "bitrate": 828000,
512
- "avFileFormat": "M4V"
513
- },
514
- "owner": "BROADCASTER",
515
- "creationDate": 1410941427248,
516
- "lastModified": 1410941427753,
517
- "workflow": "PUBLISHED",
518
- "urn": "urn:vpro:media:location:44933735"
519
- },
520
- {
521
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/02LucifertrucChe_a67ac206-1092k.mp4",
522
- "avAttributes": {
523
- "bitrate": 1092000,
524
- "avFileFormat": "M4V"
525
- },
526
- "owner": "BROADCASTER",
527
- "creationDate": 1410941427248,
528
- "lastModified": 1410941427749,
529
- "workflow": "PUBLISHED",
530
- "urn": "urn:vpro:media:location:44933729"
531
- }
532
- ],
533
- "relations": [
534
- {
535
- "value": "2014-09-17T10:36:43+02:00",
536
- "urn": "urn:vpro:media:relation:44936932",
537
- "broadcaster": "EO",
538
- "type": "LAST_MODIFIED"
539
- },
540
- {
541
- "value": "Helena Hunink",
542
- "urn": "urn:vpro:media:relation:44936933",
543
- "broadcaster": "EO",
544
- "type": "LAST_MODIFIER"
545
- }
546
- ],
547
- "images": [
548
- {
549
- "title": "cp s9 thuistest lucifer still",
550
- "description": "Still",
551
- "imageUri": "urn:vpro:image:512769",
552
- "owner": "BROADCASTER",
553
- "type": "PICTURE",
554
- "highlighted": false,
555
- "creationDate": 1410943006576,
556
- "lastModified": 1410943006646,
557
- "workflow": "PUBLISHED",
558
- "urn": "urn:vpro:media:image:44936931"
559
- }
560
- ],
561
- "publishDate": 1427709676518,
562
- "workflow": "PUBLISHED",
563
- "type": "CLIP",
564
- "avType": "VIDEO"
565
- }
566
- },
567
- {
568
- "id": "POMS_EO_696750",
569
- "key": "POMS_S_NPO_823012",
570
- "value": null,
571
- "doc": {
572
- "_id": "POMS_EO_696750",
573
- "_rev": "7-ee37c9062310b8717408b09c4f89e4b3",
574
- "objectType": "program",
575
- "mid": "POMS_EO_696750",
576
- "creationDate": 1416320471022,
577
- "lastModified": 1427709495599,
578
- "sortDate": 1416320471022,
579
- "urn": "urn:vpro:media:program:47692998",
580
- "embeddable": true,
581
- "broadcasters": [
582
- "EO"
583
- ],
584
- "titles": [
585
- {
586
- "value": "Spijker truc",
587
- "owner": "BROADCASTER",
588
- "type": "MAIN"
589
- },
590
- {
591
- "value": "CP s10 thuistest spijker truc",
592
- "owner": "BROADCASTER",
593
- "type": "WORK"
594
- }
595
- ],
596
- "descriptions": [
597
- {
598
- "value": "Wist je dat je tien spijkers op één spijker kan laten balanceren? Koen laat je zien hoe je dit toffe trucje thuis kan doen.",
599
- "owner": "BROADCASTER",
600
- "type": "MAIN"
601
- },
602
- {
603
- "value": "Wist je dat je tien spijkers op één spijker kan laten balanceren?",
604
- "owner": "BROADCASTER",
605
- "type": "SHORT"
606
- }
607
- ],
608
- "genres": [],
609
- "countries": [],
610
- "languages": [],
611
- "avAttributes": {
612
- "avFileFormat": "UNKNOWN"
613
- },
614
- "duration": 115000,
615
- "descendantOf": [
616
- {
617
- "midRef": "POMS_S_EO_470019",
618
- "urnRef": "urn:vpro:media:group:35771109",
619
- "type": "COLLECTION"
620
- },
621
- {
622
- "midRef": "POMS_S_NPO_823012",
623
- "urnRef": "urn:vpro:media:group:53249931",
624
- "type": "PLAYLIST"
625
- }
626
- ],
627
- "memberOf": [
628
- {
629
- "midRef": "POMS_S_EO_470019",
630
- "urnRef": "urn:vpro:media:group:35771109",
631
- "type": "COLLECTION",
632
- "index": 1,
633
- "highlighted": false,
634
- "added": 1416320471148
635
- },
636
- {
637
- "midRef": "POMS_S_NPO_823012",
638
- "urnRef": "urn:vpro:media:group:53249931",
639
- "type": "PLAYLIST",
640
- "index": 6,
641
- "highlighted": false,
642
- "added": 1427709495274
643
- }
644
- ],
645
- "locations": [
646
- {
647
- "programUrl": "odiw+http://odi.omroep.nl/o/eo/12SpijkersCheckp_3ba1215d.ism",
648
- "avAttributes": {
649
- "avFileFormat": "HASP"
650
- },
651
- "owner": "BROADCASTER",
652
- "creationDate": 1416320470551,
653
- "lastModified": 1416320471036,
654
- "workflow": "PUBLISHED",
655
- "urn": "urn:vpro:media:location:47693010"
656
- },
657
- {
658
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/12SpijkersCheckp_3ba1215d-264k.mp4",
659
- "avAttributes": {
660
- "bitrate": 264000,
661
- "avFileFormat": "M4V"
662
- },
663
- "owner": "BROADCASTER",
664
- "creationDate": 1416320470550,
665
- "lastModified": 1416320471031,
666
- "workflow": "PUBLISHED",
667
- "urn": "urn:vpro:media:location:47693004"
668
- },
669
- {
670
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/12SpijkersCheckp_3ba1215d-628k.mp4",
671
- "avAttributes": {
672
- "bitrate": 628000,
673
- "avFileFormat": "M4V"
674
- },
675
- "owner": "BROADCASTER",
676
- "creationDate": 1416320470551,
677
- "lastModified": 1416320471032,
678
- "workflow": "PUBLISHED",
679
- "urn": "urn:vpro:media:location:47693006"
680
- },
681
- {
682
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/12SpijkersCheckp_3ba1215d-828k.mp4",
683
- "avAttributes": {
684
- "bitrate": 828000,
685
- "avFileFormat": "M4V"
686
- },
687
- "owner": "BROADCASTER",
688
- "creationDate": 1416320470551,
689
- "lastModified": 1416320471032,
690
- "workflow": "PUBLISHED",
691
- "urn": "urn:vpro:media:location:47693008"
692
- },
693
- {
694
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/12SpijkersCheckp_3ba1215d-1092k.mp4",
695
- "avAttributes": {
696
- "bitrate": 1092000,
697
- "avFileFormat": "M4V"
698
- },
699
- "owner": "BROADCASTER",
700
- "creationDate": 1416320470550,
701
- "lastModified": 1416320471030,
702
- "workflow": "PUBLISHED",
703
- "urn": "urn:vpro:media:location:47693002"
704
- }
705
- ],
706
- "relations": [
707
- {
708
- "value": "2014-11-18T15:40:09+01:00",
709
- "urn": "urn:vpro:media:relation:47693696",
710
- "broadcaster": "EO",
711
- "type": "LAST_MODIFIED"
712
- },
713
- {
714
- "value": "Helena Hunink",
715
- "urn": "urn:vpro:media:relation:47693697",
716
- "broadcaster": "EO",
717
- "type": "LAST_MODIFIER"
718
- }
719
- ],
720
- "images": [
721
- {
722
- "title": "Checkpoint thuistest met Koen spijker truc",
723
- "description": "Still",
724
- "imageUri": "urn:vpro:image:539556",
725
- "owner": "BROADCASTER",
726
- "type": "PICTURE",
727
- "highlighted": false,
728
- "creationDate": 1416321543809,
729
- "lastModified": 1416321543943,
730
- "workflow": "PUBLISHED",
731
- "urn": "urn:vpro:media:image:47693739"
732
- }
733
- ],
734
- "publishDate": 1427709675926,
735
- "workflow": "PUBLISHED",
736
- "type": "CLIP",
737
- "avType": "VIDEO"
738
- }
739
- },
740
- {
741
- "id": "POMS_EO_758891",
742
- "key": "POMS_S_NPO_823012",
743
- "value": null,
744
- "doc": {
745
- "_id": "POMS_EO_758891",
746
- "_rev": "3-d74cb7912b3671ffa0fa1367bd733944",
747
- "objectType": "program",
748
- "mid": "POMS_EO_758891",
749
- "creationDate": 1420720960804,
750
- "lastModified": 1427709495597,
751
- "sortDate": 1420720960804,
752
- "urn": "urn:vpro:media:program:49990510",
753
- "embeddable": true,
754
- "broadcasters": [
755
- "EO"
756
- ],
757
- "titles": [
758
- {
759
- "value": "Thuistest krik",
760
- "owner": "BROADCASTER",
761
- "type": "MAIN"
762
- },
763
- {
764
- "value": "CP s10 thuistest krik",
765
- "owner": "BROADCASTER",
766
- "type": "WORK"
767
- }
768
- ],
769
- "descriptions": [
770
- {
771
- "value": "Check wat Koen dit keer voor jullie bedacht heeft! Onwijs handig voor Checkpoint kijken in bed.",
772
- "owner": "BROADCASTER",
773
- "type": "MAIN"
774
- },
775
- {
776
- "value": "Check wat Koen dit keer voor jullie bedacht heeft!",
777
- "owner": "BROADCASTER",
778
- "type": "SHORT"
779
- }
780
- ],
781
- "genres": [],
782
- "countries": [],
783
- "languages": [],
784
- "avAttributes": {
785
- "avFileFormat": "UNKNOWN"
786
- },
787
- "duration": 71000,
788
- "descendantOf": [
789
- {
790
- "midRef": "POMS_S_EO_470019",
791
- "urnRef": "urn:vpro:media:group:35771109",
792
- "type": "COLLECTION"
793
- },
794
- {
795
- "midRef": "POMS_S_NPO_823012",
796
- "urnRef": "urn:vpro:media:group:53249931",
797
- "type": "PLAYLIST"
798
- }
799
- ],
800
- "memberOf": [
801
- {
802
- "midRef": "POMS_S_EO_470019",
803
- "urnRef": "urn:vpro:media:group:35771109",
804
- "type": "COLLECTION",
805
- "index": 1,
806
- "highlighted": false,
807
- "added": 1420720960948
808
- },
809
- {
810
- "midRef": "POMS_S_NPO_823012",
811
- "urnRef": "urn:vpro:media:group:53249931",
812
- "type": "PLAYLIST",
813
- "index": 1,
814
- "highlighted": false,
815
- "added": 1427709494209
816
- }
817
- ],
818
- "locations": [
819
- {
820
- "programUrl": "odiw+http://odi.omroep.nl/o/eo/01KrikCheckpoint_e9a34490.ism",
821
- "avAttributes": {
822
- "avFileFormat": "HASP"
823
- },
824
- "owner": "BROADCASTER",
825
- "creationDate": 1420720960326,
826
- "lastModified": 1420720960857,
827
- "workflow": "PUBLISHED",
828
- "urn": "urn:vpro:media:location:49990522"
829
- },
830
- {
831
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KrikCheckpoint_e9a34490-264k.mp4",
832
- "avAttributes": {
833
- "bitrate": 264000,
834
- "avFileFormat": "M4V"
835
- },
836
- "owner": "BROADCASTER",
837
- "creationDate": 1420720960325,
838
- "lastModified": 1420720960854,
839
- "workflow": "PUBLISHED",
840
- "urn": "urn:vpro:media:location:49990516"
841
- },
842
- {
843
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KrikCheckpoint_e9a34490-628k.mp4",
844
- "avAttributes": {
845
- "bitrate": 628000,
846
- "avFileFormat": "M4V"
847
- },
848
- "owner": "BROADCASTER",
849
- "creationDate": 1420720960326,
850
- "lastModified": 1420720960855,
851
- "workflow": "PUBLISHED",
852
- "urn": "urn:vpro:media:location:49990518"
853
- },
854
- {
855
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KrikCheckpoint_e9a34490-828k.mp4",
856
- "avAttributes": {
857
- "bitrate": 828000,
858
- "avFileFormat": "M4V"
859
- },
860
- "owner": "BROADCASTER",
861
- "creationDate": 1420720960326,
862
- "lastModified": 1420720960856,
863
- "workflow": "PUBLISHED",
864
- "urn": "urn:vpro:media:location:49990520"
865
- },
866
- {
867
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/01KrikCheckpoint_e9a34490-1092k.mp4",
868
- "avAttributes": {
869
- "bitrate": 1092000,
870
- "avFileFormat": "M4V"
871
- },
872
- "owner": "BROADCASTER",
873
- "creationDate": 1420720960325,
874
- "lastModified": 1420720960854,
875
- "workflow": "PUBLISHED",
876
- "urn": "urn:vpro:media:location:49990514"
877
- }
878
- ],
879
- "relations": [
880
- {
881
- "value": "2015-01-08T17:04:11+01:00",
882
- "urn": "urn:vpro:media:relation:50000052",
883
- "broadcaster": "EO",
884
- "type": "LAST_MODIFIED"
885
- },
886
- {
887
- "value": "Helena Hunink",
888
- "urn": "urn:vpro:media:relation:50000053",
889
- "broadcaster": "EO",
890
- "type": "LAST_MODIFIER"
891
- }
892
- ],
893
- "images": [
894
- {
895
- "title": "Thuistest krik Checkpoint",
896
- "description": "Still",
897
- "imageUri": "urn:vpro:image:559391",
898
- "owner": "BROADCASTER",
899
- "type": "PICTURE",
900
- "highlighted": false,
901
- "creationDate": 1420733055814,
902
- "lastModified": 1420733055933,
903
- "workflow": "PUBLISHED",
904
- "urn": "urn:vpro:media:image:50000051"
905
- }
906
- ],
907
- "publishDate": 1427709676757,
908
- "workflow": "PUBLISHED",
909
- "type": "CLIP",
910
- "avType": "VIDEO"
911
- }
912
- },
913
- {
914
- "id": "POMS_EO_780053",
915
- "key": "POMS_S_NPO_823012",
916
- "value": null,
917
- "doc": {
918
- "_id": "POMS_EO_780053",
919
- "_rev": "7-a293260665f769053bd8fcb20fa3cb22",
920
- "objectType": "program",
921
- "mid": "POMS_EO_780053",
922
- "creationDate": 1423061519394,
923
- "lastModified": 1427709495599,
924
- "sortDate": 1423061519394,
925
- "urn": "urn:vpro:media:program:51075156",
926
- "embeddable": true,
927
- "broadcasters": [
928
- "EO"
929
- ],
930
- "titles": [
931
- {
932
- "value": "Bureaustoel grap",
933
- "owner": "BROADCASTER",
934
- "type": "MAIN"
935
- },
936
- {
937
- "value": "Thuistest bureaustoel",
938
- "owner": "BROADCASTER",
939
- "type": "WORK"
940
- }
941
- ],
942
- "descriptions": [
943
- {
944
- "value": "Zin om iemand even flink aan het schrikken te maken? Check dan dit filmpje!",
945
- "owner": "BROADCASTER",
946
- "type": "MAIN"
947
- },
948
- {
949
- "value": "Zin om iemand even flink aan het schrikken te maken?",
950
- "owner": "BROADCASTER",
951
- "type": "SHORT"
952
- }
953
- ],
954
- "genres": [],
955
- "countries": [],
956
- "languages": [],
957
- "avAttributes": {
958
- "avFileFormat": "UNKNOWN"
959
- },
960
- "duration": 78000,
961
- "descendantOf": [
962
- {
963
- "midRef": "POMS_S_EO_470019",
964
- "urnRef": "urn:vpro:media:group:35771109",
965
- "type": "COLLECTION"
966
- },
967
- {
968
- "midRef": "POMS_S_NPO_823012",
969
- "urnRef": "urn:vpro:media:group:53249931",
970
- "type": "PLAYLIST"
971
- }
972
- ],
973
- "memberOf": [
974
- {
975
- "midRef": "POMS_S_EO_470019",
976
- "urnRef": "urn:vpro:media:group:35771109",
977
- "type": "COLLECTION",
978
- "index": 1,
979
- "highlighted": false,
980
- "added": 1423061519531
981
- },
982
- {
983
- "midRef": "POMS_S_NPO_823012",
984
- "urnRef": "urn:vpro:media:group:53249931",
985
- "type": "PLAYLIST",
986
- "index": 7,
987
- "highlighted": false,
988
- "added": 1427709495479
989
- }
990
- ],
991
- "locations": [
992
- {
993
- "programUrl": "odiw+http://odi.omroep.nl/o/eo/CPThuistestToete_c04c8ea4.ism",
994
- "avAttributes": {
995
- "avFileFormat": "HASP"
996
- },
997
- "owner": "BROADCASTER",
998
- "creationDate": 1423061518952,
999
- "lastModified": 1423061519449,
1000
- "workflow": "PUBLISHED",
1001
- "urn": "urn:vpro:media:location:51075168"
1002
- },
1003
- {
1004
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/CPThuistestToete_c04c8ea4-264k.mp4",
1005
- "avAttributes": {
1006
- "bitrate": 264000,
1007
- "avFileFormat": "M4V"
1008
- },
1009
- "owner": "BROADCASTER",
1010
- "creationDate": 1423061518951,
1011
- "lastModified": 1423061519444,
1012
- "workflow": "PUBLISHED",
1013
- "urn": "urn:vpro:media:location:51075162"
1014
- },
1015
- {
1016
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/CPThuistestToete_c04c8ea4-628k.mp4",
1017
- "avAttributes": {
1018
- "bitrate": 628000,
1019
- "avFileFormat": "M4V"
1020
- },
1021
- "owner": "BROADCASTER",
1022
- "creationDate": 1423061518951,
1023
- "lastModified": 1423061519446,
1024
- "workflow": "PUBLISHED",
1025
- "urn": "urn:vpro:media:location:51075164"
1026
- },
1027
- {
1028
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/CPThuistestToete_c04c8ea4-828k.mp4",
1029
- "avAttributes": {
1030
- "bitrate": 828000,
1031
- "avFileFormat": "M4V"
1032
- },
1033
- "owner": "BROADCASTER",
1034
- "creationDate": 1423061518951,
1035
- "lastModified": 1423061519448,
1036
- "workflow": "PUBLISHED",
1037
- "urn": "urn:vpro:media:location:51075166"
1038
- },
1039
- {
1040
- "programUrl": "http://content.omroep.nl/eo/vod/mp4/CPThuistestToete_c04c8ea4-1092k.mp4",
1041
- "avAttributes": {
1042
- "bitrate": 1092000,
1043
- "avFileFormat": "M4V"
1044
- },
1045
- "owner": "BROADCASTER",
1046
- "creationDate": 1423061518951,
1047
- "lastModified": 1423061519441,
1048
- "workflow": "PUBLISHED",
1049
- "urn": "urn:vpro:media:location:51075160"
1050
- }
1051
- ],
1052
- "relations": [
1053
- {
1054
- "value": "2015-02-06T12:41:57+01:00",
1055
- "urn": "urn:vpro:media:relation:51159843",
1056
- "broadcaster": "EO",
1057
- "type": "LAST_MODIFIED"
1058
- },
1059
- {
1060
- "value": "Helena Hunink",
1061
- "urn": "urn:vpro:media:relation:51159844",
1062
- "broadcaster": "EO",
1063
- "type": "LAST_MODIFIER"
1064
- }
1065
- ],
1066
- "images": [
1067
- {
1068
- "title": "Checkpoint_thuistest_koen_bureaustoel_grap.png",
1069
- "description": "Still",
1070
- "imageUri": "urn:vpro:image:570689",
1071
- "owner": "BROADCASTER",
1072
- "type": "PICTURE",
1073
- "highlighted": false,
1074
- "creationDate": 1423222924875,
1075
- "lastModified": 1423222925106,
1076
- "workflow": "PUBLISHED",
1077
- "urn": "urn:vpro:media:image:51159842"
1078
- }
1079
- ],
1080
- "publishDate": 1427709675790,
1081
- "workflow": "PUBLISHED",
1082
- "type": "CLIP",
1083
- "avType": "VIDEO"
1084
- }
1085
- }
1086
- ]
1087
- }