These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

How do I search for a programme whose name is a number ("2525")

user-926

I want to download the series 2525 - a radio 4 Extra comedy. It's on iPlayer, I've refreshed the cache but get_Iplayer won't find it.

Episode 3 is here https://www.bbc.co.uk/programmes/b03nj185 and I can download it 'manually'.

I'm running 3.13.0 and using webpvr.

Is it me?

regards

Alan

user-1164

I think a search for just a numeric only looks at get_iplayer's cache index.

Try:
get-iplayer --type=radio "2525*"
(the * on the end of the search string matches any subsequent text. The quotes are needed to prevent the shell from interpreting the *)

For me, this returns:

Matches:
30083: 2525 - Episode 1, BBC Radio 4 Extra, b007znn2
30084: 2525 - Episode 2, BBC Radio 4 Extra, b03m80yd
30085: 2525 - Episode 3, BBC Radio 4 Extra, b03nj185
INFO: 3 matching programmes

Simon.

user-2

As is often the case, this is covered in the documentation.

@spooley: Your explanation of the asterisk's function isn't quite right - your pattern means match "252" followed by zero or more instances of "5" - but it doesn't matter here. The main thing is turning the search string into a regular expression so it won't be interpreted as an index number, as you have done.

user-1164

Thanks, user-2, for the proper explanation.

user-30

For completeness, here's the link to the documentation section covering this:

https://github.com/get-iplayer/get_iplay...xpressions

It's the last item of that heading.

user-926

Thanks all - adding the * at the end made it all work

Alan

These forums are archived

See this post for further info