> On 09/10/2011 22:27, Hoggins! wrote:
>> Hello Scott,
>>
>> Could you point me where in the code the scheduler's "brain" is ? A few
>> months ago, I briefly looked into it without any findings, and I would
>> be very interested in the way it "thinks".
>>

It is kind of spread out over some different classes, but I was  
messing around in the lib/rdevent_line.cpp file,  
RDEventLine::generateLog function, search for Scheduler.


Quoting Robert Jeffares <jeffares.rob...@gmail.com>:

> Of the tracks that meet this criteria it picks the one with the LEAST
> NUMBER OF PLAYS.
>
> If you have just added a track to a GROUP in which the majority of
> tracks have been in the system for some time and have been played a
> number of times your new track is more likely to be scheduled tomorrow
> until it racks up a few points.

That certainly explains some of the behavior we were seeing.  I  
definitely noticed that a couple of the tracks we had recently added  
showed up a lot.

But the weird thing is, I dumped the last played and number of times  
played and it seemed that some tracks with low play counts still  
weren't getting scheduled.

This is a dump sorted by last played from Oct 6th (before I messed  
with the scheduler):

CART: 400460  LAST_PLAY: 2011-08-02 10:32:10  PLAY_COUNT: 3
   DESCRIPTION: Don't Talk To Me About Love
CART: 400196  LAST_PLAY: 2011-08-03 12:54:55  PLAY_COUNT: 6
   DESCRIPTION: This Is The Day
CART: 400236  LAST_PLAY: 2011-08-07 17:11:52  PLAY_COUNT: 3
   DESCRIPTION: It's Called A Heart
CART: 400451  LAST_PLAY: 2011-08-10 15:12:06  PLAY_COUNT: 3
   DESCRIPTION: A Strange Kind Of Love (Version One)
CART: 400521  LAST_PLAY: 2011-08-17 20:09:55  PLAY_COUNT: 1
   DESCRIPTION: Pistol
CART: 400284  LAST_PLAY: 2011-08-18 11:45:14  PLAY_COUNT: 7
   DESCRIPTION: Boy
CART: 400202  LAST_PLAY: 2011-08-18 19:03:59  PLAY_COUNT: 17
   DESCRIPTION: Can't Get There From Here
CART: 400024  LAST_PLAY: 2011-08-18 22:54:17  PLAY_COUNT: 14
   DESCRIPTION: Babooshka
...
CART: 400346  LAST_PLAY: 2011-10-06 10:36:02  PLAY_COUNT: 15
   DESCRIPTION: Change
CART: 400097  LAST_PLAY: 2011-10-06 10:55:28  PLAY_COUNT: 17
   DESCRIPTION: Stray Cat Strut
CART: 400223  LAST_PLAY: 2011-10-06 11:08:02  PLAY_COUNT: 11
   DESCRIPTION: Biko
CART: 400382  LAST_PLAY: 2011-10-06 11:18:32  PLAY_COUNT: 7
   DESCRIPTION: She Sells Sanctuary
CART: 400418  LAST_PLAY: 2011-10-06 11:37:25  PLAY_COUNT: 7
   DESCRIPTION: Torch Songs for the Heroine [Single Version]

I haven't dumped it since I messed with the scheduler.

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to