StayInSameStyleDJ [MM3]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

I switched to no filter and it is still not working for me, here are my settings maybe something else is preventing it?

Image
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: StayInSameStyleDJ [MM3]

Post by SatinKnights »

Ok. Here are a few things to try.
1) Check the "Ignore Restrictions" next to the Christmas commercials. Otherwise, it will look for Christmas songs that are 3 stars or better.
2) Check the Extra debugging. Then read $TEMP\StayInSameStyle-Trace.log. You should see something like
...
CMP: Album 149: Live Killers -vs- Vital Idol
CMP: Album 150: Live Killers -vs- Rattle and Hum
Adding "We Will Rock You" by "Queen" on "Live Killers" to the playlist after 3 database lookups.
(Added one song and cleared internal list)
Commercial Insert A: Do we add now?: 5 < 20
Commercial Insert A: Yes 5 < 20
DbLoop 1: queryStr= WHERE Songs.Genre ='Christmas' ORDER by random() LIMIT 20

CMP: Title 0: Goodnight -vs- Kashmir
CMP: Title 1: Goodnight -vs- My Truth
CMP: Title 2: Goodnight -vs- Hyacinth House
CMP: Title 3: Goodnight -vs- Paradise By The Dashboard Light
CMP: Title 4: Goodnight -vs- Walk This Way
...
CMP: Title 149: Goodnight -vs- To Be a Lover
CMP: Title 150: Goodnight -vs- Helter Skelter
Adding "Goodnight" by "The Manhattan Transfer" on "The Christmas Album" to the playlist after 6 database lookups.
Store Ini.SongList of IDs :174542:

3) Since you have the Show NowPlaying subNode checked, when you are playing a rock song, and the script has chosen a Christmas song, the subNode is updated for the list of Christmas songs that were available to chose from. So, you should see "Same Style Choices: 221 songs, 0 skipped" in the left panel. When you click on it, it should show the list of 221 Christmas songs that were available from the DbLoop1 query above. If it says "Same Style Choices: 0 songs, 0 skipped", then the database query for the genre is getting messed up.

4) Ah, might be no Genre searches. At the top, click on Same Genre. Well, I tested mine, and that was not the problem, but if you got this far, I am grasping at straws.

-Satin Knights
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

I tried all your suggestions, no luck I do not get it queueing the christmas genre at all:

Code: Select all

Adding "Precious" by "Chanté Moore" on "Precious" to the playlist after 3 database lookups.
The user started a different song, flushing the old queue.
Adding "Stay the Night" by "Mariah Carey" on "The Emancipation of Mimi" to the playlist after 3 database lookups.
The user started a different song, flushing the old queue.
Adding "Treasure" by "The Brothers Johnson" on "Best of the Brothers Johnson" to the playlist after 3 database lookups.
The user started a different song, flushing the old queue.
Adding "So Blessed" by "Mariah Carey" on "Emotions" to the playlist after 3 database lookups.
The user started a different song, flushing the old queue.
Adding "And I" by "Ciara" on "Goodies" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "(I Can't Get No) Satisfaction" by "The Rolling Stones" on "Dancing with the Stars -  Season 5 Week 9" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Crestfallen" by "The Smashing Pumpkins" on "Cold Case -  Sabotage" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "If I Was Your Girlfriend" by "Prince" on "Sign 'O the Times" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "It's Too Late" by "The Isley Brothers" on "Beautiful Ballads, Volume 2" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Chase" by "Maiysha" on "This Much Is True" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Waiting On the World to Change" by "John Mayer" on "Dancing with the Stars -  Season 7 Week 2" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "For Moms" by "Jaheim" on "Ghetto Love" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Going to a Go-Go" by "Smokey Robinson; The Miracles" on "Going to a Go-Go" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Guess You Didn't Know" by "One Way" on "Push" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Come Over" by "Jaheim" on "Ghetto Classics" to the playlist after 3 database lookups.
The user started a different song, flushing the old queue.
Adding "Rise" by "Will Dailey" on "Criminal Minds -  Children of the Dark" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Better Man" by "J-Shin; Shonie" on "All I Got Is Love" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Yo Side of the Bed" by "Treysongz" on "Ready" to the playlist after 7 database lookups.
The user started a different song, flushing the old queue.
Adding "Use Your Heart" by "SWV" on "Best of SWV" to the playlist after 7 database lookups.
EDIT: I did another test, I made the christmas filter active and changed the genre to something else, and it is not activating the feature at all. Is there something in the mediamonkey.ini I can check to see if it is not updating??
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

