case sensitivity in commands

Jeremy Nicoll - ml get_iplayer jn.ml.gti.91 at wingsandbeaks.org.uk
Wed May 14 10:07:43 PDT 2014


dinkypumpkin <dinkypumpkin at gmail.com> wrote:

>On 14/05/2014 13:53, Jeremy Nicoll - ml get_iplayer wrote:
>>    --VERSION SIGNED
>>
>> didn't match a programme which I knew existed, whereas
>>
>>    --VERSION signed
>>
>> did work.  Is this the behaviour you'd expect?
>
>Nope.  Works fine here, so there must be something else going on.  Post 
>the full command and the programme you're searching for.

Oops, I worded what I wrote very badly.  The bit about knowing that case
doesn't matter for text fragments in a search of a programme name... is
true, but I don't normally put --version in my searches.  

There's a tv program "Countryside 999" which I searched for just using

  "COUNTRYSIDE 999.*ODE 7"

as the search parm - and the search works whether the parm is that or also
has "--version signed" or "--version SIGNED" or "--VERSION signed" or
"--VERSION SIGNED" specified.

However fetching doesn't work with no --version value specified (because
only signed & audiodescribed versions are available), and it didn't work
with 

  "--VERSION SIGNED"  

but did work with

  "--VERSION signed"


I should add that the GiP program itself is a modified version of 2.84 (I've
not updated because I haven't had time & energy to rework my own changes) so
if this is something that's been changed since then, I apologise for
bothering you. 

I had to dig the commands (which apart from what I type at the command
prompt) are generated, out of a log file.  The commands actually executed
are long and I've manually wrapped them below.  They were:

The failing one:

"C:\StrawberryPerl_V5-16-2-1\perl\bin\perl.exe"
  "C:\My Dropbox\CLIpgms\get_iplayer_2-84_006_JN20140408.pl"
  --type=tv
  --profiledir "C:\My Dropbox\JN_GetiPlayerCachesEtc"
  --output "C:\GiP" --VERSION SIGNED --verbose --long
  --fatfilename --whitespace
  --file-prefix "$GRAB-SN130-001136 T=<name> S=<senum>
   E=<episode> M=<mode> Z=<duration>
   F=<firstbcastdate> L=<lastbcastdate>"
  --no-tag --get "COUNTRYSIDE 999.*ODE 7"


The working one:

"C:\StrawberryPerl_V5-16-2-1\perl\bin\perl.exe"
  "C:\My Dropbox\CLIpgms\get_iplayer_2-84_006_JN20140408.pl"
  --type=tv
  --profiledir "C:\My Dropbox\JN_GetiPlayerCachesEtc"
  --output "C:\GiP" --VERSION signed --verbose --long
  --fatfilename --whitespace
  --file-prefix "$GRAB-SN130-001137 T=<name> S=<senum>
    E=<episode> M=<mode> Z=<duration>
    F=<firstbcastdate> L=<lastbcastdate>"
  --no-tag --get "COUNTRYSIDE 999.*ODE 7"   


I've repeated the test with --force specified as well, and again the one
that had "--version SIGNED" in it failed to start a fetch when it was
considering which versions were available, after having fetched all the .rdf
pages etc, whereas "--version signed" was successful.


-- 
Jeremy Nicoll - my opinions are my own.



More information about the get_iplayer mailing list