Calculate Cover Size 1.7 - Updated 23/10/2012

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby Peke » Sat Jul 10, 2010 7:16 pm

I would rather say that he knows Monkey Business ;) Nice update.
Best regards,
Pavle
MM Core Developer and Fan (check HAPPYMONKEYING Site)
Image
Image
Peke
 
Posts: 7551
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby Dreadlau » Fri Nov 12, 2010 1:57 pm

Hi Trixmoto.

I'm running the script on all my files.
But I forgot that some of them already had been analyzed by your script.
Will the script overwrite previous values with the new ones.
I ask this because I already changed the artwork in some of them.

Thank you
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
Dreadlau
 
Posts: 1965
Joined: Sun Nov 25, 2007 6:49 am

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby trixmoto » Fri Nov 12, 2010 3:09 pm

Yes, this script will recalculate and overwrite existing values.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby Dreadlau » Fri Nov 12, 2010 3:17 pm

Thank you.

And thank you for the script :)
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
Dreadlau
 
Posts: 1965
Joined: Sun Nov 25, 2007 6:49 am

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby MMuser2011 » Thu Jan 26, 2012 7:27 am

Thanks for this great script, trixmoto!

A few questions:
a) This script works with MM4 too? There are no built-in cover art informations in MM4, right?
b) This script doesn't write anything back to the id3tags of the song, only to the MM database?
c) After modification on the cover art of a song, this will NOT be detected through the scan process (INS) from MM. We have to run the script again, right?
d) What happens to the size calculation, if the song has multiple covers (ie front, back)
Magic Nodes v4.2 (2011-07-01) Album Art Tagger v4.9 (2011-02-27)
ExternalTools v1.4 (2011-05-09) MusicBrainz NGS + AcoustId Tagger v1.25 (2012-01-29)
Calculate Cover Size v1.5 (2010-05-03) RegExp Find & Replace v4.3 (2011-07-06)
MMuser2011
 
Posts: 525
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby trixmoto » Thu Jan 26, 2012 1:12 pm

a) As far as I know, yes, although I've not tried it myself. It should be forward compatible though.
b) It writes back to the field in the database that you specify - depending on your MM settings this may or may not be one which is stored in the file's tags.
c) No, the script is never automatically triggered - you would need to run it manually.
d) This depends on the mode that's running, sometimes it's total, sometimes it's average - the script should make it clear though.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby gege » Thu Jan 26, 2012 1:36 pm

trixmoto wrote:a) As far as I know, yes, although I've not tried it myself. It should be forward compatible though.

Yes, it DOES work. I've been using it with MM4 since the early betas.
gege
 
Posts: 844
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby MMuser2011 » Fri Jan 27, 2012 5:16 pm

Did you know that after ~8000 tracks, the script stop working with this error:
"Thread creation error: Not enough memory available for this command"
(rough translation for my original german error message:
"Thread creation error: Für diesen Befehl ist nicht genug Speicher verfügbar"

I have to kill MM4 with the taskmanager and start again with the next ~8000 tracks. 8)
Magic Nodes v4.2 (2011-07-01) Album Art Tagger v4.9 (2011-02-27)
ExternalTools v1.4 (2011-05-09) MusicBrainz NGS + AcoustId Tagger v1.25 (2012-01-29)
Calculate Cover Size v1.5 (2010-05-03) RegExp Find & Replace v4.3 (2011-07-06)
MMuser2011
 
Posts: 525
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby trixmoto » Sat Jan 28, 2012 5:32 am

I tested it with over 20,000 when I wrote it for MM3, but I guess all computers have a memory allocation limit.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby MMuser2011 » Sat Jan 28, 2012 6:37 am

trixmoto wrote:all computers have a memory allocation limit.
Where can I check/set this value for Windows 7?
Magic Nodes v4.2 (2011-07-01) Album Art Tagger v4.9 (2011-02-27)
ExternalTools v1.4 (2011-05-09) MusicBrainz NGS + AcoustId Tagger v1.25 (2012-01-29)
Calculate Cover Size v1.5 (2010-05-03) RegExp Find & Replace v4.3 (2011-07-06)
MMuser2011
 
Posts: 525
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby MMuser2011 » Sat Jan 28, 2012 6:08 pm

Another question:
If I would write 'your' tag field for the calculated Cover Size
COMMENT SONGS-DB_CUSTOM1
with a 3rd party tag program, would Mediamonkey import it to its database on the next library (re-)scan?
Magic Nodes v4.2 (2011-07-01) Album Art Tagger v4.9 (2011-02-27)
ExternalTools v1.4 (2011-05-09) MusicBrainz NGS + AcoustId Tagger v1.25 (2012-01-29)
Calculate Cover Size v1.5 (2010-05-03) RegExp Find & Replace v4.3 (2011-07-06)
MMuser2011
 
Posts: 525
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby Vyper » Sun Jan 29, 2012 9:06 am

MMuser2011 wrote:
trixmoto wrote:all computers have a memory allocation limit.
Where can I check/set this value for Windows 7?

Click start and type in:

system information

:)
Stop Button Freak
Vyper
 
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby MMuser2011 » Sat May 19, 2012 9:44 am

Could anyone tell me, how I can adjust the sort order for the column "Cover size" (as I labeled the Custom-Field1)?
Actually I get the following sort order:
...
100x140
100x140
1024x1024
102x102
105x105
105x94
1064x1064
106x106
1074x1517
107x105
....
How can I tell MM that the content of this column should be handled as numbers, not as text?
Magic Nodes v4.2 (2011-07-01) Album Art Tagger v4.9 (2011-02-27)
ExternalTools v1.4 (2011-05-09) MusicBrainz NGS + AcoustId Tagger v1.25 (2012-01-29)
Calculate Cover Size v1.5 (2010-05-03) RegExp Find & Replace v4.3 (2011-07-06)
MMuser2011
 
Posts: 525
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby Lowlander » Sat May 19, 2012 12:40 pm

You can't.
Lowlander
 
Posts: 31702
Joined: Sat Sep 06, 2003 5:53 pm

Re: Calculate Cover Size 1.5 - Updated 03/05/2010

Postby scottycope » Thu Jun 14, 2012 12:09 am

Hi everyone,

I know this is an older thread but I just installed this script today and went to run it on a few albums. I picked Width x Height, stored in Custom 1, and pad 8 characters. I also checked Include images in tags (all my albums should have cover art stored in tags) and to not populate tracks without cover art.

However, when I go to run the script, nothing is written to the Custom 1 field. Yet, if I pick option Total; W x H, values are populated in my selected field.

Any idea why the plain old Width x Height option is not populating my selected field?

Any help is appreciated!

Thanks,
Scott
scottycope
 
Posts: 16
Joined: Sun May 27, 2012 11:47 pm

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 9 guests