Batch Art Finder 4.2 - Updated 03/07/2012
Re: Batch Art Finder 3.0 [MM2+3]
Where do you download this script? I want to check it out.
Re: Batch Art Finder 3.0 [MM2+3]
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Re: Batch Art Finder 3.0 [MM2+3]
chugger93 - and can see how this would seem easy, but trust me that performing that many lookups and caching that much data and allowing the user to easily select the one they want (not forgetting I calculate and display the real dimensions to help people choose which they want) is actually incredibly complicated, in a script which is already pretty complex. I have put it on my list though, and will attempt to work my magic! 
excetara2 - all my scripts are on my website (until the script repository opens), click the link in my signature.
excetara2 - all my scripts are on my website (until the script repository opens), click the link in my signature.
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.
-
Bythor
Re: Batch Art Finder 3.0 [MM2+3]
Have a question that may be very stupid!
How do I set the Batch Limit variable?
I have looked all over the interface for it but can't seem to find it.
I have 1800 albuns that need cover and my PC comes to a crawl when I ran Batch Art Finer
thanks
How do I set the Batch Limit variable?
I have looked all over the interface for it but can't seem to find it.
I have 1800 albuns that need cover and my PC comes to a crawl when I ran Batch Art Finer
thanks
-
papaschtroumpf
- Posts: 15
- Joined: Sat Dec 05, 2009 4:34 pm
Re: Batch Art Finder 3.0 [MM2+3]
Trixmoto, I just discovered MediaMonkey and this plug in and it seems to be just what the doctor ordered to put my audiobook collection in order.
I did find what I believe is a bug in the script however:
I want the album art to be placed in the same path as the album with the name "folder.jpg".
In theory setting the File Mask in the options to "<path>\folder" should do the trick but it doesn't work, instead the file is saved at the root of the drive with a name where backslashes in the path are replaced by dashes.
For example instead of:
D:\My_Music\Audiobooks\Agatha Christie\Marple - Sleeping Murder\folder.jpg
you get:
-My_Music-Audiobooks-Agatha Christie-Marple - Sleeping Murder-folder.jpg at the root of D:\
I don't know VB but have programmed in enough other languages that I was able to trace the problem to the line:
path = SDB.Tools.FileSystem.CorrectFilename(path)
This is intending to clean up the name of the album in case it looks like a path y replacing backslashes with a dash, but it's applied to path way too late in the process, at that point path already contains a real path. Rather than cleanup path you should c clean up oartist and oalbum individually.
Since I know none of my album name have a name that looks like a path, I simply commented the line aboe out and now the script does what I want it to do.
Browsing through the 60+ pages of this thread I noticed at least one user was complaining about the file being placed in the root of the drive, so it may be the same problem.
Let me know if you disagree with my analysis/fix or if you need extra info
Still absolutely love the fact that you wrote this tough, beats looking for album art manually!
I did find what I believe is a bug in the script however:
I want the album art to be placed in the same path as the album with the name "folder.jpg".
In theory setting the File Mask in the options to "<path>\folder" should do the trick but it doesn't work, instead the file is saved at the root of the drive with a name where backslashes in the path are replaced by dashes.
For example instead of:
D:\My_Music\Audiobooks\Agatha Christie\Marple - Sleeping Murder\folder.jpg
you get:
-My_Music-Audiobooks-Agatha Christie-Marple - Sleeping Murder-folder.jpg at the root of D:\
I don't know VB but have programmed in enough other languages that I was able to trace the problem to the line:
path = SDB.Tools.FileSystem.CorrectFilename(path)
This is intending to clean up the name of the album in case it looks like a path y replacing backslashes with a dash, but it's applied to path way too late in the process, at that point path already contains a real path. Rather than cleanup path you should c clean up oartist and oalbum individually.
Since I know none of my album name have a name that looks like a path, I simply commented the line aboe out and now the script does what I want it to do.
Browsing through the 60+ pages of this thread I noticed at least one user was complaining about the file being placed in the root of the drive, so it may be the same problem.
Let me know if you disagree with my analysis/fix or if you need extra info
Still absolutely love the fact that you wrote this tough, beats looking for album art manually!
Re: Batch Art Finder 3.0 [MM2+3]
@Bythor
Use Tools->Options->Library->BatchArtFinder Settings->Batch Limit
In my case I set the limit to 50,
Use Tools->Options->Library->BatchArtFinder Settings->Batch Limit
In my case I set the limit to 50,
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Re: Batch Art Finder 3.0 [MM2+3]
@papaschtroumpf - I have already fixed this in the next version...
trixmoto wrote: This means that in your "MediaMonkey.ini" file you have in your [FilenameMappings] section an entry like of "5C=2D". Removing this should give you the results you expect.
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.
-
papaschtroumpf
- Posts: 15
- Joined: Sat Dec 05, 2009 4:34 pm
Re: Batch Art Finder 3.0 [MM2+3]
can you explain what the different storage options are?
I want to save the image in the folder and not touch the tags.
I figured "Download only (don't tag)" was what I should use but it doesn't seem to be working right. It definitely touches the tag (I can even see the comment that the tag was added by the script), although it seems to add a blank image or broken tag.
If I rescan, MM now shows 2 images attached to that album: the blank one inserted by the script and the one it picked up from the folder. since the one from the script is first in the list and it's broken, it doesn't show. If I right click and Edit album art and remove it, then everything is fine.
any ideas?
I want to save the image in the folder and not touch the tags.
I figured "Download only (don't tag)" was what I should use but it doesn't seem to be working right. It definitely touches the tag (I can even see the comment that the tag was added by the script), although it seems to add a blank image or broken tag.
If I rescan, MM now shows 2 images attached to that album: the blank one inserted by the script and the one it picked up from the folder. since the one from the script is first in the list and it's broken, it doesn't show. If I right click and Edit album art and remove it, then everything is fine.
any ideas?
-
papaschtroumpf
- Posts: 15
- Joined: Sat Dec 05, 2009 4:34 pm
Re: Batch Art Finder 3.0 [MM2+3]
so I tried to follow the script, my storage option is equivalent to Storage=5.
Itried to find more info on the MM wiki and found the following:
so the built in API takes a 0 or 1 argument, whereas the script leaves Storage untouched (i.e 5-1 = 4 in my case) instead of 0/1. I'm not sure if there is a way to determine what the behavior is when SDBAlbumArtItem::ItemStorage is 4.
Maybe adding the following at the top of postDownload() would do the trick:
If Storage = 4 Then
sto = 1
End If
it would force external storage and not touch the link (I think)
Itried to find more info on the MM wiki and found the following:
Code: Select all
Property description
Where is the item stored (0=tag, 1=external file).
Maybe adding the following at the top of postDownload() would do the trick:
If Storage = 4 Then
sto = 1
End If
it would force external storage and not touch the link (I think)
-
papaschtroumpf
- Posts: 15
- Joined: Sat Dec 05, 2009 4:34 pm
Re: Batch Art Finder 3.0 [MM2+3]
OK, looks like may have worked with the change above. trixmoto can you confirm it's the right way to go?
One more problem: the album art in the display is not updated until I quit MM (or maybe do a rescan?) Is there a way to force the database to rescan the picture for that one item (or maybe refresh the display for the whole current page). I don't have MM set to monitor the folder as my media folder is extremely large (350G) and a rescan takes a while.
I see
pics.UpdateDB
but that doesn't seem to cause a redraw, so the database object is updated, not its representation on the screen (it seems to be when you write the art to the track, but I don;t want to do this).
FYI the way I don't want to attach the file to each tag is that this is an audiobook collection and some of them were ripped in 2 minutes tracks, so some books easily sport over 500 tracks. Adding a picture to each track adds up into significant more storage on disk and on my backup.
One more problem: the album art in the display is not updated until I quit MM (or maybe do a rescan?) Is there a way to force the database to rescan the picture for that one item (or maybe refresh the display for the whole current page). I don't have MM set to monitor the folder as my media folder is extremely large (350G) and a rescan takes a while.
I see
pics.UpdateDB
but that doesn't seem to cause a redraw, so the database object is updated, not its representation on the screen (it seems to be when you write the art to the track, but I don;t want to do this).
FYI the way I don't want to attach the file to each tag is that this is an audiobook collection and some of them were ripped in 2 minutes tracks, so some books easily sport over 500 tracks. Adding a picture to each track adds up into significant more storage on disk and on my backup.
-
Guest
Re: Batch Art Finder 3.0 [MM2+3]
trixmoto wrote:@papaschtroumpf - I have already fixed this in the next version...
trixmoto wrote: This means that in your "MediaMonkey.ini" file you have in your [FilenameMappings] section an entry like of "5C=2D". Removing this should give you the results you expect.
where can we get this new version?
Re: Batch Art Finder 3.0 [MM2+3]
@Guest - i'm still working on this version, it is not yet ready for release.
@papaschtroumpf - there is a known issue with the "download only" mode still updating the tags. Storage mode 5 is my scripts mode for downloading only and should never be passing into the tags (as that's . whole point of the mode). It's confusing however that you say this is the mode that you want and also that you want to update the track - if you want to update the track then select one of the tag modes!
@papaschtroumpf - there is a known issue with the "download only" mode still updating the tags. Storage mode 5 is my scripts mode for downloading only and should never be passing into the tags (as that's . whole point of the mode). It's confusing however that you say this is the mode that you want and also that you want to update the track - if you want to update the track then select one of the tag modes!
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
Re: Batch Art Finder 3.0 [MM2+3]
trixmoto wrote:@Guest - i'm still working on this version, it is not yet ready for release.
@papaschtroumpf - there is a known issue with the "download only" mode still updating the tags. Storage mode 5 is my scripts mode for downloading only and should never be passing into the tags (as that's . whole point of the mode). It's confusing however that you say this is the mode that you want and also that you want to update the track - if you want to update the track then select one of the tag modes!
hope it comes out soon, im having so many issues with this one doing around 1600 albums, getting malformed url messages and such....
-
jsc315
Re: Batch Art Finder 3.0 [MM2+3]
I'm having a strange problem. Every time i try to install this and Genre finder I get a Instillation error every time I try to install. What am i doing wrong?
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Batch Art Finder 3.0 [MM2+3]
http://www.mediamonkey.com/support/inde ... ticleid=59jsc315 wrote:I'm having a strange problem. Every time i try to install this and Genre finder I get a Instillation error every time I try to install. What am i doing wrong?
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.