Searching the future (radio) cache.

Vangelis forthnet northmedia1 at the.forthnet.gr
Tue Sep 24 21:35:20 EDT 2013


The following is a quote from 2.83's long help,
get_iplayer --helplong
(BTW, I have found that these variants
--help-long
--longhelp
--long-help
also work (?) ):

"Search Options:
--future  Search future programme schedule if it has been indexed (refresh 
cache with: --refresh --refresh-future)."

Now, I am not a native English speaker, but the way "I" understand the above 
is with the emphasis being on
"Future programme schedule".
Yet, when I run

get_iplayer --type=radio -f --refresh-future --force

followed by

get_iplayer --type=radio --future "Pete Tong"

I get these two results:

Matches:
15756:  Pete Tong - 20/09/2013, BBC Radio 1, Dance & 
Electronica,Music,Popular,Radio
15757:  Pete Tong - Art Department Goody Goodies, BBC Radio 1 England,

index 15757 corresponds to coming Friday's show (27/09/2013, pid=b03bdhd7),
not yet available on iPlayer, so I would expect to see this in the results, 
being a FUTURE programme.
However, I also get index 15756, i.e. LAST Friday's show, already broadcast 
in the PAST relative
to when the "future search" was performed, and which is currently available 
on iPlayer.
 If I needed to get last Friday's show as a search result, I'd have simply 
typed:

get_iplayer --type=radio "Pete Tong"

Matches:
15756:  Pete Tong - 20/09/2013, BBC Radio 1, Dance & 
Electronica,Music,Popular,Radio

So, in its current iteration the --future search feature also searches the 
past programme schedule...

Either the long help's "--future" entry needs to be reworded, e.g.
"Additionally search within future programme schedule...", or
"Search past and future programme schedules..."
OR
a patch is needed, so when I type today (25/09/2013):

get_iplayer --type=radio --future "Pete Tong"

I get this result:

Matches:
15757:  Pete Tong - Art Department Goody Goodies, BBC Radio 1 England,

What are your thoughts on this?

Vangelis.




More information about the get_iplayer mailing list