Here's todays version.
Improvments in this version,
1. Cleaner thanks to valuable guidelines from the Master!
2. Played Percentage should work now.
3. A note about when the song upgraded will be written to Custom2
4. Datafile now get stored in the \Scripts\ folder instead of c:\logfile
A note about the Custom2 field.
At this point this script make use of the Custom2 field, and fill it with values like this
Sunday evening in Spring
ONLY if the song receive a PlayCountRating upgrade. Like if you have a 2.5 Star song, and play it, you'll get 3 Stars because you tolerate the song, and the Custom2 field will get a note like
Day TimeOfDay in Season
(Sunday evening in Spring)
or Autumn if you're on the Southern side of Earth, and if you are, then please go all the way down in the script and change
NorthernHemisphere = True
NorthernHemisphere = False
The idea with this is that you can later find your favorite Sunday morning songs, and make custom playlists. Saturday evening songs.. Winter songs, or whatever...
The plan is to take it further to include Days of Year that is special, like Christmas, so you can find your favorite Christmas songs easy, and Birthday songs, and things like that.
If you do not want that value written to Custom2 then delete this line
MySong.Custom2 = wDay & TimeOfDay & " in " & Season
This version seems to work well as far as I can tell, it takes time to test, so if you're a tester, please let me know how you're going.
I'll leave that previous version available too for a little while.
If you have tried the previous versions you'll have a
c:\lastsong and maybe a
These are no longer needed, and can be deleted.
Wonder if I can get that Hemisphere stuff up amongst parameters. The way things are going, an option sheet may be needed soon.
- Code: Select all