On 2019-02-21 20:38, MacFH - C E Macfarlane wrote:
Currently, if you specify an --exclude option on the command line, it
overwrites any exclusions permanently specified in the options file.
Would it not make more sense that any exclusions specified on the
command line are *added* to those in the options file?
A common idiom in other tools is to have something like:
--exclude blah # exclude blah and *only* blah
--exclude +blah # exclude blah in addition to anything else already
# excluded
Given that --exclude takes a comma-seperated list you can presumably do
something like this as a work-around for the latter not being present:
get_iplayer --exclude blah,`get_iplayer --prefs-show|grep exclude|sed
's/.* = //'`
which will extract the relevant line from your config file and massage
it into the appropriate format.
--
David Cantrell | Minister for Arbitrary Justice
Human Rights left unattended may be removed,
destroyed, or damaged by the security services.
_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer