Page 4 of 11

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Sat Nov 02, 2013 7:59 pm
by adamg
this has been one of my most essential scripts in managing my files.

One question though, It seems to me, that when the search is made for the earliest date, the album information paired with the earliest date found could also be acquired and inserted into the metadata (the album field- for my preference:)

for example: when i search for "the long black veil" by johnny cash, it auto-tags 1965 (from the album "orange blossom special".) Could the script be tweaked to also auto-tag "orange blossom special" in the album field?

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Fri Nov 08, 2013 9:44 pm
by wxdude
adamg wrote:One question though, It seems to me, that when the search is made for the earliest date, the album information paired with the earliest date found could also be acquired and inserted into the metadata (the album field- for my preference:)

for example: when i search for "the long black veil" by johnny cash, it auto-tags 1965 (from the album "orange blossom special".) Could the script be tweaked to also auto-tag "orange blossom special" in the album field?
That could certainly be done.

As a collector of albums the idea kind of makes me squirm though. For collectors of songs this could make sense. I could add an option to tag the album field with this value.

My only concern is that incorrect usage of this option could result in compilation/various-artist albums having several album names instead of one....so I'm a bit uneasy about adding it.

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Fri Nov 08, 2013 10:13 pm
by adamg
i agree. i do not want the 'compilations' or 'various artists' albums either.
i wonder if another field of choice could be 'tagged' with the release type? then i could tag all, and just delete the album field if it has the types i don't want. or if it is not a preferred release type set in settings, then it will not be tagged.

currently, i use right click for web http://www.mediamonkey.com/forum/viewto ... lickforweb to bring up a mm form window pointing me to the discography of the now playing artist, so i can make sure i'm using a studio album. this way has been very tedious though.

i will be anxiously awaiting more wonderful work you have done for this script. :D

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Wed Nov 20, 2013 11:31 pm
by adamg
How hard would this addition be? Is it something I can change myself in the script? Or is it something you could write and state where to copy and paste?
I have tried many options including musicbrainz Picard and tuneup and nothing seems to have the potential as you have with this script.

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Mon Nov 25, 2013 4:53 pm
by wxdude
adamg wrote:for example: when i search for "the long black veil" by johnny cash, it auto-tags 1965 (from the album "orange blossom special".) Could the script be tweaked to also auto-tag "orange blossom special" in the album field?
Just to be sure I have your request right and using your example:

If you have the song "The Long Black Veil" by Johnny Cash, say from the Album "Folsom Prison Blues" (earliest release date of 1968), you would like the Album Name field overwriten with "Orange Blossom Special" and the orignal date set to 1965? Or, which makes more sense to me, use the Original Title field for "Orange Blossom Special" and leave the Album Name as is?

I am just about ready to wrap up changes to the script to use JSON parsing rather then XML for discogs, and wil try to incorporate your request before uploading.

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Mon Nov 25, 2013 5:45 pm
by adamg
using your example, i would like the album field to be overwritten with the earliest album found - matching the earliest date. In this case, 1965 would be found and orange blossom special would be inserted into the album field.)
Or better, the option to overwrite it, or leave as is, as you suggest.

i have done a thorough job of going through my entire library and deleting the album field if it contained words such as: 'best of, compilation, greatest hits, hits, essential, collection...'

and i think this method will be most efficient. hope this makes sense:)
Thank you for spending time on this!!!

Re: Earliest Release Date v3.0.1 (2013-01-29)

Posted: Thu Jan 09, 2014 10:11 am
by antelope
Wxdude - many thanks for this great script - finally a solution after many dead ends with other software. Like adamg, I'd really be helped by the option to insert that earliest album title into the album field. Might this be possible? Thanks for your great work.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Mon Jan 13, 2014 5:42 pm
by wxdude
New version 4.0 is available.

Please see first post for the description of changes and the link to download, or Tools - Extensions - Find Updates

Enjoy, and let me know if there are any problems. There was quite a change in the code, so you may have to restart mediamonkey for everything to work correctly.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Mon Jan 13, 2014 5:46 pm
by fizzjob
I'm getting an "Invalid product installation package" error using MM 4.1.0.1686.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Mon Jan 13, 2014 6:01 pm
by wxdude
fizzjob wrote:I'm getting an "Invalid product installation package" error using MM 4.1.0.1686.
Re-uploaded. I don't seem to have problems.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Tue Jan 14, 2014 10:16 am
by adamg
Thank you so much!
Ten songs out of ten so far tagged correctly. working perfectly for me. Running with 4.1.0.1681 (portable mode)

I deleted the album field containing any compilations such as best of's, greatest hits, and albums that were clearly wrong and now I run this script with with song previewer (http://www.mediamonkey.com/forum/viewto ... 146#p48056) while i'm out of the office. And your great script tags all my songs WITH AN EMPTY ALBUM FIELD to update the original date and album into the fields.

This has been the missing link for automatically tagging my collection. Albums have been the hardest of the fields to automatically fix.

It is important to remember, for other users, that this script will overwrite specified fields automatically if the user told the script to do so! So, thanks for the warning.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Tue Jan 14, 2014 11:26 am
by fizzjob
wxdude wrote:
fizzjob wrote:I'm getting an "Invalid product installation package" error using MM 4.1.0.1686.
Re-uploaded. I don't seem to have problems.
Thanks, it's working properly now.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Sun Jan 19, 2014 12:29 am
by zuilserip
Thank you very much for this script. I've been able to successfully install it and run it for hundreds of tracks. It seems to work great!

I continue to run into an annoying error with regular frequency and at seemingly random times, however. I select small batches of songs to process (~50-60) and every couple of batches I run into the following error:

Error executing script event.
Object required: 'oXMLDoc.getElementsByTagName(...)(...)'

Image

I can easily bypass this by running the script again and it doesn't seem to have any issues with the tracks the second time around...

Any idea what could be causing this?

Thanks again for the script in any event.

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Sun Jan 19, 2014 12:47 am
by wxdude
Does the object required error happen with Discogs, Musicbrainz, or both?

Re: Earliest Release Date v4.0.0 (2014-01-13)

Posted: Mon Jan 20, 2014 12:03 am
by zuilserip
wxdude wrote:Does the object required error happen with Discogs, Musicbrainz, or both?
Hi - I just tested it and yes, it does happen with both Discogs and Musicbrainz. I also tested Last.fm, All Music and Google and had the same errors pop up.

Please let me know if there is any way I can be of help in diagnosing this.

Cheers.