For group info ...

On 20/11/2018 12:34, Mark Wildman wrote:
From: Mark Wildman <[email protected]>
Sent: 20 November 2018 12:27
To: [email protected]
Subject: Re: Feature Request - Negative command line switches

Apologies - my first email was sent to you in HTML by mistake, causing 
confusion with the first two dashes, but thankfully you saw around it. Copying 
your second command (minus the perl):

My emails don't seem to be getting through to the list for some reason, even in 
plain text.

So this is FYI - sorry I couldn't be any more help.

My reply to which you were replying and which you quote below doesn't seem to 
have appeared in the list either, perhaps because I failed to spot the use of 
HTML and convert it to plain text.  In what follows, I've tried manually to 
restore the quoting order so that the exchange will make more sense to others.

On 20/11/2018 10:09, Mark Wildman wrote:

Adding

–no-whitespace

should achieve the desired effect.

From: MacFH - C E Macfarlane <[email protected]>
Sent: 20 November 2018 10:32
To: Mark Wildman; [email protected]
Subject: Re: Feature Request - Negative command line switches

Thanks, but neither of the following work:

        –no-whitespace
        Apparently treated as a search term ...
            perl  get_iplayer  --type radio  --hide  -no-whitespace  "Bells On 
Sunday"  -g
        ... downloads the programmes, but there are spaces in the filenamea.

        -–no-whitespace
        Apparently treated as an incorrect command-line parameter ...
            perl  get_iplayer  --type radio  --hide  --no-whitespace  "Bells On 
Sunday"  -g
        `... produces the Command-Line Help dump.

BTW, for general information, "Bells On Sunday" is a really good, quick way of 
testing GetIPlayer,
because even at my treacle-slow download rates up here in the wilds of 
Scotland, each programme
only takes a minute or so to download, and thus it's a good test of the entire 
process from start
to finish.

On 20/11/2018 12:34, Mark Wildman wrote:
From: Mark Wildman <[email protected]>
Sent: 20 November 2018 12:27
To: [email protected]
Subject: Re: Feature Request - Negative command line switches

get_iplayer  --type radio  --hide  --no-whitespace "Bells On Sunday"  -g

... produced a successful download for me, with underscores instead of spaces 
(v3.17 on lubuntu 16.04.5),
so I shall have to bow out here and let someone with more diagnostic capability 
help you.

Weird ...

At first it didn't work for me ...

    >perl C:\Programs\GetIPlayer\get_iplayer.pl  --profile-dir=D:\CEM\GetIPlayer  --type 
radio  --no-whitespace  "Bells On Sunday"  --hide  -g
    Unknown option: &#x2013;
    Unknown option: n
    Usage ( Also see 
https://github.com/get-iplayer/get_iplayer/wiki/documentation ):
    [etc]

... but then, looking at the error message above, I wondered if, when copying 
the parameter from your mail, I'd copied a strange unicode character instead of 
just plain ASCII '-', so I deleted them and retyped them, and now it's working 
and the filenames have the original underscores..

So perhaps not so weird after all.

Thanks for your help.


_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to