Here's my mediamonkey.ini info:

Code: Select all

[StayInSameStyle]
restrictAlbum=25
restrictArtist=0
databaseRetries=6
AvgRating=5
days=14
outputLog=1
outputTrace=1
wanderGenre=0
keepGenre=0
keepMood=0
keepTempo=0
keepOccasion=0
playUnheard=0
skipBombs=1
looseRestrictions=1
CommercialA=0
CommercialB=0
CommercialASkip=1
CommercialBSkip=0
CommercialASongs=5
CommercialBSongs=10
CommercialACount=1
CommercialBCount=1
CommercialAPercentage=19
CommercialBPercentage=4
ShowNode=1
FilterName=StayInTheSameStyle -- Fave Xmas
FilterLoose=0
CommercialAGenre=Wedding
CommercialBGenre=
GrabAlbumsGenres=
wanderGenres=1
GrabAlbums=0
GrabAlbumsAll=0
SongList=
MainGenre=Slow Jams2
ARunningCount=1
BRunningCount=1
SongStarted=0
WeightedRatings=1
IgnoreOverPlayed=0
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: StayInSameStyleDJ [MM3]

Post by SatinKnights »

nynaevelan wrote:Here's my mediamonkey.ini info:

Code: Select all

[StayInSameStyle]
CommercialA=0                                       <=== This says that Commerial A is turned off.
CommercialB=0                                       <=== And Commercial B is also off
CommercialASkip=1                                 <=== Skip Commercial restrictions on, good
CommercialBSkip=0
CommercialASongs=5                               <=== how many songs to wait
CommercialBSongs=10
CommercialACount=1                               <=== how many commercials to add
CommercialBCount=1
CommercialAPercentage=19
CommercialBPercentage=4
FilterName=StayInTheSameStyle -- Fave Xmas                <=== Main songs are Christmas
FilterLoose=0
CommercialAGenre=Wedding                       <=== Commercials selected from the Wedding Genre
CommercialBGenre=
MainGenre=Slow Jams2                    <=== Last song played had "Slow Jams2" for a genre
ARunningCount=1                    <=== 1 of the five songs have played, so we cannot slip in the commercial yet
BRunningCount=1
SongStarted=0                       <=== The song ID we chose last time is not playing, so start counters over again.
Ok.
1) From this, it looks like the commercials have been turned off in the setup screen. That will be the checkbox to the far left in the commercials section. A should be on, and B should be off, because you have not chosen another genre for it to select from.
2) The previous post looks like you were double clicking on a song from the main track listings panel to start it, and then double clicking on another, and another. Well, this restarts all the counters each time, evidenced by the "The user started a different song, flushing the old queue." line each time. Instead, just click on the "Next" button in the player.

I have tried your settings on my machine, and it did work for me. So, I think we will get it working for you.

Ok, one last thought. The songs from the commercial Genre need to exist inside the Filter list. Both lists are database query filters and the song list to choose from is (from filter) AND (from CommecialGenre). So, if they do not overlap, you may come up with empty sets to play.

-Satin Knights
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

SatinKnights wrote: 1) From this, it looks like the commercials have been turned off in the setup screen. That will be the checkbox to the far left in the commercials section. A should be on, and B should be off, because you have not chosen another genre for it to select from.
I figured this out and have since turned it on but it did not fix the problem.
SatinKnights wrote: 2) The previous post looks like you were double clicking on a song from the main track listings panel to start it, and then double clicking on another, and another. Well, this restarts all the counters each time, evidenced by the "The user started a different song, flushing the old queue." line each time. Instead, just click on the "Next" button in the player.
This may be one of the problems because I am not selecting songs, I have been listening to music for the last couple of hours with SiSS selecting the songs but when I look at today's logs it shows the same type of entries. Maybe there is a script conflict? I do have a couple that display info regarding the playing song so maybe that is what is messing it up? I will turn them off to see if this is what is causing the problems.
SatinKnights wrote: Ok, one last thought. The songs from the commercial Genre need to exist inside the Filter list. Both lists are database query filters and the song list to choose from is (from filter) AND (from CommecialGenre). So, if they do not overlap, you may come up with empty sets to play.

-Satin Knights
I changed the filter and we will see if this helps also.

Still not getting it to work, here is a copy of the tracelog and this is with all other scripts removed and me not changing a song manually:

Code: Select all

