Auto Album DJ 3.8 - Updated 08/08/2010

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

Moderators: Peke, Gurus

fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Post by fizzjob »

sasapuksic wrote:@fizzjob

are you using latest beta release?
Yep. I installed it specifically so I could run this.
Image
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Post by nohitter151 »

Maybe try the debug version? Thats the one I'm running and it works.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
sasapuksic
Posts: 106
Joined: Tue Jan 03, 2006 11:43 am
Location: Maribor, Slovenia
Contact:

Post by sasapuksic »

im using regular and it works fine ...
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

@fizzjob - can you please pick the debug mode and email me the logfile?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Post by fizzjob »

trixmoto wrote:@fizzjob - can you please pick the debug mode and email me the logfile?
No need, looking at the log file made me realize my error:

Code: Select all

4516 has 0 tracks above minimum rating (too few)
3498 has average rating of -0.05
772 has 0 tracks above minimum rating (too few)
4681 has 0 tracks above minimum rating (too few)
4283 has 0 tracks above minimum rating (too few)
4340 has 0 tracks above minimum rating (too few)
3731 has 1 tracks above minimum rating (too few)
4207 has average rating of -0.05
620 has 0 tracks above minimum rating (too few)
3359 has 1 tracks above minimum rating (too few)
1156 has 1 tracks above minimum rating (too few)
1266 has 1 tracks above minimum rating (too few)
4746 has average rating of -0.05
1520 has 1 tracks above minimum rating (too few)
4647 has 0 tracks above minimum rating (too few)
2783 has 0 tracks above minimum rating (too few)
3285 has 1 tracks above minimum rating (too few)
2552 has average rating of -0.05
3320 has 1 tracks above minimum rating (too few)
2648 has average rating of -0.05
3027 has 2 tracks above minimum rating (too few)
1770 has 0 tracks above minimum rating (too few)
2050 has 0 tracks above minimum rating (too few)
4280 has 0 tracks above minimum rating (too few)
1110 has 0 tracks above minimum rating (too few)
4502 has 0 tracks above minimum rating (too few)
4093 has average rating of -0.05
1763 has 0 tracks above minimum rating (too few)
3742 has 0 tracks above minimum rating (too few)
3077 has 0 tracks above minimum rating (too few)
4348 has 0 tracks above minimum rating (too few)
43 has average rating of -0.05
3484 has 0 tracks above minimum rating (too few)
Very few of my tracks have any ratings, so that was throwing the script off. I set the minimum rating down to 0 and it works just fine.
Image
dlt
Posts: 27
Joined: Tue Jan 08, 2008 11:10 pm

Post by dlt »

fizzjob wrote: Very few of my tracks have any ratings, so that was throwing the script off. I set the minimum rating down to 0 and it works just fine.
It works fine to show you things that have some rating. For things that have no rating at all, you need to set it to "unknown."

Guess that didn't wind up as the default in the latest version. It seems to be the single most confusing aspect for everybody.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I double checked and it really should be the default. :-?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Post by nohitter151 »

I just wanted to add that my Min. avg-rating was set to 3 on install, and Min. rating was set to Unknown.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Ah yes, the average one is not set to unknown. Sorry! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Lona
Posts: 37
Joined: Mon Jun 25, 2007 4:28 am

Post by Lona »

Trixmoto, if you were a girl I would kiss you!
Thanks a lot for updating this script and the enqueue script, these scripts are the most important ones I have installed in MediaMonkey.

One question about the auto-album dj script, why did you limit the amount of member slots to 99?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

If you were a girl, I might let you! :lol:

I'm glad you like the script. The only reason I limited the memory was because I was worried about storing a very long string in the ini file and with the time it might take to process the list. You can easily try larger numbers by replacing the maximum value on line 278 of "AutoAlbumDJ3.vbs".
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Post by fizzjob »

Hmm. Suddenly, I'm getting this:

Code: Select all

Error #5 - Microsoft VBScript runtime error
Invalid procedure call or argument: 'Mid'
File: "C:\program files\mediamonkey3\Scripts\AutoAlbumDJ3.vbs", line 605, Column: 8
When I go and try to change the settings, I get this:

Code: Select all

Error executing script event.
Here's the log that gets generated, if it helps:

Code: Select all

[GenerateNewTrack]
MinTracks = 5
AvgRating = -1
MinRating = -1
Capacity  = 0
Attempts  = 100
TheGenre  = 
Mode3f1   = False
MaxTracks = 30
Unplayed  = False
Earliest  = 
MaxDays   = 9999
AvgPlays  = 999
min(id)   = 15
max(id)   = 4751
tot(id)   = 2154
386 has 0 tracks above minimum rating (too few)
4275 has 0 tracks above minimum rating (too few)
str=AND (Songs.IDAlbum=149) AND (Songs.Rating>-21) ORDER BY CAST(Songs.DiscNumber AS INTEGER), CAST(Songs.TrackNumber AS INTEGER)
Adding track: One Week Later (752)
Adding track: The Battle (753)
Adding track: Not Enough Tears (754)
Adding track: Picture Book Memories (755)
Adding track: Mother's Last Words To Her Son (756)
Adding track: You Dream Of Him (757)
Adding track: How Many Times (758)
Adding track: Juanita (759)
Adding track: Homework For Sale (760)
Adding track: Seen It All (761)
Adding track: Mississippi Delta Blues (762)
Image
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Looks like something's gone wrong with the memory (list of albums recently selected) - try clearing it out using the button on the settings screen.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
fizzjob
Posts: 417
Joined: Fri Mar 30, 2007 12:37 pm

Post by fizzjob »

trixmoto wrote:Looks like something's gone wrong with the memory (list of albums recently selected) - try clearing it out using the button on the settings screen.
Unfortunately, I get that second error message when I try to go to the settings screen - is that data stored in an .ini file somewhere where I can clean it out manually?
Image
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Yes if you look in the "MediaMonkey.ini" there should be a section called "[AutoAlbumDJ]" with a key called "Memory" (or something similar) which is a list of album IDs. You can just delete this list and then run MM again.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Post Reply