Seems like a terribly inefficient way of doing it.

On Fri, Nov 4, 2016 at 5:11 PM, Geoff Barkman <countryra...@gmail.com>
wrote:

> Hi there.
> The only way I could work this one out is to do this to have two dropbox
> folders....
>
> If you put a piece of audio in one... it deletes all the existing cuts.
>
> Then you put all the other pieces of audio into the second dropbox
> folder... it then adds cut to the existing cart.
> Many thanks
> Geoff Barkman
>
> On Sat, Nov 5, 2016 at 8:23 AM, Rob Landry <41001...@interpring.com>
> wrote:
>
>>
>> I'm trying to imagine how this would work.
>>
>> If someone loads a single ID cut into the dropbox, you want it to delete
>> all current ID's from the cart and just import the one?
>>
>> I would not use the Rivendell dropbox feature at all, but set up a Perl
>> script to run as a cron job at the top of each minute. The Perl script
>> would look for dropbox files conforming to the desired specification,
>> delete the target cart, and run rdimport on them.
>>
>>
>> Rob
>>
>> --
>> Я там, где ребята толковые,
>> Я там, где плакаты "Вперёд",
>> Где песни рабочие новые
>> Страна трудовая поёт.
>>
>>
>> On Thu, 3 Nov 2016, Seth Stevenson wrote:
>>
>>
>>> I'm not sure how to get a script to do that. Here is what I want to to in
>>> detail.
>>>
>>> We have a number of transmitter sites. We are putting raspberry pi with
>>> Rivendell at each site to run localized Id's for that station. They are
>>> in
>>> one cart in the panel on rdairplay.
>>>
>>> We use a Dropbox.com folder on the computer linked to our FTP server. A
>>> Rivendell Dropbox then imports them into that cart. When we want to
>>> change
>>> ids we just want to put them in the appropriate folder on the server and
>>> let
>>> Rivendell Dropbox overwrite the existing ones. The goal is to automate
>>> this
>>> so it is easy to swap out each stations ids for new ones in the same
>>> cart.
>>> There are dozens of stations, so I don't want to go in each one and
>>> delete
>>> the current cart or the cuts. The cart needs to the same, since a script
>>> fires it to play the same one.
>>>
>>> Hope I haven't muddied the waters with that explanation. What's the best
>>> way
>>> to do this.
>>>
>>> It should work to delete the cart with a script or by some means, then
>>> when
>>> the dropbox imports new cuts to the specific cart, it recreates it with
>>> only
>>> the new cuts in it.
>>>
>>> Tom Van Gorkom
>>> Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
>>> Office: 956-380-8150
>>> Cell: 865-803-7427
>>>
>>> Rio Grande Bible Institute
>>> 4300 S US Hwy 281
>>> Edinburg, TX 78539
>>>
>>> On Thu, Nov 3, 2016 at 9:42 AM, Seth Stevenson <rcflye...@gmail.com>
>>> wrote:
>>>
>>>       No, actually I want to delete all current cuts before importing
>>>       new ones.
>>>
>>>       On Nov 3, 2016 10:39 AM, "David Klann" <dkl...@linux.com> wrote:
>>>             Hey Fred,
>>>
>>>             I think what Seth is asking for is an option to
>>>             delete /all/ cuts in a
>>>             cart, and then (at a later time) load the cart up
>>>             with several cuts, and
>>>             *not* delete each cut before importing a new one.
>>>             This is more complex
>>>             than a simple checkbox (i.e., binary) option.
>>>             Because, how would
>>>             Rivendell know, without setting some kind of
>>>             schedule, when to drop cuts
>>>             and when to leave cuts?
>>>
>>>             *My* opinion on this is that it wouldn't be
>>>             appropriate to change
>>>             Rivendell to support this -- Rivendell is already
>>>             flexible enough to
>>>             support the few cases in which people want to do it.
>>>
>>>             Hope this helps clarify!
>>>
>>>               ~David Klann
>>>
>>>             On 11/03/2016 08:50 AM, Fred Gleason wrote:
>>>             > On Nov 2, 2016, at 15:27, Seth Stevenson
>>>             <rcflye...@gmail.com
>>>             > <mailto:rcflye...@gmail.com>> wrote:
>>>             >
>>>             >> I had a question about Dropbox operation in
>>>             Rivendell. I want to
>>>             >> import say 25 cuts, in a cart that already has 25
>>>             cuts in it. I was
>>>             >> hoping the delete cuts before import button would
>>>             delete all the cuts,
>>>             >> and then do the import, which is what I want to
>>>             do. However it deletes
>>>             >> cut for cut, so I end up with only one cut in the
>>>             cart when the import
>>>             >> finishes. Is there another way to do this? Can it
>>>             be added as a
>>>             >> feature? Thanks.
>>>             >
>>>             > To get this behavior, just set a destination cart
>>>             (in the ‘To Cart’ field).
>>>             >
>>>             > Cheers!
>>>             >
>>>             >
>>>             >
>>>             |-----------------------------------------------------------
>>> -----------|
>>>             > | Frederick F. Gleason, Jr. |              Chief
>>>             Developer             |
>>>             > |                           |              Paravel
>>>             Systems             |
>>>             >
>>>             |-----------------------------------------------------------
>>> -----------|
>>>             > |          A room without books is like a body
>>>             without a soul.         |
>>>             > |                                         --
>>>             Cicero                    |
>>>             >
>>>             |-----------------------------------------------------------
>>> -----------|
>>>             >
>>>             >
>>>             > _______________________________________________
>>>             > Rivendell-dev mailing list
>>>             > Rivendell-dev@lists.rivendellaudio.org
>>>             >
>>>             http://caspian.paravelsystems.com/mailman/listinfo/rivendell
>>> -dev
>>>             >
>>>
>>>
>>>             _______________________________________________
>>>             Rivendell-dev mailing list
>>>             Rivendell-dev@lists.rivendellaudio.org
>>>             http://caspian.paravelsystems.com/mailman/listinfo/rivendell
>>> -dev
>>>
>>>
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>>
>>>
>>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>


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

Reply via email to