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