Just List Albums 2.1 - Updated 17/03/2013

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Just List Albums 1.6 [MM2+3]

Post by k_r_eriksson » Wed Aug 19, 2009 8:52 am

@Trixmoto
You have this in the script code

Code: Select all

Dim path : path = Script.ScriptPath&".txt"
Dim fout : Set fout = fso.CreateTextFile(path,True) 
Could that generate the error message?

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by trixmoto » Wed Aug 19, 2009 11:52 am

I guess maybe, if you don't have write permission to that folder.
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.

MMan
Posts: 233
Joined: Wed Nov 22, 2006 7:20 pm
Location: Montclair, NJ

Re: Just List Albums 1.6 [MM2+3]

Post by MMan » Wed Aug 19, 2009 6:22 pm

I guess it comes down to permission. When I open Monkey as an Administrator in Vista the script works without the error message. Thanks for steering me in the right direction K_r and thanks for the script Trixmoto!

fphredd
Posts: 6
Joined: Mon Jan 04, 2010 10:57 pm

Re: Just List Albums 1.6 [MM2+3]

Post by fphredd » Mon Jan 04, 2010 11:05 pm

I am only looking to use MM for cataloging, and your scripts will make life much easier...thanks!

Two requests:

1) Can this script use ARTISTSORT tag field so that the artists are sorted alphabetically by last name first? I would want it to first look for this tag, and if not present, use ARTIST or ALBUMARTIST, so Eric Clapton is under 'C', but Grateful Dead is still under 'G'

2) Any way to create a csv or xls file using this script? I know I can with your Custom Report script, but I want to list without tracks.

Thanks again for your efforts :D

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by trixmoto » Tue Jan 05, 2010 4:48 am

1) I'm now sure what you mean by the "ArtistSort tag", if this an MM property?

2) If you open the script file in a text editor then you can change the masks, this would allow you to create a CSV file.
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.

Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by Melloware » Tue Jan 05, 2010 8:10 am

Trix,

First of all thanks for this script!

Second, here comes the long part of the story....

About 5 years ago I wrote my own Java based MP3 Organizer called Jukes. Think of it as a poor man's MM. :) Anyway all of my friends used it too and we collect only full albums, NO SINGLES. I had a feature in there similar to this Just List Albums script called "Export Catalog" which essentially generated a text file list of albums in order similar to Just List Albums.

About once a month we would all run this report and send to each other so we could see what we needed to "sync up". Basically a "what do I have that you don't have and what did you add that I didn't add". Make sense?

Then I had a another menu option called "Difference Report Generator". It would essentially take one of these Just List Albums text lists and compare it again the current users MM database. It would look for things that I had that they didn't and things that they had that I needed to get from them.

It basically generated a report like this...

Code: Select all

TAKE 10 Years - The Autumn Effect
TAKE 3 Doors Down - Acoustic EP
TAKE Foo Fighters - Live At Wembley Stadium
TAKE Guns N' Roses - Chinese Democracy
TAKE Marah - Angels Of Destruction!
TAKE Ryan Adams - 29
TAKE Ted Leo & The Pharmacists - Mo' Living EP
TAKE Ziggy Marley & The Melody Makers - Dragonfly


GIVE AC/DC - Ac/Dc Live
GIVE Beastie Boys - License To Ill
GIVE Beatles - A Hard Day's Night
GIVE Black Crowes - Live - Disc 1
GIVE Black Crowes - Live - Disc 2
GIVE Coldplay - A Rush Of Blood To The Head
GIVE Cowboy Junkies - Pale Sun Crescent Moon
GIVE Weezer - Green Album
I have seen on these forums many people asking for way to compare two collections. In my Jukes experience I found this way the easiest. I think your script is half way there with the list generation. Any thoughts on taking it further?

Here is a screenshot of the Jukes difference tool where you can do differences, intersection or union....

Image

Let me know any thoughts...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

fphredd
Posts: 6
Joined: Mon Jan 04, 2010 10:57 pm

Re: Just List Albums 1.6 [MM2+3]

Post by fphredd » Tue Jan 05, 2010 10:12 am

