Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
I've tried to understand the logistics behind the log system. The issue with my station though when it comes to logs is timing. I tried using logs before. It didn't work properly (was I doing something wrong?). The logs did not satisfy the times I specified when generating them... not even close. If I started a log at 12, it could be up to 3 or 4 hours off by the end of the day. Secondly, the clock system seemed weird because I had to insert a new piece FOR EVERY TRACK I wanted to play... instead of inserting one piece for every "genre period, commercial period, et cetera" I wanted. And again it was not even close to staying on sync when the logs were generated. Third, I like to have random albums played, and a few tracks from each album. I have a PHP script that successfully plays random albums, and the logs are set to play not one but a few tracks from that album before moving to another random one. I'd like to keep it that way. Finally... the way I'm setting up the station to allow other churches to participate... and the groups I have to make... I have it set so only I can use up to 1000 carts for myself... so that it's divided that all churches can use up to 100 each. It also, even though you say it's better, isn't easier for me, to have one cut per cart and then have a log system. I already spend enough time as it is managing my church website... I don't really have the time to spend operating with these log rotations and clocks... and having one track of a song per cart. Now if there was another person that COULD help me with the station I probably could use logs... but the problem is... where I live right now... there is no one who can help me. Much less, there isn't anyone who would give two cents about the station and would actually be reliable when it comes to helping me out. I feel that way from experience. But regardless... I am open to you helping me understand this logging system and use it right so that it's not so off in timing... if you care to explain. I'd appreciate that. On Mon, Jan 2, 2012 at 1:18 AM, Kevin Miller wrote: > On 01/01/2012 06:58 PM, Patrick Schmalstig / WRRJ Radio wrote: > > > 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? > > It may have changed, but historically the advice was to have one cut per > cart. The exception was with advertisements or IDs and the like where > you might have various versions but it didn't really matter which > played, as long as one did. Usually it was just a sequential rotation. > For instance you might schedule an ad to run three times an hour - at > the top of the hour, at 20 minutes after, and at 20 till. Having three > different versions of the ad keeps it from being repetitive but you > don't really care which ad is when. > > Songs and the like only had a single cut per cart, and the scheduler > would select the cart based on group, scheduler codes, etc. See the > wiki page: http://rivendell.tryphon.org/wiki/Managing_Scheduler_Rules > for more details. > > It may be that you have a specific need for having multiple cuts per > cart, but in general I believe that having one per cart makes the system > more manageable, and I think that's how it was designed. The scheduler > program would pick the carts, presumably randomizing them as appropriate > based on criteria you specify. > > Others, more knowledgeable than me, can chime in with more advice if I'm > steering you wrong... > > ...Kevin > -- > Kevin Miller - http://www.alaska.net/~atftb > Juneau, Alaska > In a recent survey, 7 out of 10 hard drives preferred Linux > Registered Linux User No: 307357, http://linuxcounter.net > ___ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
On 01/01/2012 06:58 PM, Patrick Schmalstig / WRRJ Radio wrote: > 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? It may have changed, but historically the advice was to have one cut per cart. The exception was with advertisements or IDs and the like where you might have various versions but it didn't really matter which played, as long as one did. Usually it was just a sequential rotation. For instance you might schedule an ad to run three times an hour - at the top of the hour, at 20 minutes after, and at 20 till. Having three different versions of the ad keeps it from being repetitive but you don't really care which ad is when. Songs and the like only had a single cut per cart, and the scheduler would select the cart based on group, scheduler codes, etc. See the wiki page: http://rivendell.tryphon.org/wiki/Managing_Scheduler_Rules for more details. It may be that you have a specific need for having multiple cuts per cart, but in general I believe that having one per cart makes the system more manageable, and I think that's how it was designed. The scheduler program would pick the carts, presumably randomizing them as appropriate based on criteria you specify. Others, more knowledgeable than me, can chime in with more advice if I'm steering you wrong... ...Kevin -- Kevin Miller - http://www.alaska.net/~atftb Juneau, Alaska In a recent survey, 7 out of 10 hard drives preferred Linux Registered Linux User No: 307357, http://linuxcounter.net ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
I just changed it in the database not through rdlibrary lol. I have to be soo complicated. Anyway thanks for telling me about random being deprecated. Can there be a workaround... such as a php script that randomizes cuts in the database? I don't know if you know anything about PHP. On Mon, Jan 2, 2012 at 12:01 AM, Luigino Bracci wrote: > Hi, > > A small bug: When you choose _two or more carts_ in the rdlibrary and you > click the Edit button, the "Edit Carts" dialog shows a "Scheduled cuts" > option, letting you to choose between Sequential or Random cuts. > > > 2012/1/2 Robert Orr > >> Hi Patrick, >> Here's a quote from the news file: >> v1.0.0rc0 -- 04/10/2008 >> snip >> Changes: >> Random Cut Rotation Retired. The ability to schedule cuts to rotate >> 'randomly' within a cart has been removed, with all cut rotation now >> using the original 'sequential' algorithm. >> /snip >> >> Hope that helps, >> Robert >> >> On Sun, Jan 1, 2012 at 9:58 PM, Patrick Schmalstig / WRRJ Radio >> wrote: >> > 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 >> > 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 >> > Rivendell-dev@lists.rivendellaudio.org >> > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev >> > >> ___ >> Rivendell-dev mailing list >> Rivendell-dev@lists.rivendellaudio.org >> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev >> > > > ___ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > > ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
Hi, A small bug: When you choose _two or more carts_ in the rdlibrary and you click the Edit button, the "Edit Carts" dialog shows a "Scheduled cuts" option, letting you to choose between Sequential or Random cuts. 2012/1/2 Robert Orr > Hi Patrick, > Here's a quote from the news file: > v1.0.0rc0 -- 04/10/2008 > snip > Changes: > Random Cut Rotation Retired. The ability to schedule cuts to rotate > 'randomly' within a cart has been removed, with all cut rotation now > using the original 'sequential' algorithm. > /snip > > Hope that helps, > Robert > > On Sun, Jan 1, 2012 at 9:58 PM, Patrick Schmalstig / WRRJ Radio > wrote: > > 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 > > 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 > > Rivendell-dev@lists.rivendellaudio.org > > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > > > ___ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
It helps a little but still doesn't make sense. My cuts played in sequential order 1 2 3 4 5 before I changed all play sequence values to 1 for random. Then they played in different order ex. 12534. But they ALWAYS play in that order... they are never randomized again. I thought if random retired it wouldn't do it the first time. ...and wow it retired just before the first Rivendell? On Sun, Jan 1, 2012 at 11:49 PM, Robert Orr wrote: > Hi Patrick, > Here's a quote from the news file: > v1.0.0rc0 -- 04/10/2008 > snip > Changes: > Random Cut Rotation Retired. The ability to schedule cuts to rotate > 'randomly' within a cart has been removed, with all cut rotation now > using the original 'sequential' algorithm. > /snip > > Hope that helps, > Robert > > On Sun, Jan 1, 2012 at 9:58 PM, Patrick Schmalstig / WRRJ Radio > wrote: > > 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 > > 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 > > Rivendell-dev@lists.rivendellaudio.org > > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > > > ___ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
Hi Patrick, Here's a quote from the news file: v1.0.0rc0 -- 04/10/2008 snip Changes: Random Cut Rotation Retired. The ability to schedule cuts to rotate 'randomly' within a cart has been removed, with all cut rotation now using the original 'sequential' algorithm. /snip Hope that helps, Robert On Sun, Jan 1, 2012 at 9:58 PM, Patrick Schmalstig / WRRJ Radio wrote: > 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 > 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 > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Rivendell randomizing cuts in a cart doesn't seem to be "random enough"
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 < xana...@gmail.com> 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 Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Hotkeys not working with Ubuntu 10.4 (solved)
Am 01.01.2012 18:45, schrieb Rüdiger: > Am 31.12.2011 16:30, schrieb Luigino Bracci: > >> Try setting the QTDIR variable. This worked for me in Ubuntu 11.04: >> >> $ export QTDIR=/usr/share/qt3 >> $ rdadmin<--- set the keys...! > > $ rdairplay > > Yes. That it. Now i have to find a way to set it system wide and > permanent for Ubuntu 10.04 LTS... > Answer myself.;) To set this variable at systemboot.. In terminal: cd /etc/X11/Xsession.d sudo touch 90environment sudo gedit (my fav. editor) --> type in " export QTDIR=/usr/share/qt3 " save and reboot. -- Ruediger Radio Ostfriesland Techniksupport Automation ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Hotkeys not working with Ubuntu 10.4
Am 31.12.2011 16:30, schrieb Luigino Bracci: > Try setting the QTDIR variable. This worked for me in Ubuntu 11.04: > > $ export QTDIR=/usr/share/qt3 > $ rdadmin <--- set the keys...! > $ rdairplay Yes. That it. Now i have to find a way to set it system wide and permanent for Ubuntu 10.04 LTS... -- -- Ruediger Radio Ostfriesland Techniksupport Automation ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev