excluding matches in PVR searches

Bill Denton dentonwe at gmail.com
Wed Jun 23 15:52:53 EDT 2010


Just tried that and it solves the problem. Thanks:
get_iplayer --pvradd test1 --output "/storage/videos/Videos/Doctor
Who/Series 5/" "Doctor Who: Series" --preset pvr_tv
INFO: Using user options preset 'pvr_tv'
INFO: Saving PVR search 'test1':
        output /storage/videos/Videos/Doctor Who/Series 5/
        preset pvr_tv
        search0 Doctor Who: Series

get_iplayer --pvr Doctor\ Who --test
Running PVR Searches:
Doctor Who
Doctor Who Confidential

Bill.

On 23 June 2010 20:44, Andy Bircumshaw <andy at networkned.co.uk> wrote:
>
> On 23 Jun 2010, at 20:24, Bill Denton wrote:
>>
>> ... However, not so sure the
>> general regrep exclude is working:
>> get_iplayer --pvradd test1 --output "/storage/videos/Videos/Doctor
>> Who/Series 5/" "Doctor Who" --exclude "trail"
>> INFO: Saving PVR search 'test1':
>>       exclude trail
>>       output /storage/videos/Videos/Doctor Who/Series 5/
>>       search0 Doctor Who
>>
>> get_iplayer --pvr test1 --test
>> Running PVR Searches:
>> test1
>> Matches:
>> 200:    Doctor Who - Doctor Who trail - The Adventure Games, BBC One,
>> Drama,SciFi & Fantasy,TV, default
>>
>> INFO: 1 Matching Programmes
>>
>> Also the following gave the same behaviour:
>> get_iplayer --pvradd test1 --output "/storage/videos/Videos/Doctor
>> Who/Series 5/" "Doctor Who" --exclude ".*trail.*"
>> INFO: Saving PVR search 'test1':
>>       exclude .*trail.*
>>       output /storage/videos/Videos/Doctor Who/Series 5/
>>       search0 Doctor Who
>
>
> Ah! This is because "Doctor Who" and "Doctor Who trail" are different
> fields, and the --exclude only operates on the first one.
>
> "Doctor Who" is the "name" of the show, "Doctor Who trail" is the "episode
> name". You can use the -i flag to see this.
>
> If you compare with PID b00stv7m, you'll see that all the normal episodes of
> Doctor Who have the name "Doctor Who: Series 5".
>
> You *could* exclude the Adventure Game trailer by simply making your search
> for "Doctor Who: Series". This seems somewhat clumsy. A better solution
> doesn't immediately spring to mind.
>
> aB.
>
>
>



More information about the get_iplayer mailing list