Ok the patch attached to my previous email is not anymore good.

the modification need to be in the file rdservice/startup.cpp:

From
      args.push_back(QString().sprintf("--segue-level=%d",
                                       q->value(21).toInt()));

to
      args.push_back(QString().sprintf("--segue-level=%d",
                                       q->value(21).toInt()/100));

Regards
Gabriele

---------- Forwarded message ---------
Da: Gabriele Fergola <work...@gmail.com>
Date: ven 21 giu 2019 alle ore 08:42
Subject: RDImport segue editor not working correctly
To: Rivendell-Dev <rivendell-dev@lists.rivendellaudio.org>


Hello,
trying rivendell 3.0 I noticed segue editor is affected still from the same
little bug like 2.0 version.
Dropboxes still configure rdimport segue level to thousand instead of
decimal how u can see:

16085 ?        Sl     0:00 /usr/bin/rdimport --persistent-dropbox-id=1
--drop-box --add-scheduler-code=10s --normalization-level=-14
--autotrim-level=-40* --segue-level=-1000* --segue-length=2500
--fix-broken-formats --delete-source --startdate-offset=0
--enddate-offset=0 --log-filename=10s.log --log-directory=/home/rd/Logs
--verbose 10s /home/rd/music_import/10s/*

I know Fred u asked me to send the patched to git but I'm really sorry I
don't know how to send it. I tried but I fail :S  (please teach me how to
do it and I will)

This was the patch i sent some times ago :

--- rdcatchd/startdropboxes.cpp 2018-12-10 11:01:29.886166332 +0100
+++ rdcatchd/startdropboxes.cpp 2018-12-10 11:01:47.072241190 +0100
@@ -89,7 +89,7 @@
     }
     if(q->value(21).toInt()<1) {
         cmd+=
-          QString().sprintf(" --segue-level=%d",q->value(21).toInt());
+          QString().sprintf(" --segue-level=%d",q->value(21).toInt()/100);
         cmd+=
           QString().sprintf(" --segue-length=%u",q->value(22).toUInt());
     }

Is it possible to put in the next master?


Thanks
Gabriele
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to