Searching for programmes which start with a number
Paul Oldham
paul at the-hug.org
Wed Nov 15 12:56:43 PST 2017
If you try searching for "1834", which is a BBC Radio 4 Xtra programme,
you don't get any matches for the programme (although you do on
programme number 1834). Thus:
--------------------------------------------------------------------------------
$ get_iplayer --type radio 1834
get_iplayer 3.06-ppa31a, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use
--warranty.
This is free software, and you are welcome to redistribute it under
certain
conditions; use --conditions for details.
Matches:
1834: tv, Points West: Evening News - 06/11/2017, BBC One, b09bzw4g
INFO: 1 matching programmes
$
--------------------------------------------------------------------------------
There are two programmes there however:
--------------------------------------------------------------------------------
$ get_iplayer --type radio | grep 1834
30028: 1834 - What Century Are You Living In?, BBC Radio 4 Extra,
b01137b8
30029: 1834 - The Time Machine, BBC Radio 4 Extra, b011db7v
31834: As BBC Radio 5 live - 02/11/2017, BBC Radio Leicester, p05jmtqt
41834: Radio 3 in Concert - Verbier Festival Orchestra, Mikhail
Pletnev. Tchaikovsky, BBC Radio 3, b09d3ndk
$
--------------------------------------------------------------------------------
This seems to be true of any programme starting with a number ("15
Minute Drama" for example, or "40 Years of The News Quiz") however it
does match on programme names which begin with a numeric but aren't
numbers ("2Tone Taxi" for example).
Do I have to do some sort of clever quoting to get around this or is it
a bug? Thanks.
--
Paul
More information about the get_iplayer
mailing list