I tried the following when it comes to randomizing rivendell cuts... and
none of them have been a success:

*Shuffling cut names in database via. PHP script (caused cuts to have wrong
lengths and settings)
*Clearing play log (did nothing)
*Cleared play and local counters for all cuts (did nothing)
*Cleared last play date time field for all cuts (did nothing)
*Restarted rivendell daemons (shut them down before, put them back online
after, all the above processes were done)
*Setting all cuts to Play Sequence value # 1 (Random) in database (they
play in a different order since they were 0 but it's been that same exact
order ever since I changed the values to 1... even after all the tasks
above were done)

Does anyone have any hints on how to shuffle my cuts on a per-cart basis
efficiently? ...even if I have to use a PHP script executed on a schedule
to make MySQL queries?

On Fri, Dec 30, 2011 at 2:10 AM, Patrick Schmalstig / WRRJ Radio <
[email protected]> wrote:

> Hello.
>
> I have went through the database on my Rivendell 2.1.0 system under Ubuntu
> Studio 11.10 and set all my music carts' play order from 0 to 1 to indicate
> to play cuts randomly.
>
> It doesn't seem random enough. It's like if I was playing a regular
> rotation except the cuts are in different order; they only get randomized
> once.
>
> I tried executing a script to clear all play counters of the cuts and
> clear the Production_SRT table containing the history. What happens is the
> system simply begins playing at the same order it had before... it doesn't
> randomize it again.
>
> Example a cart with cut numbers 1 2 3 4 and 5 will play in the order 1 2 3
> 4 5 when I have the play order set to 0... sequential.
> Now with the random order (play counter 1), it ALWAYS starts with cut 1,
> then maybe it'll play in an order such as 1 2 4 3 5.
> But when I clear all counters and logs, the system simply goes back to
> playing in the same random order as before, ex 1 2 4 3 5... it doesn't
> re-randomize the cut orders.
>
> Is there any way to remedy this situation? I'd like to be able to have a
> new different cut order in my carts each day with my script clearing and
> resetting the counters and logs in the Rivendell mysql database (or if you
> know of additional things I have to do in the database please let me know).
>
> Sorry if this sounds confusing.
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to