by Risser » Fri Sep 16, 2005 10:05 am
Okay, the weightings can reach negative. Every time you play a song, it sinks in the ratings a notch. So, if you have a song you've rated 5 stars, but have played it 12 times, it will actually be a -2. This is to keep the same superstar songs from being over-repeated.
However, I counteract this with an increase based on the amount of time the song has been in your library. For every 30 days, it gets a +1. So if you had the same song in your library for 9 months, it'd actually weight in at about a 7.
So, if you have stuff you've just added, but have played a ton, you will have a lot of -ve stuff. You can adjust this behavior by setting the ReduceIfPlayed variable to false.
Oh, except I see that it's not actually used. Whoops.
I'll fix that.
It only picks songs that have a weighted rating > 0 and haven't been played for 24 hours (this is adjustable). So, the fact that only 4 songs show up means that there were only 4 valid songs to play.
As for the Left exception, I don't know what to say. You may need a newer version of VBScript, as I have no idea why that's happening.
However, I can write the script without using it, so I'll make an adjustment.
Okay, the weightings can reach negative. Every time you play a song, it sinks in the ratings a notch. So, if you have a song you've rated 5 stars, but have played it 12 times, it will actually be a -2. This is to keep the same superstar songs from being over-repeated.
However, I counteract this with an increase based on the amount of time the song has been in your library. For every 30 days, it gets a +1. So if you had the same song in your library for 9 months, it'd actually weight in at about a 7.
So, if you have stuff you've just added, but have played a ton, you will have a lot of -ve stuff. You can adjust this behavior by setting the ReduceIfPlayed variable to false.
Oh, except I see that it's not actually used. Whoops.
I'll fix that.
It only picks songs that have a weighted rating > 0 and haven't been played for 24 hours (this is adjustable). So, the fact that only 4 songs show up means that there were only 4 valid songs to play.
As for the Left exception, I don't know what to say. You may need a newer version of VBScript, as I have no idea why that's happening.
However, I can write the script without using it, so I'll make an adjustment.