Re: Saved Filename options

2013-02-10 Thread dinkypumpkin
On 04/02/2013 11:53, YelloYeti wrote: A rather trivial question, but hopefully someone can come up with a solution: my options file has the entry: fileprefix nameshort-episodeshort-senum Which when I grab an episode of a series gives me exactly what I want. When I grab a 'one-off' programme,

Saved Filename options

2013-02-04 Thread YelloYeti
A rather trivial question, but hopefully someone can come up with a solution: my options file has the entry: fileprefix nameshort-episodeshort-senum Which when I grab an episode of a series gives me exactly what I want. When I grab a 'one-off' programme, i.e. there is no series/episode, I

Re: Saved Filename options

2013-02-04 Thread Rob Dixon
The --fileprefix option is fairly dumb, and won't do anything more than just include the named fields into the pattern you specify. Something using the --command option would be possible, but I can't get the command-line processor to pass the value of filename through on a Windows system. You

Re: Saved Filename options

2013-02-04 Thread dinkypumpkin
On 04/02/2013 14:01, Rob Dixon wrote: You ought to be able to say something like --command perl -e \($new = $old = shift) =~ s/\-+\././; rename $old, $new\ \filename\ but no matter what I do I get The system cannot find the path specified. from the command processor, even before

Re: Saved Filename options

2013-02-04 Thread dinkypumpkin
On 04/02/2013 22:10, YelloYeti wrote: Under Windows, in order to get this happening under control of the web PVR, I attempted to add this in the Options file ( in Users\Name\.get_iplayer\options ) as: command perl -e ($new = $old = shift) =~ s/\-+\././; rename $old, $new filename I get the

Re: Saved Filename options

2013-02-04 Thread dinkypumpkin
On 04/02/2013 22:33, dinkypumpkin wrote: Reply to the list, not to me. No need for quoting quaziness in the options file. get_iplayer (via perl) reads the options file directly. You can fleetingly pretend you're free from the shackles of 1981's hottest operating system: command perl -e ($new

Re: Saved Filename options

2013-02-04 Thread YelloYeti
On 04/02/2013 22:54, dinkypumpkin wrote: On 04/02/2013 22:33, dinkypumpkin wrote: Reply to the list, not to me. No need for quoting quaziness in the options file. get_iplayer (via perl) reads the options file directly. You can fleetingly pretend you're free from the shackles of 1981's