Smart naming of output files
J K.Eason
mail at john-eason.co.uk
Sun Jul 29 07:44:00 EDT 2012
> *From:* Rob Dixon <rob.dixon at gmx.com>
> *To:* get_iplayer at lists.infradead.org
> *CC:* John Eason <mail at john-eason.co.uk>
> *Date:* Sun, 29 Jul 2012 12:17:04 +0100
>
> On 29/07/2012 12:08, Rob Dixon wrote:
> > On 29/07/2012 09:13, J K.Eason wrote:
> >>
> >> In the same vein, I'd like to be able to get filenames without
> the PID and 'default' tacked on the end. It's a real pain having to
> rename them every time.
> >
> > Hi John
> >
> > You need to adjust the file-prefix option. By default it's set to
> >
> > "<name> - <episode> <pid> <version>"
> >
> > and if all you want to do is remove the PID from the name you can
> > just add
> >
> > --file-prefix "<name> - <episode> <version>"
> >
> > to your command line.
> >
> > If there is anything you want to make permanent then add it to
> > your preferences file using
> >
> > get_iplayer --prefs-add --file-prefix "<name> - <episode>
> > <version>"
> >
> > Use the --info option to see what information fields are
> > available, and note that you can add whatever characters you like
> > between the fields.
> > You can also change the directory where the file is stored using
> > the --subdir-format option in the same way.
>
> You also wanted the `default` removed. That is the `version` field
> so you end up with just
>
> --file-prefix "<name> - <episode>"
>
> Rob
Excellent. Thanks! Should have asked ages ago! :^)
Regards
John (mail at john-eason.co.uk)
More information about the get_iplayer
mailing list