Hi!
tried to cut a one file recording per commandline with vdr 1.7.16, but it always creates multiple files splitted after 2GB, used also "-c /etc/vdr" so that vdr knows where to find setup.conf, but it doesen't matter.
Is this the expected behaviour?
Regards
Marco
Am 03.01.2011 23:34, schrieb Marco Göbenich:
tried to cut a one file recording per commandline with vdr 1.7.16, but it always creates multiple files splitted after 2GB, used also "-c /etc/vdr" so that vdr knows where to find setup.conf, but it doesen't matter.
That's because the editing process is started right on command line parsing, while the config file is loaded after all parsing is done.
The attached patch is a quick and untested fix, and loads the setup.conf prior to editing. Make sure you place any -c option before --edit, or it will not work.
A better approach would be to delay the whole editing until the complete command line is processed, somewhere short after the setup.conf got loaded regularly.
Cheers,
Udo
Hi!
I think a better approach would be a second commandline parameter e.g. --filesize=10G or to (mis)use the new parameter --edit=10G.
Regards
Marco
Am 08.01.2011 16:18, schrieb Udo Richter:
Am 03.01.2011 23:34, schrieb Marco Göbenich:
tried to cut a one file recording per commandline with vdr 1.7.16, but it always creates multiple files splitted after 2GB, used also "-c /etc/vdr" so that vdr knows where to find setup.conf, but it doesen't matter.
That's because the editing process is started right on command line parsing, while the config file is loaded after all parsing is done.
The attached patch is a quick and untested fix, and loads the setup.conf prior to editing. Make sure you place any -c option before --edit, or it will not work.
A better approach would be to delay the whole editing until the complete command line is processed, somewhere short after the setup.conf got loaded regularly.
Cheers,
Udo
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr