output file names

J K.Eason mail at john-eason.co.uk
Mon May 23 08:56:00 EDT 2011


> *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>' };
 
Regards
       John (mail at john-eason.co.uk)



More information about the get_iplayer mailing list