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@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr -- Needful GbR Rheinstraße 60a Telefon +49 (0) 26 24 / 95 29 301 56203 Hoehr-Grenzhausen Telefax +49 (0) 26 24 / 95 29 303 http://www.needful.de E-Mail mg@xxxxxxxxxx |
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr