Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Album Art Downloader (Read 472940 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Album Art Downloader

Reply #100
Album Art Downloader XUI has moved to a new thread:

[a href='index.php?showtopic=57392']Album Art Downloader XUI[/a]

Please see that topic for updates and discussion about the XUI branch.

Album Art Downloader

Reply #101
Alex, BRAVO man.  New version is really slick.  This will be useful for people (it pops up if you send wrong commandline parameters) -

Code: [Select]
Album Art Downloader XUI version 0.1.0.0

**** Only the first three parameters may be un-named ****

Usage: AlbumArt.exe [options]

Option names may be preceded by a / or a -
Options:

/artist      Artist to search for            (/artist "Artist Name")
              May be abbreviated to /ar       (/ar "Artist Name")
              Parameter name may be omitted
              if this is the first parameter  ("Artist Name")

/album       Album to search for             (/album "Album Name")
              May be abbreviated to /al       (/al "Album Name")
              Parameter name may be omitted
              if this is the second parameter ("Artist Name" "Album Name")

/path        Default path to save art as     (/path "\Art\Folder.jpg")
              May be abbreviated to /p        (/p "\Art\Folder.jpg")
              Parameter name may be omitted
              if this is the third parameter  ("Artist Name" "Album Name" "\Art\Folder.jpg")

              The following variables can be used in paths:
               %artist%     Artist searched for
               %album%      Album searched for
               %name%       Name of the image found
               %extension%  Default file extension for the image
               %source%     Name of the source where image was found
               %size%       Dimensions of the image

/f           Provided for backwards          (/p "\Art" /f "Folder.jpg")
              compatibility only. When
              specified, the value is
              appended to the path.

/autoclose   Closes the search window after  (/autoclose)
              a saving. To avoid closing, use
              Save As.
              May be abbreviated to /ac

/sources     Searches only the specified     (/sources "Amazon,Coveralia")
              sources. Others are disabled.
              Separate sources with commas.
              May be abbreviated to /s

/exclude     Does not search the specified   (/exclude "Local Files,Google")
              sources. Separate sources with
              commas.
              May be abbreviated to /es
              For backwards compatibilty, the
              parameter "/ae off" can also be
              used to exclude "Local Files".


The click-and-hold-to-preview is a very nice added feature.  GREAT JOB!

Incidentally, I found out this computer at work....EATS IT big time on .NET 3 apps  15-25% CPU usage and 100+ MBs RAM just sitting there...ugh.

Only 2 things I can think of at the moment to request -

1.  Option to put the image info below the thumbnail instead of to the side
2.  A 'Stop All' button at the top of the sources column

Album Art Downloader

Reply #102
The XUI version is working nicely with my first few queries/saves.  Thanks a bunch!

Album Art Downloader

Reply #103
One more small thing, the Amazon script doesn't seem to be grabbing the image size.  It says unknown for everything until you click on it to download the full image in preview.  If you have a minimum size set, like 200px, then none of the Amazon results show up.

Request -
Can you add a maximum image size as well?  It would help in filtering out misc junk.

Album Art Downloader

Reply #104
Alex, BRAVO man. New version is really slick.
Thanks! Glad you liked it

15-25% CPU usage and 100+ MBs RAM just sitting there...ugh.
Ouch. I've checked this out, and can confirm that after doing a search the CPU usage can stay over 0, even after all activity has completed. Checking out the code, it insists that it isn't doing anything, so it must be something WPF internal that's eating it. I'll do some more research, and see if there is anything that can be done to improve matters. There may not be, though.

Option to put the image info below the thumbnail instead of to the side
I'll see how this goes. If it looks good and usable, I'll include it in the next release.

A 'Stop All' button at the top of the sources column
Like it. Already done, will be in the next release.

One more small thing, the Amazon script doesn't seem to be grabbing the image size.
Unfortunately Amazon does not make the size of its images available, so the only way to determine them is to download them. If you check the "Automatically download full size images" checkbox then they will have their size filled in when the full size one downloads.

If you have a minimum size set, like 200px, then none of the Amazon results show up.
If the size is Unknown, then it will filter on the thumbnail size. Setting it a bit smaller than 200px would let them show up, but still filter out the errors, which are usually single-digit size. Alternatively, if using "Automatically download full size images", then once the full size image has downloaded it will appear in the results (if it is bigger than 200px).

Can you add a maximum image size as well?  It would help in filtering out misc junk.
I've never noticed a problem with returning images that are too big, and Coveralia can return them up to about 1000px square. Could you give me an example search where it would be useful?

Album Art Downloader

Reply #105
Sure, plus one more idea

I search for coverart to display in my Track Display and on my portable.  It's never bigger than usually 500x500.  I don't use any full screen displays, so retreiving large art (650+) is kind of pointless for me.  Plus it takes extra time for the program to display thumbnails, BIG extra time if I have it set to auto download the images to get sizes, and longer to sort through the results to find what I'm looking for.  I'm not looking for all the art I can find, just one cover at least 300x300.  So anything that can speed up my search is a plus.

Along those lines....the last version had an option to limit the maximum number of results returned from each source.  Can you add this back in?  Again, anything to speed up my search is a good thing.

The end result of all this would be a search like - return a max of 10 hits from each source for images between 200px and 600px.

Oh, and I totally blame the high CPU+RAM usage on .NET3.  I'm sure it's not necessarily specific to your program.

Keep up the great work!

Album Art Downloader

Reply #106
Really wonderful program, thank you for maintaining it

Album Art Downloader

Reply #107
I have another question and a few requests -

Is the Album Queue making a return to XUI?

Requests -
1.  Bring back the queue
2.  Make /autoclose an option in the main program saved across sessions.  Currently it is available only as a commandline switch that cannot be passed via REACT2.  Also make it possible to override this option via commandline switch like /noautoclose (see usage in next request)
3.  With the return of the queue, can you make it possible to load multiple albums via foo_run?  I'm not sure what the foo_run command would look like for this, so if you could give some insight here that would be great.  This is where /noautoclose would come in, since you wouldn't want XUI to close after saving the first cover of the queue.

Keep up the great work as usual!

 

Album Art Downloader

Reply #108
2.  Make /autoclose an option in the main program saved across sessions.  Currently it is available only as a commandline switch that cannot be passed via REACT2.  Also make it possible to override this option via commandline switch like /noautoclose (see usage in next request)

@ wraithdu

If you have the XUI version working with REACT2, would you please share the commandline that you are using in the REACT config file? Thanks!
Surf's Up!
"Columnated Ruins Domino"

Album Art Downloader

Reply #109
@ wraithdu

If you have the XUI version working with REACT2, would you please share the commandline that you are using in the REACT config file? Thanks!

The new XUI version works with the old CoverDownloader commandline switches as well as the new ones, so my commandline is only changed to the new path of XUI in my react.ini

Album Art Downloader

Reply #110
The new XUI version works with the old CoverDownloader commandline switches as well as the new ones, so my commandline is only changed to the new path of XUI in my react.ini

The older CoverDownloader that comes with REACT does not need switches, so since switches have been introduced in the newer versions, I have not been able to use those newer versions with REACT. So if you would please post your command line, I would be most appreciative.
Surf's Up!
"Columnated Ruins Domino"

Album Art Downloader

Reply #111
The older CoverDownloader that comes with REACT does not need switches, so since switches have been introduced in the newer versions, I have not been able to use those newer versions with REACT. So if you would please post your command line, I would be most appreciative.

Perhaps I wasn't clear.  Ther are NO commandline switches needed for REACT2 to work with AlbumArtDownloader XUI.  Just set the path in your react.ini and you're done.

REACT2 automatically fills in the artist-album-path and XUI will understand them just as the old CoverDownloader did.  Read my post #102 carefully and just try it.

Album Art Downloader

Reply #112
I'll be sure to do just that later this evening. Thanks for the info.
Surf's Up!
"Columnated Ruins Domino"

Album Art Downloader

Reply #113
To be crystal on this issue, the old CoverDownloader did in fact need commandline switches to work -

"%album artist%" "%album%" "%path%"

in that order and that exact sytax with the " ".  The issue is that REACT2 silently passes those values to albumart.exe when it is run.  Those values are hardcoded in the react.exe and not editable.  The new XUI version understands values passed to it in this way as well as with the new switches.

Album Art Downloader

Reply #114
To be crystal on this issue, the old CoverDownloader did in fact need commandline switches to work -

"%album artist%" "%album%" "%path%"

in that order and that exact sytax with the " ".  The issue is that REACT2 silently passes those values to albumart.exe when it is run.  Those values are hardcoded in the react.exe and not editable.  The new XUI version understands values passed to it in this way as well as with the new switches.

Understood! Though, I was referring to the -a -p, etc. switches that were introduced with Mark's newer version. I could never get that version to work with REACT. When I saw that the same switches were used in the XUI version, I assumed that it would not work with REACT either. I am glad to hear that the values can be passed both ways. XUI is really a terrific version, so I'm very happy to hear that works with REACT. I am looking forward to trying it out this evening when I get home from work. Thanks again for your help.
Surf's Up!
"Columnated Ruins Domino"

Album Art Downloader

Reply #115
Is the Album Queue making a return to XUI?
Do you mean the ability to do multiple searches simultaneously? I thought this would be more naturally handled by the multiple window system. Each search you do opens in a new window (unless you uncheck that option). If autoclose is turned on, it only closes the window that search result is in, so if there are more than one albums searched for, then only once you've saved all of them will the whole app exit.

Make /autoclose an option in the main program saved across sessions.
My thinking here was that it would only be useful when calling the program through a command line, so did not need a UI. I take your point about the problem with not being able to customise the command line for REACT2, so needing to set this manually. I'll see if I can find a good spot to stick a checkbox for it.

3.  With the return of the queue, can you make it possible to load multiple albums via foo_run?  I'm not sure what the foo_run command would look like for this, so if you could give some insight here that would be great.  This is where /noautoclose would come in, since you wouldn't want XUI to close after saving the first cover of the queue.
Could you give me some more details about what you are trying to achieve here? I was assuming if you wanted to search for multiple albums, you'd just call AlbumArt.exe multiple times, one for each album. This would have the same effect as doing multiple searches. Ideally this would keep just a single running instance and pass the details to search for to it automatically, but I haven't implemented that yet, so you'll actually get multiple instances. The only effect of that is to use up more CPU and RAM, functionally it should be identical.

I'm currently away for 10 days, so development is suspended for a bit. The current state is: Information toggle to show under thumbnails is in. Stop All is in. AutoDownload for unknown size only is in. Max image size restriction UI is in, implementation shortly to follow. Restrict number of results (a per-source setting) is designed.

Album Art Downloader

Reply #116
Could you give me some more details about what you are trying to achieve here? I was assuming if you wanted to search for multiple albums, you'd just call AlbumArt.exe multiple times, one for each album. This would have the same effect as doing multiple searches. Ideally this would keep just a single running instance and pass the details to search for to it automatically, but I haven't implemented that yet, so you'll actually get multiple instances. The only effect of that is to use up more CPU and RAM, functionally it should be identical.

I was thinking that the ability to select tracks from multiple albums in a playlist and then calling AlbumArt via foo_run would be useful for someone with a lot of albumart to download.  I think that the queue system from the last version would be more user and resource friendly than having 15 windows open up.

Have a good vacation...or trip...or whatever

Album Art Downloader

Reply #117
I could also think of the situation when one has a largish music library with one top folder, as is common for instance if you have Slimserver/Squeezebox, where album art is previously scanned/downloaded for some of the CD's. It would then be nice to just point to the top folder and ask Album Art Downloader to recursively go through the whole library and download art for all albums where none already exists.

Album Art Downloader

Reply #118
how do you use %extension%? i have this in foo_run
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" /artist "%artist%" /album "%album%" /path "$replace(%path%,%filename_ext%,)folder.%extension%"

Album Art Downloader

Reply #119
I have problems with the last version.
"C:\Programme\Audio\foobar2000-0.9\components\AlbumArtDownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)"

On double-click on a coverart it isn't automatically saved as folder.jpg to the path anymore. Any ideas/solutions? (I tried the -f parameter without luck)

Album Art Downloader

Reply #120
I have problems with the last version.
"C:\Programme\Audio\foobar2000-0.9\components\AlbumArtDownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)"

On double-click on a coverart it isn't automatically saved as folder.jpg to the path anymore. Any ideas/solutions? (I tried the -f parameter without luck)

In your commandline you haven't specified a filename.  Look some posts back for the full usage I posted.  In the meantime try -
Code: [Select]
"C:\Programme\Audio\foobar2000-0.9\components\AlbumArtDownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "$replace(%path%,%filename_ext%,'folder.jpg')"

Album Art Downloader

Reply #121
I have the same problem. When I double click a cover it brings me to the Save As... window.

I'm not using that brand new version, just the normal one.

Album Art Downloader

Reply #122
I have the same problem. When I double click a cover it brings me to the Save As... window.

I'm not using that brand new version, just the normal one.

It's a known problem with that last version.  It won't be updated in that form anymore.  Switch to XUI.

Album Art Downloader

Reply #123
This new version is absolutely great.

Here my string for you other guys: "C:\Programme\Audio\foobar2000-0.9\components\AlbumArtDownloaderXUI\albumart.exe" /artist "%artist%" /album "%album%" /path "$replace(%_path%,%_filename_ext%,)folder.jpg" /autoclose


One problem though. If a file already exsits it asks, whether it should be replaced - yes -> errormessage. Need more details?

"Hide pictures smaller then xx" - should it also hide the local file, if it exists?!

Album Art Downloader

Reply #124
One problem though. If a file already exsits it asks, whether it should be replaced - yes -> errormessage. Need more details?


If it's an "another program is using the file", then uncheck the local files search. It would appear that it doesn't release the art after looking for it.