On 30/06/2013 00:24, Vangelis forthnet wrote:
You are of course right; but let's take this example:
pid=b00nq7q9 (NB expires on Sun June 30th 2013 23:29Z)

get_iplayer -i pid:b00nq7q9

will get me:
firstbcast:     default: 2009-11-01T22:20:00Z

but also notice this line:
lastbcast:      default: 2009-11-01T22:20:00Z

which is a false statement; right now it's almost
Sat June 29th 2013 23:00Z, so the exact previous
time this was aired/repeated was on
Sun 23 Jun 2013 23:30BST, i.e.

2013-06-23T22:30:00Z

as found by going to

http://www.bbc.co.uk/programmes/b00nq7q9/broadcasts

This correct transmission date is also indicated on the iPlayer
relevant page @
http://www.bbc.co.uk/iplayer/episode/b00nq7q9/Fleetwood_Mac_Dont_Stop/

under "More Programme Information" -> "Broadcast on"
as "BBC Four, 11:30PM Sun, 23 Jun 2013"

Why doesn't GiP show the right date? (at least on my copy of the script...)

You have found a bug there. It looks like the metadata schema was changed at some point. get_iplayer ignores the repeats data because it's no longer in the expected format, so it never picks up the last broadcast date. I'll put in a fix for lastbcast.



_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to