auntie 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +49 -0
  4. data/LICENSE +20 -0
  5. data/README.md +39 -0
  6. data/Rakefile +24 -0
  7. data/bin/news +4 -0
  8. data/bin/radio +51 -0
  9. data/bin/sport +4 -0
  10. data/bin/tv +45 -0
  11. data/bin/weather +23 -0
  12. data/features/location.feature +8 -0
  13. data/features/news.feature +8 -0
  14. data/features/radio.feature +8 -0
  15. data/features/sport.feature +8 -0
  16. data/features/step_definitions/location_steps.rb +7 -0
  17. data/features/step_definitions/radio_steps.rb +1 -0
  18. data/features/step_definitions/tv_steps.rb +1 -0
  19. data/features/step_definitions/weather_steps.rb +6 -0
  20. data/features/support/env.rb +15 -0
  21. data/features/tv.feature +8 -0
  22. data/features/weather.feature +8 -0
  23. data/lib/auntie.rb +16 -0
  24. data/lib/bbc/location.rb +44 -0
  25. data/lib/bbc/news.rb +28 -0
  26. data/lib/bbc/now_next.rb +93 -0
  27. data/lib/bbc/schedule.rb +53 -0
  28. data/lib/bbc/shell/characters.rb +68 -0
  29. data/lib/bbc/shell/colors.rb +39 -0
  30. data/lib/bbc/shell/describe_time.rb +20 -0
  31. data/lib/bbc/sport.rb +33 -0
  32. data/lib/bbc/version.rb +7 -0
  33. data/lib/bbc/weather.rb +98 -0
  34. data/scratch +9 -0
  35. data/spec/bbc/location_spec.rb +45 -0
  36. data/spec/bbc/news_spec.rb +43 -0
  37. data/spec/bbc/now_next_spec.rb +53 -0
  38. data/spec/bbc/schedule_spec.rb +56 -0
  39. data/spec/bbc/sport_spec.rb +35 -0
  40. data/spec/bbc/version_spec.rb +18 -0
  41. data/spec/bbc/weather_spec.rb +41 -0
  42. data/spec/fixtures/3dayforecast.json +149 -0
  43. data/spec/fixtures/3hourlyforecast.json +265 -0
  44. data/spec/fixtures/location.json +12 -0
  45. data/spec/fixtures/news.json +31 -0
  46. data/spec/fixtures/now_next_radio.json +7767 -0
  47. data/spec/fixtures/now_next_tv.json +3471 -0
  48. data/spec/fixtures/schedule_radio_today.json +939 -0
  49. data/spec/fixtures/schedule_radio_tomorrow.json +941 -0
  50. data/spec/fixtures/schedule_radio_yesterday.json +1118 -0
  51. data/spec/fixtures/schedule_tv.json +1695 -0
  52. data/spec/fixtures/sport.json +38 -0
  53. data/spec/spec_helper.rb +13 -0
  54. metadata +170 -0
