Numeric Only Search

Alan Milewczyk alan at soulman1949.com
Wed May 20 15:09:27 PDT 2015


On 20/05/2015 20:46, Derek Kaye wrote:
> Good evening all,
> Having a bit of trouble setting up a pvr search where the term is 
> numeric only.
>
> I'm looking to download the BBC four programme '1864', but the best
> search I can come up with is the following:
>
> $ get_iplayer --fields title --channel 'BBC Four' --category Drama
> get_iplayer v2.92, 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:
> 2: 1864 - Episode 1, BBC Four, Drama,Historical,War & Disaster, default
> 3: 1864 - Episode 2, BBC Four, Drama,Historical,War & Disaster, default
>
> INFO: 2 Matching Programmes
>
> As soon as I add in the search term '1864', gip thinks that I'm
> wanting to use that as the programme index, and not the search term:
>
> $ get_iplayer --fields title --channel 'BBC Four' --category Drama '1864'
> get_iplayer v2.92, 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.
>
> WARNING: Unmatched programme index '1864' specified - ignoring
>
> INFO: 0 Matching Programmes
>
> Any suggestions please?
>
I think you'll find that if you use "^1864$" instead of "1864" you'll 
get the desired result.

I use this regularly when the programme title is a short one, such as 
"Today". By putting in "^Today$" it stops other programmes with "Today" 
in the title, such as "Today in Parliament" being downloaded.

Regards

Alan



More information about the get_iplayer mailing list