Hello,
this is the patch to solve the segue problem in dropboxes mode on
rivendell 2.9.13 and 3 alpha 4

--- 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());
     }

to apply the patch:

create a fie startdropboxes.patch and paste the upper code inside

startdropboxes.patch:
--- 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());
     }


in the rivendell root source code execute:

patch < startdropboxes.patch

that's it dropboxes segue marker is solved :D

Regards
Gabriele

Il giorno ven 7 dic 2018 alle ore 10:59 Gabriele Fergola <[email protected]>
ha scritto:

> After some more digging into the code i found :
>
> lib/rdimport_audio:
>   import_normalize_spin->setValue(settings->normalizationLevel()/100);
>   import_autotrim_spin->setValue(settings->autotrimLevel()/100);
>   import_channels_box->insertItem("1");
>   import_channels_box->insertItem("2");
>   import_channels_box->setCurrentItem(settings->channels()-1);
>
> is missing /100 for segue mark
>
> Regards
> Gabriele
>
> Il giorno ven 7 dic 2018 alle ore 10:31 Gabriele Fergola <
> [email protected]> ha scritto:
>
>> Hello
>> After some try i found the problem.
>> When dropboxes run rdimport is lunched with wrong parameter
>>
>> rdimport --persistent-dropbox-id=1 --drop-box --log-mode
>> --add-scheduler-code=10s --normalization-level=-3 --autotrim-level=-30
>> --segue-level=-1000 --segue-length=0 --metadata-pattern=%a-%u-%u- %t.mp3
>> --fix-broken-formats --delete-source --startdate-offset=0
>> --enddate-offset=0
>>
>> When rdcatchd fork rdimport process for dropboxes don't remove 00 from
>> the value stored in db what happens for trim value so Segue level insted of
>> -10 is -1000.
>> For the moment the only way to fix it is to lunch rdimport manually with
>> correct parameter.
>>
>> I tryed to give a quick look in the code but i cannot find where the
>> doubble 0 is removed.
>>
>> Ps sorry for my bad english
>>
>> Regards
>> Gabriele
>>
>> Il giorno ven 30 nov 2018 alle ore 19:02 Gabriele Fergola <
>> [email protected]> ha scritto:
>>
>>> *David: *
>>> yeah i normally make my mark manually but now i'm starting from zero
>>> with rivendell and i would like to import as much as possible automatically
>>> all my music.
>>>
>>> *Fred: *
>>> Thanks for your answer.
>>>
>>> I saw that and i have the same problem as *Schwoon. *The problem comes
>>> from the gui because also for me if i'm using it from shell like* 
>>> "**rdmarkerset
>>> --group=New --auto-segue=-10 --verbose" *everything is working as
>>> expected but if i let rd import automatically with the setting in
>>> dropboxes, the start segue mark is after the end segue mark (EX. segue
>>> start 3:57.8 - segue end is 3:41.6). I think there is a problem with the
>>> gui.
>>>
>>> And also from shell is no need to set segue lenght.
>>>
>>>
>>>
>>>
>>> Il giorno ven 30 nov 2018 alle ore 16:08 David Henderson <
>>> [email protected]> ha scritto:
>>>
>>>> You usually need to manually set your segue marker.
>>>> ------------------------------
>>>> *From:* [email protected] <
>>>> [email protected]> on behalf of Gabriele
>>>> Fergola <[email protected]>
>>>> *Sent:* Friday, November 30, 2018 2:50:13 PM
>>>> *To:* [email protected]
>>>> *Subject:* [RDD] Dropboxes segue marker
>>>>
>>>> Hello,
>>>> i'm new about Rivendell and i'm trying to import all my song library
>>>> but i have a strange problem with segue marker.
>>>>
>>>> When i set it to -10dB and some value from 0 to 3000 nothing changing.
>>>> The marker are always at same position and are inverted like start is after
>>>> end. What i'm doing wrong?
>>>>
>>>> i have also normalization (-13dB) and Trim (-30dB) active.
>>>>
>>>>
>>>> Regards
>>>> Gabriele
>>>>
>>>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to