1 Star Rated Complete Albums

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

Moderators: Peke, Gurus

roupp
Posts: 56
Joined: Sun May 21, 2006 2:58 pm

1 Star Rated Complete Albums

Post by roupp »

Does anyone know of a script that filters complete albums in which all tracks have a specified rating? Such as 1 star.

Thanks in advance.
[/b]
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

You could write a magic node which did this.
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.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Post by ZvezdanD »

Maybe something like this (MM3):

Code: Select all

Complete Albums with 1 star|SQL filter: Songs.IDAlbum IN (SELECT IDAlbum FROM Songs GROUP BY IDAlbum HAVING Count(*) >= Max(Cast(Songs.TrackNumber As Integer)) AND Count(*) > 3 AND Min(Cast(Songs.Rating / 20.0 + 0.5 As Integer)) = 1 AND Max(Cast(Songs.Rating / 20.0 + 0.5 As Integer)) = 1)\<Album>
roupp
Posts: 56
Joined: Sun May 21, 2006 2:58 pm

1 Star Rated Cmplete Albums

Post by roupp »

Thanks Trix and ZvezdanD.

I can't seem to get Magic Nodes to work with the most recent MM3 1105. Any suggestions, I copied the vbs file to the auto script folder.

Thanks in advance.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
roupp
Posts: 56
Joined: Sun May 21, 2006 2:58 pm

Post by roupp »

Yes, this is the script I installed.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

So what problems /error do you have/get?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
roupp
Posts: 56
Joined: Sun May 21, 2006 2:58 pm

Post by roupp »

No error messages. The "Magic Node" tree doesn't show up at all.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Post by ZvezdanD »

After you copied VBS file to c:\Program Files\MediaMonkey3\Scripts\Auto\, did you restarted the application? Do you have Create/Edit/Delete Magic Node items inside of the Edit menu? Did you installed some another script in MM3? Did you have correctly installed MS Scripting engine?
roupp
Posts: 56
Joined: Sun May 21, 2006 2:58 pm

Post by roupp »

Thanks for all of your help.

I guess with the old Magic Nodes program when you install it some Magic odes were automatically created in the view tree. With this version one has to create the first Magic Node.

So Zev, thanks for asking the obvious question about whether or not Magic Nodes was listed in the EDIT menu. It was, so I was able to use your script for the 1 Star Rated Complete Albums.

I'm sorry for the hassel. The script works wonderfully.

Thanks again!
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Post by ZvezdanD »

Glad we sorted that. I was curious and just checked - old official version of the script with MM2 has same behavior. So, if you do not enter any new node mask, you could not get the Magic Nodes branch in the Tree window. This has some sense because with this script you can create a sub-branch inside of existing MM nodes (Library, Artist, ...), without having any sub-node in the Magic Nodes branch.

BTW, none Magic node is created automatically, even with old version. This is something which I consider to implement with a next version of the script.
Post Reply