My wrapper script broke with 2.96

Charles Johnson cehjohnson at googlemail.com
Fri Aug 26 02:04:55 PDT 2016


On 25/08/16 19:49, artisticforge . wrote:
> get_iplayer --show-options
> Shows options which are set and where they are defined
Not sure this is relevant in the case of my problem. As i say, i don't 
use an options file, but the above command produces the following, fwiw:

goose at t410:/tmp$ /home/goose/get_iplayer-2.96/get_iplayer 11611 
--show-options

get_iplayer v2.96, 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.

Options from Files:

Options from Command Line:

      showoptions = 1

Options Used:

      encodingconsolein = UTF-8

      encodingconsoleout = UTF-8

      encodinglocale = UTF-8

      encodinglocalefs = UTF-8

      isodate = 1

      showoptions = 1

Search Args: 11611


>
> if --type is not given nor set , get_iplayer defaults to type 'tv'
>
> Giving the command:
> "~/get_iplayer-2.96/get_iplayer  --force --get 10560"
>
> assuming that get_iplayer is defaulting to type 'tv' is going to
> search for TV programs with the string '10650'.

Really? I must be mistaken as my reading of the help docs suggest that 
will fetch the prog with that id:

( "Record Programmes by Index:     get_iplayer <INDEX> --get")

So, removing the doubt of tv/radio i issue the following command with 
the following result:

goose at t410:/tmp$ /home/goose/get_iplayer-2.96/get_iplayer 11611 
--mode=flashaaclow1 --force --type=radio --get
get_iplayer v2.96, 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:
11611:    Bells on Sunday - Sheffield Cathedral, BBC Radio 4, b07nnbjr

INFO: 1 Matching Programmes
INFO: Checking existence of original version
INFO: flashaaclow1 modes will be tried for version original
INFO: Trying flashaaclow1 mode to record radio: Bells on Sunday - 
Sheffield Cathedral
INFO: File name prefix = 
Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original
INFO: Begin recording file: 
/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              133.59
INFO:   moovPosition          28.00
INFO:   audiocodecid          mp4a
INFO:   aacaot                2.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                12023040.00
INFO:   timescale             90000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
835.486 kB / 133.55 sec (99.9%)
Download complete
INFO: Begin converting file: 
/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv
At least one input file must be specified
INFO: Command exit code 1 (raw code = 256)
WARNING: Conversion failed - retaining 
/tmp/Bells_on_Sunday_-_Sheffield_Cathedral_b07nnbjr_original.partial.m4a.flv

I don't know what the "At least one input file must be specified" means, 
but this produces the last-named file, which has a size of zero




More information about the get_iplayer mailing list