@@ -0,0 +1,941 @@
1
+ {
2
+ "schedule": {
3
+ "day": {
4
+ "broadcasts": [
5
+ {
6
+ "duration": 3600,
7
+ "end": "2014-02-04T01:00:00Z",
8
+ "is_blanked": false,
9
+ "is_repeat": true,
10
+ "pid": "p01qlx6z",
11
+ "programme": {
12
+ "actual_start": "2014-02-02T03:47:08Z",
13
+ "available_until": "2014-02-09T03:02:00Z",
14
+ "display_titles": {
15
+ "subtitle": "The New Music Playlist",
16
+ "title": "6 Music Recommends"
17
+ },
18
+ "duration": 3600,
19
+ "first_broadcast_date": "2014-02-02T02:00:00Z",
20
+ "image": {
21
+ "pid": "p01lzjzm"
22
+ },
23
+ "is_available_mediaset_pc_sd": true,
24
+ "is_legacy_media": false,
25
+ "media": {
26
+ "availability": "6 days left to listen",
27
+ "expires": "2014-02-09T03:02:00Z",
28
+ "format": "audio"
29
+ },
30
+ "media_type": "audio",
31
+ "ownership": {
32
+ "service": {
33
+ "id": "bbc_6music",
34
+ "key": "6music",
35
+ "title": "BBC Radio 6 Music",
36
+ "type": "radio"
37
+ }
38
+ },
39
+ "pid": "b03t8jl3",
40
+ "position": null,
41
+ "programme": {
42
+ "expected_child_count": null,
43
+ "first_broadcast_date": "2010-04-10T01:00:00+01:00",
44
+ "ownership": {
45
+ "service": {
46
+ "id": "bbc_6music",
47
+ "key": "6music",
48
+ "title": "BBC Radio 6 Music",
49
+ "type": "radio"
50
+ }
51
+ },
52
+ "pid": "b00rz79k",
53
+ "position": null,
54
+ "title": "6 Music Recommends",
55
+ "type": "brand"
56
+ },
57
+ "short_synopsis": "New music in one handy bitesize programme.",
58
+ "title": "The New Music Playlist",
59
+ "type": "episode"
60
+ },
61
+ "start": "2014-02-04T00:00:00Z"
62
+ },
63
+ {
64
+ "duration": 3600,
65
+ "end": "2014-02-04T02:00:00Z",
66
+ "is_blanked": false,
67
+ "is_repeat": false,
68
+ "pid": "p01qlx72",
69
+ "programme": {
70
+ "display_titles": {
71
+ "subtitle": "Young, Loud and Snotty",
72
+ "title": "The Story of Pop"
73
+ },
74
+ "duration": 3600,
75
+ "first_broadcast_date": "2011-02-02T03:00:00Z",
76
+ "image": {
77
+ "pid": "p01l68ky"
78
+ },
79
+ "is_available_mediaset_pc_sd": false,
80
+ "is_legacy_media": false,
81
+ "media_type": "audio",
82
+ "ownership": {
83
+ "service": {
84
+ "id": "bbc_6music",
85
+ "key": "6music",
86
+ "title": "BBC Radio 6 Music",
87
+ "type": "radio"
88
+ }
89
+ },
90
+ "pid": "b00y3z69",
91
+ "position": 30,
92
+ "programme": {
93
+ "expected_child_count": 52,
94
+ "first_broadcast_date": "2011-01-04T03:00:00Z",
95
+ "ownership": {
96
+ "service": {
97
+ "id": "bbc_6music",
98
+ "key": "6music",
99
+ "title": "BBC Radio 6 Music",
100
+ "type": "radio"
101
+ }
102
+ },
103
+ "pid": "b00xp4rp",
104
+ "position": null,
105
+ "title": "The Story of Pop",
106
+ "type": "series"
107
+ },
108
+ "short_synopsis": "Alan Freeman charts the rise and fall of the ultimate punk band - The Sex Pistols.",
109
+ "title": "Young, Loud and Snotty",
110
+ "type": "episode"
111
+ },
112
+ "start": "2014-02-04T01:00:00Z"
113
+ },
114
+ {
115
+ "duration": 1800,
116
+ "end": "2014-02-04T02:30:00Z",
117
+ "is_blanked": false,
118
+ "is_repeat": false,
119
+ "pid": "p01qlx74",
120
+ "programme": {
121
+ "display_titles": {
122
+ "subtitle": "Episode 1",
123
+ "title": "Earth, Wind and Pyre"
124
+ },
125
+ "duration": 1800,
126
+ "first_broadcast_date": "2013-03-12T00:00:00Z",
127
+ "image": {
128
+ "pid": "p01l9dc3"
129
+ },
130
+ "is_available_mediaset_pc_sd": false,
131
+ "is_legacy_media": false,
132
+ "media_type": "audio",
133
+ "ownership": {
134
+ "service": {
135
+ "id": "bbc_6music",
136
+ "key": "6music",
137
+ "title": "BBC Radio 6 Music",
138
+ "type": "radio"
139
+ }
140
+ },
141
+ "pid": "b01r713n",
142
+ "position": 1,
143
+ "programme": {
144
+ "expected_child_count": 2,
145
+ "first_broadcast_date": "2013-03-12T00:00:00Z",
146
+ "ownership": {
147
+ "service": {
148
+ "id": "bbc_6music",
149
+ "key": "6music",
150
+ "title": "BBC Radio 6 Music",
151
+ "type": "radio"
152
+ }
153
+ },
154
+ "pid": "b01r7127",
155
+ "position": null,
156
+ "title": "Earth, Wind and Pyre",
157
+ "type": "series"
158
+ },
159
+ "short_synopsis": "Candi Staton recalls the 1979 anti-disco protest led by a local Chicago DJ.",
160
+ "title": "Episode 1",
161
+ "type": "episode"
162
+ },
163
+ "start": "2014-02-04T02:00:00Z"
164
+ },
165
+ {
166
+ "duration": 3600,
167
+ "end": "2014-02-04T03:30:00Z",
168
+ "is_blanked": false,
169
+ "is_repeat": false,
170
+ "pid": "p01qlx77",
171
+ "programme": {
172
+ "display_titles": {
173
+ "subtitle": "Bob Geldof and The Vegetarians of Love, Pragvec and Ill Ease",
174
+ "title": "6 Music Live Hour"
175
+ },
176
+ "duration": 3600,
177
+ "first_broadcast_date": "2014-02-04T02:30:00Z",
178
+ "image": {
179
+ "pid": "p01lzk0c"
180
+ },
181
+ "is_available_mediaset_pc_sd": false,
182
+ "is_legacy_media": false,
183
+ "media_type": "audio",
184
+ "ownership": {
185
+ "service": {
186
+ "id": "bbc_6music",
187
+ "key": "6music",
188
+ "title": "BBC Radio 6 Music",
189
+ "type": "radio"
190
+ }
191
+ },
192
+ "pid": "b03tchmq",
193
+ "position": null,
194
+ "programme": {
195
+ "expected_child_count": null,
196
+ "first_broadcast_date": "2010-04-03T04:00:00+01:00",
197
+ "ownership": {
198
+ "service": {
199
+ "id": "bbc_6music",
200
+ "key": "6music",
201
+ "title": "BBC Radio 6 Music",
202
+ "type": "radio"
203
+ }
204
+ },
205
+ "pid": "b00rwm3t",
206
+ "position": null,
207
+ "title": "6 Music Live Hour",
208
+ "type": "brand"
209
+ },
210
+ "short_synopsis": "Bob Geldof and The Vegetarians of Love live, plus BBC sessions from Pragvec and Ill Ease.",
211
+ "title": "Bob Geldof and The Vegetarians of Love, Pragvec and Ill Ease",
212
+ "type": "episode"
213
+ },
214
+ "start": "2014-02-04T02:30:00Z"
215
+ },
216
+ {
217
+ "duration": 5400,
218
+ "end": "2014-02-04T05:00:00Z",
219
+ "is_blanked": false,
220
+ "is_repeat": false,
221
+ "pid": "p01qlx7b",
222
+ "programme": {
223
+ "display_titles": {
224
+ "subtitle": "04/02/2014",
225
+ "title": "6 Music's Jukebox"
226
+ },
227
+ "duration": 5400,
228
+ "first_broadcast_date": "2014-02-04T03:30:00Z",
229
+ "image": {
230
+ "pid": "p01lzk85"
231
+ },
232
+ "is_available_mediaset_pc_sd": false,
233
+ "is_legacy_media": false,
234
+ "media_type": "audio",
235
+ "ownership": {
236
+ "service": {
237
+ "id": "bbc_6music",
238
+ "key": "6music",
239
+ "title": "BBC Radio 6 Music",
240
+ "type": "radio"
241
+ }
242
+ },
243
+ "pid": "b03qkxlp",
244
+ "position": null,
245
+ "programme": {
246
+ "expected_child_count": null,
247
+ "first_broadcast_date": "2010-04-06T01:00:00+01:00",
248
+ "ownership": {
249
+ "service": {
250
+ "id": "bbc_6music",
251
+ "key": "6music",
252
+ "title": "BBC Radio 6 Music",
253
+ "type": "radio"
254
+ }
255
+ },
256
+ "pid": "b00rz6v1",
257
+ "position": null,
258
+ "title": "6 Music's Jukebox",
259
+ "type": "brand"
260
+ },
261
+ "short_synopsis": "Chris Hawkins takes you through the early hours playing back to back music.",
262
+ "title": "04/02/2014",
263
+ "type": "episode"
264
+ },
265
+ "start": "2014-02-04T03:30:00Z"
266
+ },
267
+ {
268
+ "duration": 7200,
269
+ "end": "2014-02-04T07:00:00Z",
270
+ "is_blanked": false,
271
+ "is_repeat": false,
272
+ "pid": "p01qlx7d",
273
+ "programme": {
274
+ "display_titles": {
275
+ "subtitle": "04/02/2014",
276
+ "title": "Chris Hawkins"
277
+ },
278
+ "duration": 7200,
279
+ "first_broadcast_date": "2014-02-04T05:00:00Z",
280
+ "image": {
281
+ "pid": "p01lc263"
282
+ },
283
+ "is_available_mediaset_pc_sd": false,
284
+ "is_legacy_media": false,
285
+ "media_type": "audio",
286
+ "ownership": {
287
+ "service": {
288
+ "id": "bbc_6music",
289
+ "key": "6music",
290
+ "title": "BBC Radio 6 Music",
291
+ "type": "radio"
292
+ }
293
+ },
294
+ "pid": "b03tchnx",
295
+ "position": null,
296
+ "programme": {
297
+ "expected_child_count": null,
298
+ "first_broadcast_date": "2007-09-17T02:00:00+01:00",
299
+ "ownership": {
300
+ "service": {
301
+ "id": "bbc_6music",
302
+ "key": "6music",
303
+ "title": "BBC Radio 6 Music",
304
+ "type": "radio"
305
+ }
306
+ },
307
+ "pid": "b0072l8y",
308
+ "position": null,
309
+ "title": "Chris Hawkins",
310
+ "type": "brand"
311
+ },
312
+ "short_synopsis": "The Hawk delivers early morning music and chat to the early risers of the world (unite).",
313
+ "title": "04/02/2014",
314
+ "type": "episode"
315
+ },
316
+ "start": "2014-02-04T05:00:00Z"
317
+ },
318
+ {
319
+ "duration": 10800,
320
+ "end": "2014-02-04T10:00:00Z",
321
+ "is_blanked": false,
322
+ "is_repeat": false,
323
+ "pid": "p01qnz9s",
324
+ "programme": {
325
+ "display_titles": {
326
+ "subtitle": "With Prof Brian Cox",
327
+ "title": "Shaun Keaveny"
328
+ },
329
+ "duration": 10800,
330
+ "first_broadcast_date": "2014-02-04T07:00:00Z",
331
+ "image": {
332
+ "pid": "p01lcdhn"
333
+ },
334
+ "is_available_mediaset_pc_sd": false,
335
+ "is_legacy_media": false,
336
+ "media_type": "audio",
337
+ "ownership": {
338
+ "service": {
339
+ "id": "bbc_6music",
340
+ "key": "6music",
341
+ "title": "BBC Radio 6 Music",
342
+ "type": "radio"
343
+ }
344
+ },
345
+ "pid": "b03tcksz",
346
+ "position": null,
347
+ "programme": {
348
+ "expected_child_count": null,
349
+ "first_broadcast_date": "2007-09-17T07:00:00+01:00",
350
+ "ownership": {
351
+ "service": {
352
+ "id": "bbc_6music",
353
+ "key": "6music",
354
+ "title": "BBC Radio 6 Music",
355
+ "type": "radio"
356
+ }
357
+ },
358
+ "pid": "b0072l9k",
359
+ "position": null,
360
+ "title": "Shaun Keaveny",
361
+ "type": "brand"
362
+ },
363
+ "short_synopsis": "Prof Brian Cox joins Shaun on the phone to talk all things science.",
364
+ "title": "With Prof Brian Cox",
365
+ "type": "episode"
366
+ },
367
+ "start": "2014-02-04T07:00:00Z"
368
+ },
369
+ {
370
+ "duration": 10800,
371
+ "end": "2014-02-04T13:00:00Z",
372
+ "is_blanked": false,
373
+ "is_repeat": false,
374
+ "pid": "p01qnz9t",
375
+ "programme": {
376
+ "display_titles": {
377
+ "subtitle": "Lauren looks into how music affects your Biorhythms",
378
+ "title": "Lauren Laverne"
379
+ },
380
+ "duration": 10800,
381
+ "first_broadcast_date": "2014-02-04T10:00:00Z",
382
+ "image": {
383
+ "pid": "p01q051v"
384
+ },
385
+ "is_available_mediaset_pc_sd": false,
386
+ "is_legacy_media": false,
387
+ "media_type": "audio",
388
+ "ownership": {
389
+ "service": {
390
+ "id": "bbc_6music",
391
+ "key": "6music",
392
+ "title": "BBC Radio 6 Music",
393
+ "type": "radio"
394
+ }
395
+ },
396
+ "pid": "b03tclq1",
397
+ "position": null,
398
+ "programme": {
399
+ "expected_child_count": null,
400
+ "first_broadcast_date": "2008-06-07T16:00:00+01:00",
401
+ "ownership": {
402
+ "service": {
403
+ "id": "bbc_6music",
404
+ "key": "6music",
405
+ "title": "BBC Radio 6 Music",
406
+ "type": "radio"
407
+ }
408
+ },
409
+ "pid": "b00c000j",
410
+ "position": null,
411
+ "title": "Lauren Laverne",
412
+ "type": "brand"
413
+ },
414
+ "short_synopsis": "Lauren looks into how music affects your Biorhythms.",
415
+ "title": "Lauren looks into how music affects your Biorhythms",
416
+ "type": "episode"
417
+ },
418
+ "start": "2014-02-04T10:00:00Z"
419
+ },
420
+ {
421
+ "duration": 10800,
422
+ "end": "2014-02-04T16:00:00Z",
423
+ "is_blanked": false,
424
+ "is_repeat": false,
425
+ "pid": "p01qnz9v",
426
+ "programme": {
427
+ "display_titles": {
428
+ "subtitle": "Reece Shearsmith",
429
+ "title": "Radcliffe and Maconie"
430
+ },
431
+ "duration": 10800,
432
+ "first_broadcast_date": "2014-02-04T13:00:00Z",
433
+ "image": {
434
+ "pid": "p01m5hc3"
435
+ },
436
+ "is_available_mediaset_pc_sd": false,
437
+ "is_legacy_media": false,
438
+ "media_type": "audio",
439
+ "ownership": {
440
+ "service": {
441
+ "id": "bbc_6music",
442
+ "key": "6music",
443
+ "title": "BBC Radio 6 Music",
444
+ "type": "radio"
445
+ }
446
+ },
447
+ "pid": "b03tcbw1",
448
+ "position": null,
449
+ "programme": {
450
+ "expected_child_count": null,
451
+ "first_broadcast_date": "2011-04-04T13:00:00+01:00",
452
+ "ownership": {
453
+ "service": {
454
+ "id": "bbc_6music",
455
+ "key": "6music",
456
+ "title": "BBC Radio 6 Music",
457
+ "type": "radio"
458
+ }
459
+ },
460
+ "pid": "b0100rp6",
461
+ "position": null,
462
+ "title": "Radcliffe and Maconie",
463
+ "type": "brand"
464
+ },
465
+ "short_synopsis": "Actor Reece Shearsmith joins Mark to chat about new TV series Inside No. 9.",
466
+ "title": "Reece Shearsmith",
467
+ "type": "episode"
468
+ },
469
+ "start": "2014-02-04T13:00:00Z"
470
+ },
471
+ {
472
+ "duration": 10800,
473
+ "end": "2014-02-04T19:00:00Z",
474
+ "is_blanked": false,
475
+ "is_repeat": false,
476
+ "pid": "p01qnz9w",
477
+ "programme": {
478
+ "display_titles": {
479
+ "subtitle": "Frankie and the Heartstrings",
480
+ "title": "Steve Lamacq"
481
+ },
482
+ "duration": 10800,
483
+ "first_broadcast_date": "2014-02-04T16:00:00Z",
484
+ "image": {
485
+ "pid": "p01qvnzx"
486
+ },
487
+ "is_available_mediaset_pc_sd": false,
488
+ "is_legacy_media": false,
489
+ "media_type": "audio",
490
+ "ownership": {
491
+ "service": {
492
+ "id": "bbc_6music",
493
+ "key": "6music",
494
+ "title": "BBC Radio 6 Music",
495
+ "type": "radio"
496
+ }
497
+ },
498
+ "pid": "b03tclq3",
499
+ "position": null,
500
+ "programme": {
501
+ "expected_child_count": null,
502
+ "first_broadcast_date": "2007-09-17T16:00:00+01:00",
503
+ "ownership": {
504
+ "service": {
505
+ "id": "bbc_6music",
506
+ "key": "6music",
507
+ "title": "BBC Radio 6 Music",
508
+ "type": "radio"
509
+ }
510
+ },
511
+ "pid": "b0072lb2",
512
+ "position": null,
513
+ "title": "Steve Lamacq",
514
+ "type": "brand"
515
+ },
516
+ "short_synopsis": "Frankie from Frankie and the Heartstrings chats about the 6 Music Festival.",
517
+ "title": "Frankie and the Heartstrings",
518
+ "type": "episode"
519
+ },
520
+ "start": "2014-02-04T16:00:00Z"
521
+ },
522
+ {
523
+ "duration": 7200,
524
+ "end": "2014-02-04T21:00:00Z",
525
+ "is_blanked": false,
526
+ "is_repeat": false,
527
+ "pid": "p01qnz9y",
528
+ "programme": {
529
+ "display_titles": {
530
+ "subtitle": "Sara Lowes",
531
+ "title": "Marc Riley"
532
+ },
533
+ "duration": 7200,
534
+ "first_broadcast_date": "2014-02-04T19:00:00Z",
535
+ "image": {
536
+ "pid": "p01mvfr4"
537
+ },
538
+ "is_available_mediaset_pc_sd": false,
539
+ "is_legacy_media": false,
540
+ "media_type": "audio",
541
+ "ownership": {
542
+ "service": {
543
+ "id": "bbc_6music",
544
+ "key": "6music",
545
+ "title": "BBC Radio 6 Music",
546
+ "type": "radio"
547
+ }
548
+ },
549
+ "pid": "b03tclq5",
550
+ "position": null,
551
+ "programme": {
552
+ "expected_child_count": null,
553
+ "first_broadcast_date": "2008-06-02T19:00:00+01:00",
554
+ "ownership": {
555
+ "service": {
556
+ "id": "bbc_6music",
557
+ "key": "6music",
558
+ "title": "BBC Radio 6 Music",
559
+ "type": "radio"
560
+ }
561
+ },
562
+ "pid": "b00c72y1",
563
+ "position": null,
564
+ "title": "Marc Riley",
565
+ "type": "brand"
566
+ },
567
+ "short_synopsis": "Riley favourite Sara Lowes is in session - always a pleasure to welcome her to the show.",
568
+ "title": "Sara Lowes",
569
+ "type": "episode"
570
+ },
571
+ "start": "2014-02-04T19:00:00Z"
572
+ },
573
+ {
574
+ "duration": 10800,
575
+ "end": "2014-02-05T00:00:00Z",
576
+ "is_blanked": false,
577
+ "is_repeat": false,
578
+ "pid": "p01qnz9z",
579
+ "programme": {
580
+ "display_titles": {
581
+ "subtitle": "Tindersticks in concert from 1997",
582
+ "title": "Gideon Coe"
583
+ },
584
+ "duration": 10800,
585
+ "first_broadcast_date": "2014-02-04T21:00:00Z",
586
+ "image": {
587
+ "pid": "p01lc25g"
588
+ },
589
+ "is_available_mediaset_pc_sd": false,
590
+ "is_legacy_media": false,
591
+ "media_type": "audio",
592
+ "ownership": {
593
+ "service": {
594
+ "id": "bbc_6music",
595
+ "key": "6music",
596
+ "title": "BBC Radio 6 Music",
597
+ "type": "radio"
598
+ }
599
+ },
600
+ "pid": "b03tclq7",
601
+ "position": null,
602
+ "programme": {
603
+ "expected_child_count": null,
604
+ "first_broadcast_date": "2007-09-17T10:00:00+01:00",
605
+ "ownership": {
606
+ "service": {
607
+ "id": "bbc_6music",
608
+ "key": "6music",
609
+ "title": "BBC Radio 6 Music",
610
+ "type": "radio"
611
+ }
612
+ },
613
+ "pid": "b0072l9v",
614
+ "position": null,
615
+ "title": "Gideon Coe",
616
+ "type": "brand"
617
+ },
618
+ "short_synopsis": "Tindersticks in concert, plus sessions from Bo Ningen, Wreckless Eric and General Public.",
619
+ "title": "Tindersticks in concert from 1997",
620
+ "type": "episode"
621
+ },
622
+ "start": "2014-02-04T21:00:00Z"
623
+ },
624
+ {
625
+ "duration": 3600,
626
+ "end": "2014-02-05T01:00:00Z",
627
+ "is_blanked": false,
628
+ "is_repeat": false,
629
+ "pid": "p01qnzb0",
630
+ "programme": {
631
+ "display_titles": {
632
+ "subtitle": "With Tom Ravenscroft",
633
+ "title": "6 Music Recommends"
634
+ },
635
+ "duration": 3600,
636
+ "first_broadcast_date": "2014-02-05T00:00:00Z",
637
+ "image": {
638
+ "pid": "p01nmwcw"
639
+ },
640
+ "is_available_mediaset_pc_sd": false,
641
+ "is_legacy_media": false,
642
+ "media_type": "audio",
643
+ "ownership": {
644
+ "service": {
645
+ "id": "bbc_6music",
646
+ "key": "6music",
647
+ "title": "BBC Radio 6 Music",
648
+ "type": "radio"
649
+ }
650
+ },
651
+ "pid": "b03tcm8l",
652
+ "position": null,
653
+ "programme": {
654
+ "expected_child_count": null,
655
+ "first_broadcast_date": "2010-04-10T01:00:00+01:00",
656
+ "ownership": {
657
+ "service": {
658
+ "id": "bbc_6music",
659
+ "key": "6music",
660
+ "title": "BBC Radio 6 Music",
661
+ "type": "radio"
662
+ }
663
+ },
664
+ "pid": "b00rz79k",
665
+ "position": null,
666
+ "title": "6 Music Recommends",
667
+ "type": "brand"
668
+ },
669
+ "short_synopsis": "A music review show looking at the latest releases.",
670
+ "title": "With Tom Ravenscroft",
671
+ "type": "episode"
672
+ },
673
+ "start": "2014-02-05T00:00:00Z"
674
+ },
675
+ {
676
+ "duration": 3600,
677
+ "end": "2014-02-05T02:00:00Z",
678
+ "is_blanked": false,
679
+ "is_repeat": false,
680
+ "pid": "p01qnzb2",
681
+ "programme": {
682
+ "display_titles": {
683
+ "subtitle": "Today's Music Today",
684
+ "title": "The Story of Pop"
685
+ },
686
+ "duration": 3600,
687
+ "first_broadcast_date": "2011-02-03T03:00:00Z",
688
+ "image": {
689
+ "pid": "p01l68ky"
690
+ },
691
+ "is_available_mediaset_pc_sd": false,
692
+ "is_legacy_media": false,
693
+ "media_type": "audio",
694
+ "ownership": {
695
+ "service": {
696
+ "id": "bbc_6music",
697
+ "key": "6music",
698
+ "title": "BBC Radio 6 Music",
699
+ "type": "radio"
700
+ }
701
+ },
702
+ "pid": "b00y3z76",
703
+ "position": 31,
704
+ "programme": {
705
+ "expected_child_count": 52,
706
+ "first_broadcast_date": "2011-01-04T03:00:00Z",
707
+ "ownership": {
708
+ "service": {
709
+ "id": "bbc_6music",
710
+ "key": "6music",
711
+ "title": "BBC Radio 6 Music",
712
+ "type": "radio"
713
+ }
714
+ },
715
+ "pid": "b00xp4rp",
716
+ "position": null,
717
+ "title": "The Story of Pop",
718
+ "type": "series"
719
+ },
720
+ "short_synopsis": "Alan Freeman celebrates the 'new breed' of independent labels in Britain from 1976 to 1981",
721
+ "title": "Today's Music Today",
722
+ "type": "episode"
723
+ },
724
+ "start": "2014-02-05T01:00:00Z"
725
+ },
726
+ {
727
+ "duration": 1800,
728
+ "end": "2014-02-05T02:30:00Z",
729
+ "is_blanked": false,
730
+ "is_repeat": false,
731
+ "pid": "p01qnzb3",
732
+ "programme": {
733
+ "display_titles": {
734
+ "subtitle": "Episode 2",
735
+ "title": "Earth, Wind and Pyre"
736
+ },
737
+ "duration": 1800,
738
+ "first_broadcast_date": "2013-03-13T00:00:00Z",
739
+ "image": {
740
+ "pid": "p01l9dc3"
741
+ },
742
+ "is_available_mediaset_pc_sd": false,
743
+ "is_legacy_media": false,
744
+ "media_type": "audio",
745
+ "ownership": {
746
+ "service": {
747
+ "id": "bbc_6music",
748
+ "key": "6music",
749
+ "title": "BBC Radio 6 Music",
750
+ "type": "radio"
751
+ }
752
+ },
753
+ "pid": "b01r78qn",
754
+ "position": 2,
755
+ "programme": {
756
+ "expected_child_count": 2,
757
+ "first_broadcast_date": "2013-03-12T00:00:00Z",
758
+ "ownership": {
759
+ "service": {
760
+ "id": "bbc_6music",
761
+ "key": "6music",
762
+ "title": "BBC Radio 6 Music",
763
+ "type": "radio"
764
+ }
765
+ },
766
+ "pid": "b01r7127",
767
+ "position": null,
768
+ "title": "Earth, Wind and Pyre",
769
+ "type": "series"
770
+ },
771
+ "short_synopsis": "Candi Staton recalls the 1979 anti-disco protest led by a local Chicago DJ.",
772
+ "title": "Episode 2",
773
+ "type": "episode"
774
+ },
775
+ "start": "2014-02-05T02:00:00Z"
776
+ },
777
+ {
778
+ "duration": 3600,
779
+ "end": "2014-02-05T03:30:00Z",
780
+ "is_blanked": false,
781
+ "is_repeat": false,
782
+ "pid": "p01qnzb5",
783
+ "programme": {
784
+ "display_titles": {
785
+ "subtitle": "Electric Six, I'm So Hollow and Dressy Bessy",
786
+ "title": "6 Music Live Hour"
787
+ },
788
+ "duration": 3600,
789
+ "first_broadcast_date": "2014-02-05T02:30:00Z",
790
+ "image": {
791
+ "pid": "p01lzk0c"
792
+ },
793
+ "is_available_mediaset_pc_sd": false,
794
+ "is_legacy_media": false,
795
+ "media_type": "audio",
796
+ "ownership": {
797
+ "service": {
798
+ "id": "bbc_6music",
799
+ "key": "6music",
800
+ "title": "BBC Radio 6 Music",
801
+ "type": "radio"
802
+ }
803
+ },
804
+ "pid": "b03tcmk5",
805
+ "position": null,
806
+ "programme": {
807
+ "expected_child_count": null,
808
+ "first_broadcast_date": "2010-04-03T04:00:00+01:00",
809
+ "ownership": {
810
+ "service": {
811
+ "id": "bbc_6music",
812
+ "key": "6music",
813
+ "title": "BBC Radio 6 Music",
814
+ "type": "radio"
815
+ }
816
+ },
817
+ "pid": "b00rwm3t",
818
+ "position": null,
819
+ "title": "6 Music Live Hour",
820
+ "type": "brand"
821
+ },
822
+ "short_synopsis": "Electric Six at Glastonbury 2003, plus BBC sessions from I'm So Hollow and Dressy Bessy.",
823
+ "title": "Electric Six, I'm So Hollow and Dressy Bessy",
824
+ "type": "episode"
825
+ },
826
+ "start": "2014-02-05T02:30:00Z"
827
+ },
828
+ {
829
+ "duration": 5400,
830
+ "end": "2014-02-05T05:00:00Z",
831
+ "is_blanked": false,
832
+ "is_repeat": false,
833
+ "pid": "p01qnzb8",
834
+ "programme": {
835
+ "display_titles": {
836
+ "subtitle": "05/02/2014",
837
+ "title": "6 Music's Jukebox"
838
+ },
839
+ "duration": 5400,
840
+ "first_broadcast_date": "2014-02-05T03:30:00Z",
841
+ "image": {
842
+ "pid": "p01lzk85"
843
+ },
844
+ "is_available_mediaset_pc_sd": false,
845
+ "is_legacy_media": false,
846
+ "media_type": "audio",
847
+ "ownership": {
848
+ "service": {
849
+ "id": "bbc_6music",
850
+ "key": "6music",
851
+ "title": "BBC Radio 6 Music",
852
+ "type": "radio"
853
+ }
854
+ },
855
+ "pid": "b03qkxm2",
856
+ "position": null,
857
+ "programme": {
858
+ "expected_child_count": null,
859
+ "first_broadcast_date": "2010-04-06T01:00:00+01:00",
860
+ "ownership": {
861
+ "service": {
862
+ "id": "bbc_6music",
863
+ "key": "6music",
864
+ "title": "BBC Radio 6 Music",
865
+ "type": "radio"
866
+ }
867
+ },
868
+ "pid": "b00rz6v1",
869
+ "position": null,
870
+ "title": "6 Music's Jukebox",
871
+ "type": "brand"
872
+ },
873
+ "short_synopsis": "Chris Hawkins takes you through the early hours playing back to back music.",
874
+ "title": "05/02/2014",
875
+ "type": "episode"
876
+ },
877
+ "start": "2014-02-05T03:30:00Z"
878
+ },
879
+ {
880
+ "duration": 7200,
881
+ "end": "2014-02-05T07:00:00Z",
882
+ "is_blanked": false,
883
+ "is_repeat": false,
884
+ "pid": "p01qnzbb",
885
+ "programme": {
886
+ "display_titles": {
887
+ "subtitle": "05/02/2014",
888
+ "title": "Chris Hawkins"
889
+ },
890
+ "duration": 7200,
891
+ "first_broadcast_date": "2014-02-05T05:00:00Z",
892
+ "image": {
893
+ "pid": "p01lc263"
894
+ },
895
+ "is_available_mediaset_pc_sd": false,
896
+ "is_legacy_media": false,
897
+ "media_type": "audio",
898
+ "ownership": {
899
+ "service": {
900
+ "id": "bbc_6music",
901
+ "key": "6music",
902
+ "title": "BBC Radio 6 Music",
903
+ "type": "radio"
904
+ }
905
+ },
906
+ "pid": "b03tcpsl",
907
+ "position": null,
908
+ "programme": {
909
+ "expected_child_count": null,
910
+ "first_broadcast_date": "2007-09-17T02:00:00+01:00",
911
+ "ownership": {
912
+ "service": {
913
+ "id": "bbc_6music",
914
+ "key": "6music",
915
+ "title": "BBC Radio 6 Music",
916
+ "type": "radio"
917
+ }
918
+ },
919
+ "pid": "b0072l8y",
920
+ "position": null,
921
+ "title": "Chris Hawkins",
922
+ "type": "brand"
923
+ },
924
+ "short_synopsis": "The Hawk delivers early morning music and chat to the early risers of the world (unite).",
925
+ "title": "05/02/2014",
926
+ "type": "episode"
927
+ },
928
+ "start": "2014-02-05T05:00:00Z"
929
+ }
930
+ ],
931
+ "date": "2014-02-04",
932
+ "has_next": 1,
933
+ "has_previous": 1
934
+ },
935
+ "service": {
936
+ "key": "6music",
937
+ "title": "BBC Radio 6 Music",
938
+ "type": "radio"
939
+ }
940
+ }
941
+ }