Use First Broadcast Date in Filenames? Capitalisation?

Don Grunbaum don at grunbaum.co.uk
Sat Jan 3 12:45:48 PST 2015


----- Original Message ----- 
From: "C E Macfarlane" <c.e.macfarlane at macfh.co.uk>
To: <get_iplayer at lists.infradead.org>
Sent: Saturday, January 03, 2015 8:09 PM
Subject: Use First Broadcast Date in Filenames? Capitalisation?


> 1) First Broadcast Date
>
> AFAICS, there is no way to get the first broadcast date from the XML
> metadata into the filename.  This can be somewhat confusing for 
> series where
> the episode titles do not include this information, yet there are a 
> great
> many episodes which will get muddled up without it.  For example, 
> Letter
> From America:
>
> Letter from America by Alistair Cooke
> http://www.bbc.co.uk/programmes/b00f6hbp
>
> Episode Name: Domestic affairs
> http://www.bbc.co.uk/programmes/b040brl0
> http://www.bbc.co.uk/programmes/b040brl0.xml
> <first_broadcast_date>1978-01-06T21:15:00Z</first_broadcast_date>
> 1st Broadcast: 06-01-1978
>
> As can be seen, the xml metadata contains the First Broadcast Date, 
> but I
> can't find any way of getting this into the file name before the 
> Episode
> Title.  What I want is something like:
> Letter from America - 1978-01-06 Domestic affairs
>
> Is there is an existing way to do this?  If not, can we have one?
>

<firstbcastdate> should give you the date that you require.

Don 




More information about the get_iplayer mailing list