************ Start of a new song ******************
TRACE OPTIONS::  Genre=False, Occasion=False, Mood=False, Tempo=False
TRACE OPTIONS::  restrictAlbum=25, restrictArtist=0, rating=, days=0, DB retries=10
Trace OPTIONS::  WeightedRatings=True, Current Bonus Ratings Boost=0
TRACE OPTIONS::  skipBombs=True, unheard=False, wander genres=False, show NP node=True
TRACE OPTIONS::  Loose restrictions=True, filter="StayInTheSameStyle -- Primary", loose filter=False
TRACE OPTIONS::  CommercialA enabled=True, after songs=5, adding=1, 2/20 of the time,
             ::   and skipping restrictions=True, from genre="Christmas"
TRACE OPTIONS::  CommercialB enabled=False, after songs=10, adding=1, 4/20 of the time,
             ::   and skipping restrictions=False, from genre=""
TRACE OPTIONS::  GrabFullAlbums=False All Genres=False
             ::   from genres=
Trace OPTIONS::  Last song started ID=0, Main Genre="Slow Jams2"
TRACE OPTIONS::  Queued up songlist =
The user started a different song with ID 4134 and we expected 0. flushing old queue of 
Memory list and Ini.SongList empty, calling Selectsong() to fill list
Setting Library Filter: FilterName = StayInTheSameStyle -- Primary, Loose = False, FilterSQL = ' AND   Songs.ID IN (SELECT IDSong FROM GenresSongs WHERE GenresSongs.IDGenre IN ( SELECT Genres.IDGenre FROM Genres WHERE Genres.IDGenre in (3,5,7,9,10,11,12,47,4,2,8,13))) AND Songs.PlayCounter>=5 AND (Songs.PlayCounter>=0 and Songs.PlayCounter<=9) AND NOT (Songs.SongTitle like '%explicit%') AND Songs.LastTimePlayed<40139.519997928 '.
Setting 'now' based on NowPlaying-2's time of 39442.803538993
Could calculate IgnoreOverPlayed, but option is off.
DbLoop 1: queryStr= WHERE Songs.Rating <> 0 AND   Songs.ID IN (SELECT IDSong FROM GenresSongs WHERE GenresSongs.IDGenre IN ( SELECT Genres.IDGenre FROM Genres WHERE Genres.IDGenre in (3,5,7,9,10,11,12,47,4,2,8,13))) AND Songs.PlayCounter>=5 AND (Songs.PlayCounter>=0 and Songs.PlayCounter<=9) AND NOT (Songs.SongTitle like '%explicit%') AND Songs.LastTimePlayed<40139.519997928  ORDER by random() LIMIT 10
  CMP: Title 0: When I See U -vs- Who Would Have Thought
  CMP: Title 1: When I See U -vs- Resentment
  CMP: Title 2: When I See U -vs- Precious
  CMP: Title 3: When I See U -vs- Stay the Night
  CMP: Title 4: When I See U -vs- Treasure
  CMP: Title 5: When I See U -vs- So Blessed
  CMP: Title 6: When I See U -vs- And I
  CMP: Title 7: When I See U -vs- (I Can't Get No) Satisfaction
  CMP: Title 8: When I See U -vs- Crestfallen
  CMP: Title 9: When I See U -vs- If I Was Your Girlfriend
  CMP: Title 10: When I See U -vs- It's Too Late
  CMP: Title 11: When I See U -vs- Chase
  CMP: Title 12: When I See U -vs- Waiting On the World to Change
  CMP: Title 13: When I See U -vs- For Moms
  CMP: Title 14: When I See U -vs- Going to a Go-Go
  CMP: Title 15: When I See U -vs- Guess You Didn't Know
  CMP: Title 16: When I See U -vs- Come Over
  CMP: Title 17: When I See U -vs- Rise
  CMP: Title 18: When I See U -vs- Better Man
  CMP: Title 19: When I See U -vs- Yo Side of the Bed
  CMP: Title 20: When I See U -vs- Use Your Heart
  CMP: Title 21: When I See U -vs- Christmas Is
  CMP: Title 22: When I See U -vs- Santa Claus Is Coming to Town
  CMP: Title 23: When I See U -vs- What Are You Doing New Year's Eve?
  CMP: Title 24: When I See U -vs- Joy to the World
  CMP: Title 25: When I See U -vs- Baby, It's Cold Outside
  CMP: Title 26: When I See U -vs- The Little Drummer Boy
  CMP: Title 27: When I See U -vs- The Christmas Song (Merry Christmas to You)
  CMP: Title 28: When I See U -vs- Winter Wonderland
  CMP: Title 29: When I See U -vs- Let It Snow '98
  CMP: Title 30: When I See U -vs- Silent Night 911 (The God Song)
  CMP: Title 31: When I See U -vs- All I Want for Christmas
  CMP: Title 32: When I See U -vs- White Christmas
  CMP: Title 33: When I See U -vs- Christmas Ain't Christmas (Without the One You Love)
  CMP: Title 34: When I See U -vs- Feels Like Christmas
  CMP: Title 35: When I See U -vs- Santa Claus Go Straight to the Ghetto
  CMP: Title 36: When I See U -vs- Footsteps in the Dark
  CMP: Title 37: When I See U -vs- Turn Ya Out
  CMP: Title 38: When I See U -vs- Why Should We Stop Now
  CMP: Title 39: When I See U -vs- Din Daa Daa
  CMP: Title 40: When I See U -vs- Diary
  CMP: Title 41: When I See U -vs- Heaven [Live]
  CMP: Title 42: When I See U -vs- Butterflyz [Krucialkeys Remix]
  CMP: Title 43: When I See U -vs- Simply Say I Love U
  CMP: Title 44: When I See U -vs- Make Me Happy
  CMP: Title 45: When I See U -vs- I Can't Make You Love Me
  CMP: Title 46: When I See U -vs- Just a Touch of Love
  CMP: Title 47: When I See U -vs- The People (Edited)
  CMP: Title 48: When I See U -vs- Everybody Plays the Fool
  CMP: Title 49: When I See U -vs- In the Morning
  CMP: Title 50: When I See U -vs- Gotta Serve Somebody
  CMP: Title 51: When I See U -vs- The Look in Your Eyes
  CMP: Title 52: When I See U -vs- 12 Play
  CMP: Title 53: When I See U -vs- Inside of You
  CMP: Title 54: When I See U -vs- Promise
  CMP: Title 55: When I See U -vs- Buy U a Drank (Shawty Snappin')
  CMP: Title 56: When I See U -vs- Household of Faith
  CMP: Title 57: When I See U -vs- Corner of Your Heart
  CMP: Title 58: When I See U -vs- This Is for the Lover in You
  CMP: Title 59: When I See U -vs- Hooked On You
  CMP: Title 60: When I See U -vs- I Can See in Color
  CMP: Title 61: When I See U -vs- I Love You
  CMP: Title 62: When I See U -vs- Slow Wind (Remix)
  CMP: Title 63: When I See U -vs- This Time
  CMP: Title 64: When I See U -vs- Try Sleeping with a Broken Heart
  CMP: Title 65: When I See U -vs- Bad Habits
  CMP: Title 66: When I See U -vs- Only You
  CMP: Title 67: When I See U -vs- Did It Again [Video]
  CMP: Title 68: When I See U -vs- Earth Song
  CMP: Title 69: When I See U -vs- Before I Let Go
  CMP: Title 70: When I See U -vs- Rubberneckin' [Paul Oakenfold Remix/Radio Edit]
  CMP: Title 71: When I See U -vs- Haters
  CMP: Title 72: When I See U -vs- Raise It Up
  CMP: Title 73: When I See U -vs- Give It Up to Me
  CMP: Title 74: When I See U -vs- Lucky Me
  CMP: Title 75: When I See U -vs- Free
  CMP: Title 76: When I See U -vs- As
  CMP: Title 77: When I See U -vs- Carry Out
  CMP: Title 78: When I See U -vs- Float On
  CMP: Title 79: When I See U -vs- I Want You
  CMP: Title 80: When I See U -vs- I Don't Want to Do Anything [MTV Unplugged]
  CMP: Title 81: When I See U -vs- The Power of Love
  CMP: Title 82: When I See U -vs- Just the Lonely Talking Again
  CMP: Title 83: When I See U -vs- Missing You [Live]
  CMP: Title 84: When I See U -vs- You Give Good Love
  CMP: Title 85: When I See U -vs- Rhythm of the Night
  CMP: Title 86: When I See U -vs- Bad News
  CMP: Title 87: When I See U -vs- Misty Blue
  CMP: Title 88: When I See U -vs- Somebody to Love
  CMP: Title 89: When I See U -vs- Baby, I'm for Real
  CMP: Title 90: When I See U -vs- Love
  CMP: Title 91: When I See U -vs- Bottle It Up
  CMP: Title 92: When I See U -vs- Silly
  CMP: Title 93: When I See U -vs- The Best Is Yet to Come
  CMP: Title 94: When I See U -vs- Make Over
  CMP: Title 95: When I See U -vs- Nice & Slow
  CMP: Title 96: When I See U -vs- Everything [Curtis & Moore Remix]
  CMP: Title 97: When I See U -vs- Somebody Bigger Than You and I
  CMP: Title 98: When I See U -vs- The Golden Age
  CMP: Title 99: When I See U -vs- Got to Be There
  CMP: Title 100: When I See U -vs- Summertime
  CMP: Title 101: When I See U -vs- Papers
  CMP: Title 102: When I See U -vs- Turn-U-Out
  CMP: Title 103: When I See U -vs- Because of You
  CMP: Title 104: When I See U -vs- Stay
  CMP: Title 105: When I See U -vs- I Hurt Too
  CMP: Title 106: When I See U -vs- Your Smile
  CMP: Title 107: When I See U -vs- The Greatest Love of All
  CMP: Title 108: When I See U -vs- Heaven
  CMP: Title 109: When I See U -vs- Smooth Operator
  CMP: Title 110: When I See U -vs- Nothing's Gonna Change My Love for You
  CMP: Title 111: When I See U -vs- In My Time
  CMP: Title 112: When I See U -vs- Spell
  CMP: Title 113: When I See U -vs- When I See U
    CMP: Skipping song currently in PlayList: When I See U
  CMP: Title 0: For You -vs- Who Would Have Thought
  CMP: Title 1: For You -vs- Resentment
  CMP: Title 2: For You -vs- Precious
  CMP: Title 3: For You -vs- Stay the Night
  CMP: Title 4: For You -vs- Treasure
  CMP: Title 5: For You -vs- So Blessed
  CMP: Title 6: For You -vs- And I
  CMP: Title 7: For You -vs- (I Can't Get No) Satisfaction
  CMP: Title 8: For You -vs- Crestfallen
  CMP: Title 9: For You -vs- If I Was Your Girlfriend
  CMP: Title 10: For You -vs- It's Too Late
  CMP: Title 11: For You -vs- Chase
  CMP: Title 12: For You -vs- Waiting On the World to Change
  CMP: Title 13: For You -vs- For Moms
  CMP: Title 14: For You -vs- Going to a Go-Go
  CMP: Title 15: For You -vs- Guess You Didn't Know
  CMP: Title 16: For You -vs- Come Over
  CMP: Title 17: For You -vs- Rise
  CMP: Title 18: For You -vs- Better Man
  CMP: Title 19: For You -vs- Yo Side of the Bed
  CMP: Title 20: For You -vs- Use Your Heart
  CMP: Title 21: For You -vs- Christmas Is
  CMP: Title 22: For You -vs- Santa Claus Is Coming to Town
  CMP: Title 23: For You -vs- What Are You Doing New Year's Eve?
  CMP: Title 24: For You -vs- Joy to the World
  CMP: Title 25: For You -vs- Baby, It's Cold Outside
  CMP: Title 26: For You -vs- The Little Drummer Boy
  CMP: Title 27: For You -vs- The Christmas Song (Merry Christmas to You)
  CMP: Title 28: For You -vs- Winter Wonderland
  CMP: Title 29: For You -vs- Let It Snow '98
  CMP: Title 30: For You -vs- Silent Night 911 (The God Song)
  CMP: Title 31: For You -vs- All I Want for Christmas
  CMP: Title 32: For You -vs- White Christmas
  CMP: Title 33: For You -vs- Christmas Ain't Christmas (Without the One You Love)
  CMP: Title 34: For You -vs- Feels Like Christmas
  CMP: Title 35: For You -vs- Santa Claus Go Straight to the Ghetto
  CMP: Title 36: For You -vs- Footsteps in the Dark
  CMP: Title 37: For You -vs- Turn Ya Out
  CMP: Title 38: For You -vs- Why Should We Stop Now
  CMP: Title 39: For You -vs- Din Daa Daa
  CMP: Title 40: For You -vs- Diary
  CMP: Title 41: For You -vs- Heaven [Live]
  CMP: Title 42: For You -vs- Butterflyz [Krucialkeys Remix]
  CMP: Title 43: For You -vs- Simply Say I Love U
  CMP: Title 44: For You -vs- Make Me Happy
  CMP: Title 45: For You -vs- I Can't Make You Love Me
  CMP: Title 46: For You -vs- Just a Touch of Love
  CMP: Title 47: For You -vs- The People (Edited)
  CMP: Title 48: For You -vs- Everybody Plays the Fool
  CMP: Title 49: For You -vs- In the Morning
  CMP: Title 50: For You -vs- Gotta Serve Somebody
  CMP: Title 51: For You -vs- The Look in Your Eyes
  CMP: Title 52: For You -vs- 12 Play
  CMP: Title 53: For You -vs- Inside of You
  CMP: Title 54: For You -vs- Promise
  CMP: Title 55: For You -vs- Buy U a Drank (Shawty Snappin')
  CMP: Title 56: For You -vs- Household of Faith
  CMP: Title 57: For You -vs- Corner of Your Heart
  CMP: Title 58: For You -vs- This Is for the Lover in You
  CMP: Title 59: For You -vs- Hooked On You
  CMP: Title 60: For You -vs- I Can See in Color
  CMP: Title 61: For You -vs- I Love You
  CMP: Title 62: For You -vs- Slow Wind (Remix)
  CMP: Title 63: For You -vs- This Time
  CMP: Title 64: For You -vs- Try Sleeping with a Broken Heart
  CMP: Title 65: For You -vs- Bad Habits
  CMP: Title 66: For You -vs- Only You
  CMP: Title 67: For You -vs- Did It Again [Video]
  CMP: Title 68: For You -vs- Earth Song
  CMP: Title 69: For You -vs- Before I Let Go
  CMP: Title 70: For You -vs- Rubberneckin' [Paul Oakenfold Remix/Radio Edit]
  CMP: Title 71: For You -vs- Haters
  CMP: Title 72: For You -vs- Raise It Up
  CMP: Title 73: For You -vs- Give It Up to Me
  CMP: Title 74: For You -vs- Lucky Me
  CMP: Title 75: For You -vs- Free
  CMP: Title 76: For You -vs- As
  CMP: Title 77: For You -vs- Carry Out
  CMP: Title 78: For You -vs- Float On
  CMP: Title 79: For You -vs- I Want You
  CMP: Title 80: For You -vs- I Don't Want to Do Anything [MTV Unplugged]
  CMP: Title 81: For You -vs- The Power of Love
  CMP: Title 82: For You -vs- Just the Lonely Talking Again
  CMP: Title 83: For You -vs- Missing You [Live]
  CMP: Title 84: For You -vs- You Give Good Love
  CMP: Title 85: For You -vs- Rhythm of the Night
  CMP: Title 86: For You -vs- Bad News
  CMP: Title 87: For You -vs- Misty Blue
  CMP: Title 88: For You -vs- Somebody to Love
  CMP: Title 89: For You -vs- Baby, I'm for Real
  CMP: Title 90: For You -vs- Love
  CMP: Title 91: For You -vs- Bottle It Up
  CMP: Title 92: For You -vs- Silly
  CMP: Title 93: For You -vs- The Best Is Yet to Come
  CMP: Title 94: For You -vs- Make Over
  CMP: Title 95: For You -vs- Nice & Slow
  CMP: Title 96: For You -vs- Everything [Curtis & Moore Remix]
  CMP: Title 97: For You -vs- Somebody Bigger Than You and I
  CMP: Title 98: For You -vs- The Golden Age
  CMP: Title 99: For You -vs- Got to Be There
  CMP: Title 100: For You -vs- Summertime
  CMP: Title 101: For You -vs- Papers
  CMP: Title 102: For You -vs- Turn-U-Out
  CMP: Title 103: For You -vs- Because of You
  CMP: Title 104: For You -vs- Stay
  CMP: Title 105: For You -vs- I Hurt Too
  CMP: Title 106: For You -vs- Your Smile
  CMP: Title 107: For You -vs- The Greatest Love of All
  CMP: Title 108: For You -vs- Heaven
  CMP: Title 109: For You -vs- Smooth Operator
  CMP: Title 110: For You -vs- Nothing's Gonna Change My Love for You
  CMP: Title 111: For You -vs- In My Time
  CMP: Title 112: For You -vs- Spell
  CMP: Title 113: For You -vs- When I See U
  CMP: Title 114: For You -vs- Now and Forever
  CMP: Album 90: 12 Play -vs- The Way It Is
  CMP: Album 91: 12 Play -vs- Lipstick Jungle - Chapter Nine: Help!
  CMP: Album 92: 12 Play -vs- Classic Moments
  CMP: Album 93: 12 Play -vs- The Essential Patti Labelle
  CMP: Album 94: 12 Play -vs- Stripped
  CMP: Album 95: 12 Play -vs- My Way
  CMP: Album 96: 12 Play -vs- Dance for Me
  CMP: Album 97: 12 Play -vs- The Preacher's Wife
  CMP: Album 98: 12 Play -vs- Crossing Jordan - There's No Place Like Home II
  CMP: Album 99: 12 Play -vs- The Jacksons Story
  CMP: Album 100: 12 Play -vs- I Believe -  Fantasia
  CMP: Album 101: 12 Play -vs- Papers
  CMP: Album 102: 12 Play -vs- Tonight
  CMP: Album 103: 12 Play -vs- Love Songs -  Warren Hill
  CMP: Album 104: 12 Play -vs- Cane -  Family Busines
  CMP: Album 105: 12 Play -vs- Ghost Whisperer - Threshold
  CMP: Album 106: 12 Play -vs- A Street Called Desire and More
  CMP: Album 107: 12 Play -vs- Breezin'
  CMP: Album 108: 12 Play -vs- Kem Album II
  CMP: Album 109: 12 Play -vs- Best of Sade (Legacy)
  CMP: Album 110: 12 Play -vs- 20/20 -  George Benson
  CMP: Album 111: 12 Play -vs- Love Language
  CMP: Album 112: 12 Play -vs- The Best of Blue Magic: Soulful Spell
  CMP: Album 113: 12 Play -vs- Fantasia
  CMP: Album 114: 12 Play -vs- Love Always
Adding "For You" by "R. Kelly" on "12 Play" to the playlist after 4 database lookups.
(Added one song and cleared internal list)
Here is my updated ini file:

Code: Select all

[StayInSameStyle]
restrictAlbum=25
restrictArtist=0
databaseRetries=10
AvgRating=0
days=0
outputLog=1
outputTrace=1
wanderGenre=0
keepGenre=0
keepMood=0
keepTempo=0
keepOccasion=0
playUnheard=0
skipBombs=1
looseRestrictions=1
CommercialA=1
CommercialB=0
CommercialASkip=1
CommercialBSkip=0
CommercialASongs=5
CommercialBSongs=10
CommercialACount=1
CommercialBCount=1
CommercialAPercentage=2
CommercialBPercentage=4
ShowNode=1
FilterName=StayInTheSameStyle -- Primary
FilterLoose=0
CommercialAGenre=Christmas
CommercialBGenre=
GrabAlbumsGenres=
wanderGenres=1
GrabAlbums=0
GrabAlbumsAll=0
SongList=
MainGenre=Jazz
ARunningCount=2
BRunningCount=2
SongStarted=12162
WeightedRatings=0
IgnoreOverPlayed=0
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: StayInSameStyleDJ [MM3]

Post by SatinKnights »

nynaevelan wrote:

Code: Select all

DbLoop 1: queryStr= WHERE Songs.Rating <> 0 AND   Songs.ID IN (SELECT IDSong FROM GenresSongs WHERE GenresSongs.IDGenre IN ( SELECT Genres.IDGenre FROM Genres WHERE Genres.IDGenre in (3,5,7,9,10,11,12,47,4,2,8,13))) AND Songs.PlayCounter>=5 AND (Songs.PlayCounter>=0 and Songs.PlayCounter<=9) AND NOT (Songs.SongTitle like '%explicit%') AND Songs.LastTimePlayed<40139.519997928  ORDER by random() LIMIT 10
Ok. Let's break this down. This was a normal song, but will be very close to the search for a Christmas song.
DbLoop 1: queryStr= WHERE Songs.Rating <> 0 AND <=== This would be skipped with the CommercialSkip=1 on a commercial skip

Songs.ID IN (SELECT IDSong FROM GenresSongs WHERE GenresSongs.IDGenre IN ( SELECT Genres.IDGenre FROM Genres WHERE Genres.IDGenre in (3,5,7,9,10,11,12,47,4,2,8,13))) AND <=== Your Filter. Hopefully Christmas is in one of those IDs

Songs.PlayCounter>=5 AND (Songs.PlayCounter>=0 and Songs.PlayCounter<=9) AND NOT (Songs.SongTitle like '%explicit%') AND <=== More inside your filter. This one may cause grief because songs played less than 5 times or more than 10 times will be excluded. Your Christmas songs have been sitting dormant and may not have high play counts.

Songs.LastTimePlayed<40139.519997928 ORDER by random() LIMIT 10 <==== Ok. This part is mine. Days=0, so this is the timestamp of the second song in the NowPlaying list. It is a quick and dirty exclusion of the songs that have just played. Int exclusions are easier than string checks. Then just grabs 10 possibles to look at instead of loading an entire list of thousands of possibilities.
nynaevelan wrote: Here is my updated ini file:

Code: Select all

[StayInSameStyle]
CommercialA=1      <=== Good
CommercialB=0
CommercialASkip=1    <==== Good
CommercialBSkip=0
CommercialASongs=5    <===  Good  Will add after 5 songs
CommercialBSongs=10
CommercialACount=1     <=== will add one song
CommercialBCount=1
CommercialAPercentage=2    <===  2*5% = 10% of the time it will add the 1 song
CommercialBPercentage=4
FilterName=StayInTheSameStyle -- Primary
FilterLoose=0
CommercialAGenre=Christmas
CommercialBGenre=
SongList=
MainGenre=Jazz
ARunningCount=2        <<<<=====  Ok.  Two songs have been counted, and we will add after 5 songs 10% of the time.
BRunningCount=2
SongStarted=12162     <=== Good.  We are now tracking the last song this script chose
So, this looks better. It is counting songs, and at the point of this snapshot, and has not got to an insert point. But your complicated filter is probably limiting the insert selection set too small. Setting Filter to -None-, and changing the 10% to 100% should be enough to verify the script is finding Christmas songs. Then, cloning your Primary filter and adjusting it to remove the playcount >=5, and making sure Christmas is one of the genreIDs to choose from should be enough to get it up and running. At that point, turn the 100% possibility back down to 10%.

-Satin Knights
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

Ok:

I don't know what fixed it but we are finally back in business, thank you for your patience. :D :D
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: StayInSameStyleDJ [MM3]

Post by SatinKnights »

No problem.
-Satin Knights
dekozn
Posts: 10
Joined: Sun Dec 16, 2007 5:08 pm

Re: StayInSameStyleDJ [MM3]

Post by dekozn »

I realy love this script just one thing, I tag my files wth multiple genre and this seems to create some problems.
When I play a "blues" tagged song the only songs cued in yhe nowplaying lis are "blues" tagged songs but I also have alot of "blues; bluesrock" and "blues; deltablues" etc songs tagged witch wil never be cued. is there a way around this...
SatinKnights
Posts: 46
Joined: Wed Jul 18, 2007 9:45 pm

Re: StayInSameStyleDJ [MM3]

Post by SatinKnights »

The overall answer is no. I work with the full genre entry. So, if you chose as your first song "blues;bluesrock", that will be the default search. If it is not finding an eligible song, it will fall back to searching for "blues", and then "bluesrock". But, on the next song, it will go back to the "blues;bluesrock" default search, because the counters for last time an artist or album has played may have changed the eligible pool.

The problem is how to do a search.
A) Choosing just the first genre, and running on just that will not be specific enough for some. It also hits the problem of searching for 'Genre CONTAINS "rock"' will pull in "soft rock", "hard rock" and "rockabilly".
B) Running on the full genre tag is very limiting on the eligible song lists because "blues;bluesrock" is not the same as "bluerock;blues". This is where you are hitting the wall.
C) Trying "blues" or "bluesrock" will have a tendency to drift. If it picks up "bluesrock;rockabilly" as the next song, do we go to rockabilly next?
D) Single string searches are faster than ((this OR that) AND other) and this script is already running many seconds on large databases. Nynaevelan's filter that appears to be creating a temporary table by its GenresSongs.IDGenre selection is probably adding several seconds to the script running time. At least I think so, databases are not my specialty.

