by Stevotower » Sun Nov 27, 2011 3:00 pm
Turns out the problem with not pulling a new album was due to the new "Playback Rules" setting in MM4. I happened to be testing with classical music which has "Ignore Auto-DJ when playing" selected by default. I unchecked that and AADJ starting working (with VBScript errors, and it wasn't honoring the SQL filter choice).
So the issues seem to be down to:
1) a variety of VBScript errors (mismatched type for some assignments, such as AvgRating (line 252), MinRating (line 290); and many instances "Invalid Procedure Call or Argument 'Left' [or Mid]", none of which occur in MM3, and
2) FilterSQL in the GenerateNewTrack SELECT string (line 794) passed to SDB.Database.OpenSQL (line 738) doesn't seem to be filtering anything. An example string looks like:
SELECT Count(*) As Nombre FROM Songs WHERE IDAlbum=782 AND Rating>-2 AND Songs.TrackType in (3)
for FilterName = "Classical Music", so it seems the FilterName translates to a filter ID (3 in this case).
Any help is appreciated. AADJ is 60% of why I love MediaMonkey and I really want to get it working again!