Auto Rating of Songs & Radio Announcer v5.02 [Script]

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

Moderators: Peke, Gurus

DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

Current trigger is 'At play, rate previous song'.

This means if the player stop playing, this trigger is not pulled.

I made a 'Player Simulator' the other day that may replace the current trigger. That way it should be possible to also run a rating check on the last song played, even if it's at the end of the playlist.

At the weekend, I hope to get some time to merge the player simulator with this script, just to see how it turns out. If I get it done this weekend, I'll post a 'sample' here, so you can give it a go Peter.
Image
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

No diddeleedoo not random the double playing is two players going at once one in background one in foreground only foreground being seen, or heard until the annoucer i use stops the player to annouce the song. then i hear the song in the background player.
i presume your announcer will do the same thing when he stops the song to announce it?

this is a media monkey error i am talking about. 8)
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 MY SYSTEMS.1.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 A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

I haven't noticed that bug yet, but then I haven't tried it with 'all sorts' of songs either. Hope a note in the Bug Forum may give that error some attention.

@Peter
Currently I use a version here that rate the last song in the playlist. This new model also allow for the first song after restart of MediaMonkey to be rated too.

All up a better model I think. Just have to try to verify everything a bit more, and I hope to have it all finished by the weekend sometime.
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

@Mthrsuperior
Just found a thing that is related to what you mentioned about ratings Rating at First Full Play & Skip At First Play. Will be fixed shortly.
Image
Mthrsuperior
Posts: 178
Joined: Sun Dec 03, 2006 3:40 pm
Location: Victoria BC

Post by Mthrsuperior »

Hey Diddel,

I looked at the .ini
It contained a correct numeric value (that matched the setting in the GUI) so that hasn't fixed my issue.

I think Cowboy is on to something though.
I was watching task manager while it changed tracks and a second MM process does open at song changes indicating a random track.
MM appears to not respond for a short time and then the "phantom process" ends.

Edit to add: I'm getting the same errors with the 2.5.4.978 build though.
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

That's interesting. Will have to see if I can spot something similar. I possibly haven't noticed due to I never use the Shuffle function.

While having a study of the routine in the script, I found that the 'On First Play' & 'PlayCount Rating' combination had a line missing.

Inspired by Peter's request, I have rewritten the trigger system, so first song at startup can be rated, and the last song at an ending playlist get rated visually too.

It's easy to stuff up rewrites, so I'll try to get rid of any sort of mistake that I can find before posting it here. Shouldn't be long though I hope.
Image
Mthrsuperior
Posts: 178
Joined: Sun Dec 03, 2006 3:40 pm
Location: Victoria BC

Post by Mthrsuperior »

Thanks for all your efforts! :D

When you get a sec can you tell me how to wipe all references to this script from the .ini.
I'd like to start all over again but I noticed after re-install that MM is remembering my AutoRating settings so I'm guessing they must be in the .ini since I didn't delete it when i re-installed.

Thanks again.
Image
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

Christmas come early this year

Post by arcspin »

Hi DiddeLeeDoo,
It's wounderfull news that you are taking the time to rewrite some of the code.

I'm honoured to have been an inspiration to you :D :D :D

Im looking forward to this new release...but make shure that you take your time and enjoy the weekend.


Cheers,
//Peter
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

@Mthrsuperior

While MediaMonkey is running, remove section
[AutoRateSongs] in
\My Documents\My Music\MediaMonkey\MediaMonkey.ini
and you can then go to Tools - Options - AutoRateSongs to set the options 'fresh'. Please visit all the 3 pages, before hitting OK.

In the version I'm testing now, the section
[AutoRateSongs] in
\Program Files\MediaMonkey\Scripts\Scripts.ini
will be removed too, but I'm not quite there yet..

@arcspin
I've been wanting to do this for awhile, just needed a kick in the bum. I like the idea of having the script working like that.
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

I think I finally nailed it. Will have to do some 'real life' testing during the week.

If you want to give it a go too, here it is.
INSTALL v5.00 BETA

Taken out for a bit to tripple check

All up a better solution, so thanks for bringing attention to these things.
Image
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

Missing DL link

Post by arcspin »

This is so exciting :D

But I do miss a "download link" to the v5.00 beta script !?!

or am I missing something here ???


//P
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

Sorry about that apcpin, it was in here and then I found an area that could be improved, so I replaced the link with "Taken out for a bit to tripple check"

Was hoping to put it back right away, but it's in the 'workshop' still...
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

Ok, here's the link

Install v5.0 Beta (to be tested this upcoming week)
==============================================
removed
==============================================

I'll write a bit about changes here during the week. Need a break at the moment. ;)

Basically the script follow the player instead of doing 'real time', which allow for rating of first song, and last song 'live'. A few little fixes of other things, like 'Rating at first full play/Rating at skipped at first play'. A more advanced system to deliver what you would expect it to do.
Last edited by DiddeLeeDoo on Mon Dec 11, 2006 9:33 pm, edited 2 times in total.
Image
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

So far so good

Post by arcspin »

Hey,
This new script is turning out just fine.
It does rate the last song in the Now Playing list with out any problem.
Thank you for that.

Are there anymore new features that I should be looking for ?


Thank for this X-mas gift

//Peter
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

That's funny, we would have typed at the same time.

I just added a note to the 'link post' above, that it's all more what you would expect the script to do, since it is now 'buddies' with the player, instead of the clock.

As far as I know, it should be totally trouble free this version, but who knows. Anyways, it would be nice to have a beer by now, so I take a break, and will write up more during the week.
Image
Post Reply