output file names

Ranec get_iplayer at cemery.org.uk
Mon May 23 10:06:09 EDT 2011


On 23 May 2011 13:56, J K.Eason <mail at john-eason.co.uk> wrote:
>> *From:* Ranec <get_iplayer at cemery.org.uk>
>> *To:* get_iplayer <get_iplayer at lists.infradead.org>
>> *Date:* Mon, 23 May 2011 13:33:06 +0100
>>
>> On 18 May 2011 10:27, Ranec <get_iplayer at cemery.org.uk> wrote:
>> > What are the runes for
>> >
>> > a) Not getting spaces replaced with "_"
>>
>> add
>> whitespace 1
>> option in C:\All Users\get_iplayer\options
>> Unfortunately the rest of the code bails when there are spaces in
>> the file names. :-(
>> This will require significantly more work than I can currently
>> spare.
>> I'll just make do with using rename for now.
>
> Under Windows you need to add 'fatfilename 1' *as well as* 'whitespace 1'
> to get over that problem.
>
>> > b) Not getting the <PID>_default added to the file name
>>
>> Change line 3773 from
>> sub file_prefix_format { return '<name> - <episode> <pid>
>> <version>' };
>> to
>> sub file_prefix_format { return '<name> - <episode>' };

John's email helped me notice that instead of hacking the code, I
could have added
fileprefix "<name> - <episode>"
to my options file instead.
Thanks John.

> Regards
>       John (mail at john-eason.co.uk)



More information about the get_iplayer mailing list