Menu

#112 Load command line arguments inside ~/.xmltv config file

none
open
nobody
None
5
2014-10-20
2014-10-20
No

Hi,

It would be nice to have a way to specify / remember / store save command line arguments into ~/.xmltv config file. The reason for this is that in TVHeadend, it does not have an option to set command line args when we select the grabber from internal grabbers list.

In particular, it is especially desirable to be able set or tweak the --days / --hours parameter.

This could potentially be useful for other programs too, or help xmltv be more self - sufficient. Perhaps if for example if you like to update your listings manually. Then no need to remember all the custom args you use each time.

====
Maybe I am suggesting that the config file can contain a single parameter that is parsed and included along with the regular ARGV[]. For example:

CMD_LINE_DEFAULT_ARGS="--days 13 --etc --etc"

If the same cmd line parameter is also manually specified directly on the cmd line, then the value from ARGV[] should be used and take precedence.

But if you can think of anything better (or would prefer to specify each option with it's own individual default variables in the config file) - then please go ahead. I don't mind the specifics so long as we have some way to tweak these values.

Many thanks.

Discussion


Log in to post a comment.