DiddeLeeDoo wrote:I must admit I do not quite understand what you're trying to do Roving Cowboy, and what sort of results you're really after.
Could you try to explain what result you want in one, or max two lines... like a bullet point.
Reset all the playcounters.... I get that.. but why?
monkeys now playing list shows the times the song was played using the database table of songs and the field of playcount.
if you make an autoplaylist that will show the songs played the last 7 days and make it place them in that list according to the order played then you will get the most played song at the top of the list. and the lowest played song at the bottom of the list..
that is fine for one week when you start them all marked as only played zero times. but the next week the count will be adding both weeks counts so you don't get the true count of what was played in one week.
the songs table's playcount field needs to be reset to zero every week once a week doing this will change the songs listed in the autoplaylist. for the next time you play that playlist on saturday. because it will only have the playcounts for the songs from that one week.
at the present time i have to use the script i posted in the frist message of this thread, which is a manual script. it needs to have me select all the songs i want to reset then it needs me to go to the tools menu then to the scripts menu, and click on the scripts name. then press f 5 to refresh the list.
i would like it to do all those steps automaticly with out me having to click on anything.
so i am trying to get the script to start once on sunday morning and reset all the playcounts to zero in the songs table's playcount field for all the songs in the libriary. then close and do that every week with out me having to click on anything.
by doing that then my auto playlist will always have the songs played that week showing up,
your auto ratings script would be setting the songs from the history playcount field and would not be messed up. but the songs would always have the correct rating no matter how many times the play count in the songs table has been changed.
so the ratings part is taken care of when you get the new improved script completed to make it use the history playcount field.
the autoplaylist is working but is not getting the proper data because the songs table playcount field is not being reset automaticly to zero every week.
did that longer explaining of them all help instead of the short explaintions.?
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724
for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008
Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.
WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.
Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.
WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5.
Samsung Galaxy 5 Android 5) 6.
Proscan tablet Android 4.3 ) 7.
amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.