Do you have a suggestion for a database query for genre selection that will stay consistent and will run quickly? I am open to trying new things.

-Satin Knights
Dekozn not logged in

Re: StayInSameStyleDJ [MM3]

Post by Dekozn not logged in »

Sorry but I can't help you out with that query thing stuff, but thanx for the explanation it's apreciated.
But I think I might like option C
Any idea how I go about changing the script
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: StayInSameStyleDJ [MM3]

Post by nynaevelan »

Satin:

Is there a way to have the commercials pulled from a playlist or filter instead of a genre??

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
rrfpacker
Posts: 1065
Joined: Sat Jul 12, 2008 5:47 pm

Re: StayInSameStyleDJ [MM3]

Post by rrfpacker »

I second Nyn's suggestion about being able to pull from a playlist.

I am also having problems getting the commercial function to work. I've followed the thread and incorporated all the suggestions to include creating a separate filter with all songs/genres included. I've even communicated via PM with others trying to get this working.

Is the commercial function working for everyone? Of course with Christmas around the corner, I'd love to get this working.
tg2k
Posts: 1
Joined: Tue Nov 26, 2013 12:36 pm

Re: StayInSameStyleDJ [MM3]

Post by tg2k »

Is this by chance usable with MediaMonkey 4, or is there a replacement for it?
Post Reply