trixmoto wrote:1) I'm now sure what you mean by the "ArtistSort tag", if this an MM property?

2) If you open the script file in a text editor then you can change the masks, this would allow you to create a CSV file.
1) It doesn't appear ARTISTSORT is a supported tag...some software has, some doesn't. For example, Tag&Rename does not, MP3 Tag does. I use Squeezecenter as my music server and happily it works to sort my music the way I personally prefer. Guess it won't apply here...

2) Being rather programming illiterate, can you point me to the spot in the code and I will attempt to make the change?

Thanks!

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by trixmoto » Tue Jan 05, 2010 1:59 pm

@Melloware - how well does your program have any kind of fuzzy matching to cope with typos or other variations? It seems to be that creating text files and then comparing those is not making use of the power of the database that the data is in.

@fphredd - MM3 does not have access to this tag, but MM4 should make it possible to access all tags. The lines of code you want at at the top, after the comment...

Code: Select all

Dim Mask : Mask = "<Artist> - <Album> (<Tot>/<Max>)" 'mask for artist albums
Dim TrackMask : TrackMask = "" 'blank mask means no tracks are displayed
Dim CompMask : CompMask = "<Artist> - <Album> (<Tot>/<Max>)" 'mask for compilation albums
Dim FirstMask : FirstMask = "" 'mask for first track in an album
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.

Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by Melloware » Tue Jan 05, 2010 3:01 pm

trixmoto wrote:@Melloware - how well does your program have any kind of fuzzy matching to cope with typos or other variations? It seems to be that creating text files and then comparing those is not making use of the power of the database that the data is in.
It didn't have ANY fuzzy logic it was a straight compare and showed as a difference even if there was a typo. But that is what we wanted because we wanted to know ANY difference between our collections since we were supposed to be synced. Although I supposed adding a "granularity" setting for how strict you want the checking to be would be possible.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

fphredd
Posts: 6
Joined: Mon Jan 04, 2010 10:57 pm

Re: Just List Albums 1.6 [MM2+3]

Post by fphredd » Tue Jan 05, 2010 9:01 pm

trixmoto wrote:@Melloware - how well does your program have any kind of fuzzy matching to cope with typos or other variations? It seems to be that creating text files and then comparing those is not making use of the power of the database that the data is in.

@fphredd - MM3 does not have access to this tag, but MM4 should make it possible to access all tags. The lines of code you want at at the top, after the comment...

Code: Select all

Dim Mask : Mask = "<Artist> - <Album> (<Tot>/<Max>)" 'mask for artist albums
Dim TrackMask : TrackMask = "" 'blank mask means no tracks are displayed
Dim CompMask : CompMask = "<Artist> - <Album> (<Tot>/<Max>)" 'mask for compilation albums
Dim FirstMask : FirstMask = "" 'mask for first track in an album
That code is already there...?

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by trixmoto » Wed Jan 06, 2010 4:47 am

Yes
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.

fphredd
Posts: 6
Joined: Mon Jan 04, 2010 10:57 pm

Re: Just List Albums 1.6 [MM2+3]

Post by fphredd » Wed Jan 06, 2010 9:31 am

trixmoto wrote:Yes
So...Not sure what to do to the code to allow the csv creation :oops:

don't ya hate non-programmer types that like to 'fiddle'? :wink:

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.6 [MM2+3]

Post by trixmoto » Wed Jan 06, 2010 1:43 pm

A CSV file is a just a text file with commas separating the fields. So set the masks to be "<Field>,<Field>,<Field>" with the fields that you want.
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.

fphredd
Posts: 6
Joined: Mon Jan 04, 2010 10:57 pm

Re: Just List Albums 1.6 [MM2+3]

Post by fphredd » Thu Jan 07, 2010 9:39 am

Great, thanks! :D

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Just List Albums 1.7 - Updated 10/01/2010

Post by trixmoto » Sun Jan 10, 2010 1:11 pm

New version (1.7) is now available for download from my website. Changes include...

- Removed old MM2 code to improve performance
- Fixed rating value not formatted correctly
- Added <Line> to album masks (adds new line character)
- Added <Line> and <Playcount> to track masks
- Added update server to installation package
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