So as we were about to begin writing the utility, we found the:

sudo rdmarkerset --group=MUSIC --auto-trim=-50 --verbose

Therein lies your fix! Thanks, all!


On Sat, Dec 7, 2013 at 11:54 AM, WMFO Assistant General Manager <
a...@wmfo.org> wrote:

> Thanks! That should do the trick.
>
>
> On Sat, Dec 7, 2013 at 11:45 AM, Fred Gleason <fr...@paravelsystems.com>wrote:
>
>> On Dec 6, 2013, at 18:03 06, WMFO Assistant General Manager <a...@wmfo.org>
>> wrote:
>>
>> > So where is the true LENGTH stored?
>> >       1. In the WAV file only (as RDLibrary "Edit Markers" does open
>> the actual WAV file, so it could feasibly retrieve the information there)
>> >       2. Somewhere else in the database I haven't found
>>
>> Number 1.  The Single Point Of Truth.
>>
>>
>> > If 1 is the case, this may be a "painful and slow PHP script fix" fix.
>> Can anyone offer wisdom here?
>>
>> It may not be as bad as you fear.  You can get hold of the absolute
>> length fairly easily by using the 'AudioInfo' RDXport services call.  For
>> example, doing something like:
>>
>> *** snip snip ***
>> curl -d
>> COMMAND=19\&LOGIN_NAME=user\&PASSWORD=\&CART_NUMBER=999999\&CUT_NUMBER=1
>> http://localhost/rd-bin/rdxport.cgi
>> *** snip snip ***
>>
>> will get you back something like:
>>
>> *** snip snip ***
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <audioInfo>
>>   <cartNumber>999999</cartNumber>
>>   <cutNumber>1</cutNumber>
>>   <format>1</format>
>>   <channels>2</channels>
>>   <sampleRate>48000</sampleRate>
>>   <frames>483328</frames>
>>   <length>10069</length>
>> </audioInfo>
>> *** snip snip ***
>>
>> The <length> field is the absolute length of the audio file in mS.
>>
>> There is a much nicer HTML implementation (used for testing and
>> validation) in 'web/tests/audioinfo.html'; the production C++
>> implementation can be found in 'lib/rdaudioinfo.[cpp,h].
>>
>> Cheers!
>>
>>
>>
>> |-------------------------------------------------------------------------|
>> | Frederick F. Gleason, Jr. |               Chief Developer
>> |
>> |                           |               Paravel Systems
>> |
>>
>> |-------------------------------------------------------------------------|
>> |             The wise man doesn't give the right answers,
>>  |
>> |             he poses the right questions.
>> |
>> |                                         -- Claude Levi-Strauss
>>  |
>>
>> |-------------------------------------------------------------------------|
>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
>
> --
> Nicholas Andre
> n...@wmfo.org
>
> Willy Kite
> wi...@wmfo.org
>
> Assistant General Managers
> WMFO 91.5 Medford
> www.wmfo.org
>



-- 
Nicholas Andre
n...@wmfo.org

Willy Kite
wi...@wmfo.org

Assistant General Managers
WMFO 91.5 Medford
www.wmfo.org
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to