way to sort by album art dimension?
-
Gar
way to sort by album art dimension?
I'd like to sort by art dimensions. That way, I can edit the ones that have tiny album art and put it better images.
Any ideas on how to do this?
--Gar
Any ideas on how to do this?
--Gar
Good idea - I'll put it on my to do list! 
Question though; what if there is multiple artwork? Calculate the average size? Maybe use the min or max size instead?
Question though; what if there is multiple artwork? Calculate the average size? Maybe use the min or max size instead?
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
MCSmarties
- Posts: 251
- Joined: Tue Dec 06, 2005 8:01 pm
I've tried this and not got anything useable. I can calculate the sizes, but it's slow, painfully slow. Especially if you then try to sort them. I was saving a value in one of the custom fields so that you could sort them in MM, but because it is sorted alphabetically not numerically you have to add leading zeros...
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
To sort a text field numerically, try this:
Order By Val(Customfield)
Order By Val(Customfield)
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
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
I meant when you click on the custom field name in the main window, MM sorts the field alphabetically.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Ok, I've got something working. Do people want the size to be based on the minimum, maximum, average or other (please specify) image size?
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
Guest
> Do people want the size to be based on the minimum, maximum, average or other (please specify) image size?
Well, the problem I want to solve, and looks like others, too, is to find the cover art that's small and blurry so I can replace them with better images.
The question you're asking, I think, is what to do when songs have multiple images?
If the script just handled "front cover" images, that would probably help most of us. Maybe it could be a parameter in the script to pick which image type.
After that, maybe min, max, and average could also be selectable (by comment/uncomment) in the script. If I had to choose, I would prefer min because it would allow me to remove small images, even if there are multiple images.
BTW, how are you calculating image size? I don't think we want just physical byte size because then an image with large dimensions, but heavy compression, could appear small. I suggest image dimensions, or, to boil it down to a single number for sorting, number of pixels (height*width).
Thanks for you efforts!
--Gar
Well, the problem I want to solve, and looks like others, too, is to find the cover art that's small and blurry so I can replace them with better images.
The question you're asking, I think, is what to do when songs have multiple images?
If the script just handled "front cover" images, that would probably help most of us. Maybe it could be a parameter in the script to pick which image type.
After that, maybe min, max, and average could also be selectable (by comment/uncomment) in the script. If I had to choose, I would prefer min because it would allow me to remove small images, even if there are multiple images.
BTW, how are you calculating image size? I don't think we want just physical byte size because then an image with large dimensions, but heavy compression, could appear small. I suggest image dimensions, or, to boil it down to a single number for sorting, number of pixels (height*width).
Thanks for you efforts!
--Gar
The trouble is, you can have multiple front covers! The script is almost ready for release, I'm just creating a form so people don't have to edit the script to change the parameters. It does calculate size by width*height, and there is the option of min/max/average/total/first. The first image is the one which is displayed in the album art pane, so I figured this would be an important one.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Ok, this script is now available here: http://www.mediamonkey.com/forum/viewtopic.php?t=12042
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Glad you like! 
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.