VDR-2.1.7 added the following:
- VDR now reads command line options from *.conf files in /etc/vdr/conf.d (thanks to Lars Hanisch). See vdr.1 and vdr.5 for details.
It seems like this is a welcome change. I plan on moving my command line options into a single .conf I can share with all my VDR clients for convenience, and to simplify my tv script. But, I also take advantage of the ONEDIR option in Make.config because it's easier for me to keep track of & backup all of VDRs files. And I hate having files spread all over the place anyways. For those unfamiliar:
# Use 'make ONEDIR=1' to have all data in one single directory: ifdef ONEDIR VIDEODIR = /video CACHEDIR = $(VIDEODIR) CONFDIR = $(VIDEODIR) RESDIR = $(VIDEODIR) endif
To stay in line with the idea that ONEDIR actually keeps all data in one single directory, it makes sense that $ARGSDIR (where the conf.d files would otherwise go) be included as well. Otherwise, ONEDIR isn't actually consolidating all VDR data.
I'm proposing adding ARGSDIR = $(VIDEODIR) to the ONEDIR ifdef. If anyone can think of a good reason not to do this, please voice your opinion.
Thanks
Hi,
Am 29.01.2015 um 18:28 schrieb VDR User:
VDR-2.1.7 added the following:
- VDR now reads command line options from *.conf files in
/etc/vdr/conf.d (thanks to Lars Hanisch). See vdr.1 and vdr.5 for details.
It seems like this is a welcome change. I plan on moving my command line options into a single .conf I can share with all my VDR clients for convenience, and to simplify my tv script. But, I also take advantage of the ONEDIR option in Make.config because it's easier for me to keep track of & backup all of VDRs files. And I hate having files spread all over the place anyways. For those unfamiliar:
# Use 'make ONEDIR=1' to have all data in one single directory: ifdef ONEDIR VIDEODIR = /video CACHEDIR = $(VIDEODIR) CONFDIR = $(VIDEODIR) RESDIR = $(VIDEODIR) endif
To stay in line with the idea that ONEDIR actually keeps all data in one single directory, it makes sense that $ARGSDIR (where the conf.d files would otherwise go) be included as well. Otherwise, ONEDIR isn't actually consolidating all VDR data.
I'm proposing adding ARGSDIR = $(VIDEODIR) to the ONEDIR ifdef. If anyone can think of a good reason not to do this, please voice your opinion.
Klaus forwarded this to vdr-portal.de. I think vdr 2.1.8 will include a patch to add
ARGSDIR = $(VIDEODIR)/conf.d
to the ONEDIR case. Because vdr reads all *.conf files from ARGSDIR, you cannot use VIDEODIR because of setup.conf, channels.conf etc.
And I should have documented this feature in more detail (and I will do), as time permits next week.
Lars.
Thanks
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Klaus forwarded this to vdr-portal.de. I think vdr 2.1.8 will include a patch to add
ARGSDIR = $(VIDEODIR)/conf.d
to the ONEDIR case. Because vdr reads all *.conf files from ARGSDIR, you cannot use VIDEODIR because of setup.conf, channels.conf etc.
And I should have documented this feature in more detail (and I will do), as time permits next week.
$(VIDEODIR)/conf.d works fine. That's a little cleaner anyways so ONEDIR still works as intended, yet conf.d specific files aren't mixed together with all other *.conf.
Thanks!