excluding matches in PVR searches
Andy Bircumshaw
andy at networkned.co.uk
Wed Jun 23 15:44:08 EDT 2010
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