Re: --output=............
Hi, a good point. The answer is that I've no idea why I didn't put the double dashes! Thanks loads Martin On 24/06/2021 21:53, Jeremy Nicoll - ml gip wrote: On 2021-06-24 19:46, Martin Powell wrote: Hi, I'm sure I've done something very stupid here but when I run get_iplayer --raw --get "Gardeners' World" output=Factual/Gardening/GardenersWorld/2021 Why is there no double dash before "output"? ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: --output=............
On 2021-06-24 19:46, Martin Powell wrote: Hi, I'm sure I've done something very stupid here but when I run get_iplayer --raw --get "Gardeners' World" output=Factual/Gardening/GardenersWorld/2021 Why is there no double dash before "output"? -- Jeremy Nicoll - my opinions are my own ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: --output=............
On Thu, 24 Jun 2021 19:46:42 +0100 Martin Powell wrote: > Hi, I'm sure I've done something very stupid here but when I run > > get_iplayer --raw --get "Gardeners' World" > output=Factual/Gardening/GardenersWorld/2021 > > it puts the output in the directory that the command was run in, > rather than the one specified by the output option. > > I can't help thinking it is something to do with ' and " > > Any thoughts?? I would say it's more than likely to do with Factual. Where's that folder? If you type at the command prompt 'ls Factual', does the system find it? Longhelp suggests that the output statement is as follows :- --output, -o Recording output directory So you might want to prefix your command with --outputtv=Factual/Gardening/GardenersWorld/2021 assuming that Factual is accessible as described above. -- __ __| |_ __ __ .. / _/ _` \ V V / | mailto:cdw_pcm...@the-walker-household.co.uk | \__\__,_|\_/\_/ || ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: output file names
On 18 May 2011 10:27, Ranec get_ipla...@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. 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' }; -R ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: output file names
*From:* Ranec get_ipla...@cemery.org.uk *To:* get_iplayer get_iplayer@lists.infradead.org *Date:* Mon, 23 May 2011 13:33:06 +0100 On 18 May 2011 10:27, Ranec get_ipla...@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 (m...@john-eason.co.uk) ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: output file names
On 23 May 2011 13:56, J K.Eason m...@john-eason.co.uk wrote: *From:* Ranec get_ipla...@cemery.org.uk *To:* get_iplayer get_iplayer@lists.infradead.org *Date:* Mon, 23 May 2011 13:33:06 +0100 On 18 May 2011 10:27, Ranec get_ipla...@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 (m...@john-eason.co.uk) ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: output file names
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. I'd never noticed that option before (although it should be 'file-prefix' according to the help.) Thanks! (Saves hacking the perl file any more!) :^) Regards John (m...@john-eason.co.uk) ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer