HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: Marc Landis on 2007-01-15 14:46:50

Title: Album Art Downloader
Post by: Marc Landis on 2007-01-15 14:46:50
AlbumArtDownloader XUI - You know you want it...

(http://www.byalexv.co.uk/foobar/AlbumArtDownloader/Splashscreen.gif) (Preview Release)
[blockquote]
(http://www.byalexv.co.uk/foobar/AlbumArtDownloader/SavePathAndSort.gif) (http://www.byalexv.co.uk/foobar/AlbumArtDownloader/Tooltip.gif) (http://www.byalexv.co.uk/foobar/AlbumArtDownloader/DownloadingFullSize.gif)

(http://www.byalexv.co.uk/foobar/AlbumArtDownloader/Sources.gif) (http://www.byalexv.co.uk/foobar/AlbumArtDownloader/FullArtPanel.gif)
[/blockquote]

AlexVallat:
I've been working on this for a while, and I think it is time to let people start playing with it. This is a rewrite of the Album Art Downloader code, using .NET Framework 3.0.

Features:For the graphically-minded out there, although this app isn't skinnable, the UI is all created in XAML, so if you want to grab the source and start editing the UI, please feel free. It is under the XUI folder in the SVN Repository (https://sourceforge.net/svn/?group_id=187008)

Limitations:
This is a preview release, and as a rewrite, some functionality has not been ported across yet. Most notably, the browsers (both file and foobar) are not implemented yet. If you can't live without these, then you might prefer to wait until they are. If there is some other favourite feature you are missing, let me know, and it should make it across eventually.

Download:

Moderation: For latest version please see this thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392).

AlbumArtDownloaderXUI-0.4.exe (http://www.byalexv.co.uk/foobar/AlbumArtDownloaderXUI-0.4.exe) (Installer. Recommended)
AlbumArtDownloaderXUI-0.4.zip (http://www.byalexv.co.uk/foobar/AlbumArtDownloaderXUI-0.4.zip) (zip archive for those who don't like installers)
.NET Framework 3.0 (http://www.microsoft.com/downloads/details.aspx?familyid=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en) (required)

Updated 2007-04-27: version 0.4

---------------------------------------------------------------------------------------------------

Album Art Downloader

Version 0.6 alpha 2 is released.

This requires .Net Framework 2.0.

Download: http://sourceforge.net/projects/album-art (http://sourceforge.net/projects/album-art)

Please report bugs at the Bug Tracker (http://sourceforge.net/tracker/?group_id=187008&atid=919575)

Feature request should go to the Feature Request Tracker (http://sourceforge.net/tracker/?group_id=187008&atid=919578)

Here are the changes:

Legend:

  * New feature
  + Minor improvement
  ! Software change requires modification of your configuration
  x Bugfix
  - Information only


Revision history: ---------------------------------------------------------

Album Art Downloader 0.6 Alpha 2

* Added Save Toolbar - users can predefine buttons to save images

* Added option to specify maximum results returned by a script

! Changed command line switches - use "albumart.exe -?" to get help

Album Art Downloader 0.6 Alpha 1

+ changed the way how the size overlay is displayed - now it is over the image

Album Art Downloader 0.5

! Changed command line switches - use "albumart.exe -?" to get help

* Added option to show pictures in current folder

* Added folder browser to scan for music

* Added option to automatically download full images

* Added size overlay on programm side

* Added Script Manager

- Added size column to folder/comserver browser

x Fixed bug when searching with empty save path and Show pictures in
  current folder is enabled

- Added Juno Records script

- Added artists.trivialbeing script

---------------------------------------------------------------------------

new command line switches:

Due to a possible bug in foo_run you need to have the -p parameter at the end of your commandline

Code: [Select]
Syntax:
albumart.exe [-ae on|off] [-pf on|off] [-ar "Artist"] [-al "Album"] [-p "Path"] [-f "Filename"]

Options:
-ae on|off     Show already existing Album Art
-pf on|off     Show pictures in folder
-ar "Artist"   Artist to search
-al "Album"    Album to search
-p "Path"      Path to save image
-f "Filename"      Filename to use


example:

Code: [Select]
albumart.exe -ar "Roni Size & Reprazent" -al "In The Mode" -p "D:\music2\Roni Size & Reprazent\In The Mode" -f "folder.jpg"


(http://www.tokomak.de/stuff/AlbumArtDownloader.png)

Marc
Title: Album Art Downloader
Post by: carmenm on 2007-01-15 15:07:12
Here at work the application wont load, but i have no information on why. Will test it at home tonight
Title: Album Art Downloader
Post by: Chaser on 2007-01-15 16:28:22
Help button is not working.

Apart from that: nice on first sight!!
Thank you!
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-15 16:37:24
Help button is not working.


Not yet implemented. 
Title: Album Art Downloader
Post by: mobyduck on 2007-01-15 16:57:01
Just tried with all the packaged scripts plus some I was using with the old program:
Code: [Select]
Unhandled exception etc. etc.
The path is not of a legal form.
In details:
Code: [Select]
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The path is not of a legal form.
  at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
  at System.IO.Path.GetDirectoryName(String path)
  at AlbumArtDownloader.MainForm.RemoveThumbs()
  at AlbumArtDownloader.MainForm.SwitchToTask(Task task)
  at AlbumArtDownloader.MainForm.a_TaskAdded(Object o, TaskEventArgs e)
  at AlbumArtDownloader.ArtDownloader.AddTask(Task t)
  at AlbumArtDownloader.MainForm.buttonAddTask_Click(Object sender, EventArgs e)
  at System.Windows.Forms.Control.OnClick(EventArgs e)
  at System.Windows.Forms.Button.OnClick(EventArgs e)
  at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ButtonBase.WndProc(Message& m)
  at System.Windows.Forms.Button.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AlbumArt
    Assembly Version: 0.5.0.0
    Win32 Version: 0.5.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/AlbumArt.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Boo.Lang.Compiler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/Boo.Lang.Compiler.DLL
----------------------------------------
Boo.Lang
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/Boo.Lang.DLL
----------------------------------------
Boo.Lang.Parser
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/Boo.Lang.Parser.DLL
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.84.0.0
    Win32 Version: 0.84.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.210 (QFE.050727-2100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data.SqlXml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
scriptcache
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/Boo.Lang.Compiler.dll
----------------------------------------
ISymWrapper
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/ISymWrapper/2.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
scriptcache
    Assembly Version: 0.0.0.0
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/foobar2000/AlbumArtDownloader/scripts/scriptcache.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Clicking "Continue" apparently the search is performed (result figures for some scripts are incremented) but I see no images to select.

Working on XP SP2.

Alessandro

[Edit]: same happens loading only default scripts.
Title: Album Art Downloader
Post by: david_dl on 2007-01-15 17:10:03
I also have the same problem. Thanks for continuing the development of my program though. Please note that under the terms of the license you must provide a copy of the source, and notification of its whereabouts. I'd suggest releasing it on sourceforge alongside the binaries.
Title: Album Art Downloader
Post by: AlexVallat on 2007-01-15 19:24:09
[a href="index.php?act=findpost&pid=464370"][{POST_SNAPBACK}][/a] @ david_dl:
The source is available from sourceforge already, through the source control system. There is a web based interface to it too.

[a href="index.php?act=findpost&pid=464368"][{POST_SNAPBACK}][/a] @ mobyduck:
I think a temporary workaround for this is to disable the showing of existing image files, in the settings. If it is the same bug as I was seeing, I've got a fix ready to go for it, just waiting on developer access to the code repository to check it in.
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-15 20:24:42
I also have the same problem. Thanks for continuing the development of my program though. Please note that under the terms of the license you must provide a copy of the source, and notification of its whereabouts. I'd suggest releasing it on sourceforge alongside the binaries.


Hi David,

I added the source as zip to the download. I thought it will be enough to have the source accessible via SVN.

Marc
Title: Album Art Downloader
Post by: Tich on 2007-01-15 20:54:42
First, let me say thank you for continuing the development of this fantastic tool!
At a first glance it seems to work ok and is an improvement over the existing version.
I noticed that when leaving the "Save To:" path empty it pops out an error when pressing "Add Task" instead of asking for input or, an even better solution, asking for the save path once the user actually wants to save something instead of just searching it.
The Error text is in German, but since you're from Berlin that shouldn't be a problem. 
Code: [Select]
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentException: Der Pfad hat ein ungültiges Format.
  bei System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
  bei System.IO.Path.GetDirectoryName(String path)
  bei AlbumArtDownloader.MainForm.RemoveThumbs()
  bei AlbumArtDownloader.MainForm.SwitchToTask(Task task)
  bei AlbumArtDownloader.MainForm.buttonAddTask_Click(Object sender, EventArgs e)
  bei System.Windows.Forms.Control.OnClick(EventArgs e)
  bei System.Windows.Forms.Button.OnClick(EventArgs e)
  bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  bei System.Windows.Forms.Control.WndProc(Message& m)
  bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
  bei System.Windows.Forms.Button.WndProc(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll]file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll[/url].
----------------------------------------
AlbumArt
    Assembly-Version: 0.5.0.0.
    Win32-Version: 0.5.0.0.
    CodeBase: [url=http://file:///C:/Programme/foobar2000/AlbumArtDownloader/AlbumArt.exe]file:///C:/Programme/foobar2000/AlbumArtDownloader/AlbumArt.exe[/url].
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll[/url].
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll[/url].
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll[/url].
----------------------------------------
System.Configuration
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll[/url].
----------------------------------------
System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll[/url].
----------------------------------------
Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll[/url].
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll[/url].
----------------------------------------
scriptcache
    Assembly-Version: 0.0.0.0.
    Win32-Version: .
    CodeBase: [url=http://file:///C:/Programme/foobar2000/AlbumArtDownloader/scripts/scriptcache.dll]file:///C:/Programme/foobar2000/AlbumArtDownloader/scripts/scriptcache.dll[/url].
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll]file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll[/url].
----------------------------------------
System.Drawing.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Drawing.resources.dll]file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_de_b03f5f7f11d50a3a/System.Drawing.resources.dll[/url].
----------------------------------------
Boo.Lang
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: [url=http://file:///C:/Programme/foobar2000/AlbumArtDownloader/Boo.Lang.DLL]file:///C:/Programme/foobar2000/AlbumArtDownloader/Boo.Lang.DLL[/url].
----------------------------------------
System.Web
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.210 (QFE.050727-2100).
    CodeBase: [url=http://file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll]file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll[/url].
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
Upon clicking the "continue" button of the error box the request gets fulfilled and it seems to query the scripts, however upon selecting the query in the queue window the error pops up again. The only solution is to manually delete it.

Only one question remains for me: will the old scripts work or will they have to be updated in order to be useable by your version of the program?

Other than that, good job on the size overlays and thanks for your efforts! 

Tich
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-16 07:25:10
Only one question remains for me: will the old scripts work or will they have to be updated in order to be useable by your version of the program?


The script interface changed a bit, as now the tool is passing the thumbnail size to the scripts and all thumbnails will be resized to the size chosen in the tool settings.
Title: Album Art Downloader
Post by: wolfsong on 2007-01-16 15:31:24

Only one question remains for me: will the old scripts work or will they have to be updated in order to be useable by your version of the program?


The script interface changed a bit, as now the tool is passing the thumbnail size to the scripts and all thumbnails will be resized to the size chosen in the tool settings.

So does that mean the old scripts will or won't work?
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-16 15:46:44
So does that mean the old scripts will or won't work?


They will work with Beta2.
Title: Album Art Downloader
Post by: mobyduck on 2007-01-16 18:56:18
Nice job with beta2, thanks!

Though I have not tested throughly yet, the previously reported problem is gone.

Two very minor things you might want to modify:

1) write the size also in a tooltip (sometimes it's hard to read)
2) expose all the info (name, version, creator) directly in the Script Manager page

Cheers.

Alessandro
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-01-17 21:24:57
just an idea... would it be possible to try to write script for downloading artist fotos too? it shouldnt be inpossible am i wrong? everything needed is there.
Title: Album Art Downloader
Post by: Hayduke on 2007-01-18 20:58:43
Could someone make a brief post on how to use this?
Is there a way to do albums in batches? ie select my music folder and have it use the tags to figure out artist/albuma dn get some images?

If this is somewhere else, I apologize. I searched but didn't find this.
Title: Album Art Downloader
Post by: Jinroh on 2007-01-18 21:14:49
Could someone make a brief post on how to use this?
Is there a way to do albums in batches? ie select my music folder and have it use the tags to figure out artist/albuma dn get some images?

If this is somewhere else, I apologize. I searched but didn't find this.

Hello
You need to use foo_run and add a task with the folloing command line :

"<Folder_Where_You_Install_AlbumArt>\AlbumArt.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)folder.jpg"
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-18 21:34:51
Could someone make a brief post on how to use this?
Is there a way to do albums in batches? ie select my music folder and have it use the tags to figure out artist/albuma dn get some images?

If this is somewhere else, I apologize. I searched but didn't find this.



You can use the Folder Browser to select you root music directory and it will check all files for tags to get Artist/Album

Marc
Title: Album Art Downloader
Post by: kockroach on 2007-01-18 23:29:17
just an idea... would it be possible to try to write script for downloading artist fotos too? it shouldnt be inpossible am i wrong? everything needed is there.

I wonder if a script for FofR's Artist Image Search (http://www.hydrogenaudio.org/forums/index.php?showtopic=51736) could be added.  What are your thoughts Marc and Alex?
Title: Album Art Downloader
Post by: AlexVallat on 2007-01-19 08:15:59

just an idea... would it be possible to try to write script for downloading artist fotos too? it shouldnt be inpossible am i wrong? everything needed is there.

I wonder if a script for FofR's Artist Image Search (http://www.hydrogenaudio.org/forums/index.php?showtopic=51736) could be added.  What are your thoughts Marc and Alex?


Sure, why not. FofR's service already does all the hard work, so the script for this is trivial: artists.trivialbeing.boo (http://www.byalexv.co.uk/foobar/artists.trivialbeing.boo).

Alex
Title: Album Art Downloader
Post by: kockroach on 2007-01-19 12:12:57
Sure, why not. FofR's service already does all the hard work, so the script for this is trivial: artists.trivialbeing.boo (http://www.byalexv.co.uk/foobar/artists.trivialbeing.boo).

Alex

Amazing!  I can't believe that it was that easy.  Thanks Alex!
Title: Album Art Downloader
Post by: tomthomson on 2007-01-19 21:58:55
thanks for the further development of this helpful tool

well, there's one thing that bothers me
AlbumArt doesnt start with this command
Code: [Select]
"D:\Player\Foobar\AlbumArtDownloader\AlbumArt.exe" "%album artist%" "%album%" "F:\Musik\Archiv\!Covers\%album artist% - %album%.jpg"


Actually the AlbumArt.exe task is active but it just fills up the memory to >100.000K and ~100% CPU Usage and the GUI never appears.
Never had that problem with the old coverdownloader.

Commands like
Code: [Select]
"D:\Player\Foobar\AlbumArtDownloader\AlbumArt.exe" "%album artist%" "%album%" "$replace(%path%,%filename_ext%,)Front.jpg"

are working
Title: Album Art Downloader
Post by: aurelio on 2007-01-20 01:40:17
I had the same and found it's due to Show pictures in folder option. Depending on the folder content, the program may work or not.
Just run without parameters to have access to the settings and disable the feature.

@developers: if it's of any help, I'm using Vista - if you need more let us know!
Title: Album Art Downloader
Post by: tomthomson on 2007-01-20 03:26:35
yeah, that caused the problem - working now

...well, its still a bug  - and im not using vista
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-20 07:46:51
yeah, that caused the problem - working now

...well, its still a bug  - and im not using vista


Hi,

How many pictures do you have in that folder? 

I am going to add comandline switches to the application, so you can choose the functions at startup.

Marc
Title: Album Art Downloader
Post by: tomthomson on 2007-01-20 10:58:59

yeah, that caused the problem - working now

...well, its still a bug  - and im not using vista


Hi,

How many pictures do you have in that folder? 

I am going to add comandline switches to the application, so you can choose the functions at startup.

Marc


When using this command
Code: [Select]
"...." "%album artist%" "%album%" "F:\Musik\Archiv\!Covers\%album artist% - %album%.jpg"

I have 500 pics in that folder. But I tried that command with an empty folder and it didnt work, either.

another test:
I copied the 500 pics to an album folder an used this command
Code: [Select]
"..." "%album artist%" "%album%" "$replace(%path%,%filename_ext%,)Front.jpg"

...I get the same problems like before - GUI doesnt show up.
Then I deleted some pics bit by bit and when I had ~50 pics in the album folder the GUI finally appeared after some time (after searching for all the pics in the folder?)
When I had ~30 the GUI appeared faster
Title: Album Art Downloader
Post by: aurelio on 2007-01-20 12:40:32
I get the problem with a folder of 20 pictures, but many subfolders. Maybe they are scanned too?
Title: Album Art Downloader
Post by: kockroach on 2007-01-20 13:48:02
Is there a way to cache the known files so it doesn't need to rescan once it has found an image before?
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-20 22:06:31
Version 0.5 Final is released. Please read the first post.

Marc
Title: Album Art Downloader
Post by: Yotsuya on 2007-01-21 02:46:10
This component is shaping up nicely, though I miss the days of leeching iTunes for covers. I would like to request the ability to place the image sizes as text beneath the image name/title. The overlay is nice and all but the black text really fails to show up on dark covers, maybe adding a light border or shadow to the text? Though I'd rather just have some plain text under the image name.

I just updated to the 0.5 version and it appears to be ignoring all parameters passed to it. No artist, no album, no output location. Were things changed with regard to the command line syntax? The older version seems to still work fine.
Title: Album Art Downloader
Post by: tomthomson on 2007-01-21 13:41:06
Version 0.5 Final is released. Please read the first post.

Thanks
With the new switches I'm able to get rid of the problem of having too much pictures in a folder / albumart GUI not appearing

Though I'd rather just have some plain text under the image name.

Would like that too
Title: Album Art Downloader
Post by: kockroach on 2007-01-21 15:52:34
Hi Mark/Alex,

I was wondering if it might be possible to have a command line switch that allows you to run the program, but only using one specific script.  If the switch isn't used, then it uses all active scripts.  This would be a nice option so that you could have one command line to pull out only the artist images using the artists.trivialbeing script, and another to use all scripts to pull out album images.

An option like this could help keep the window from being cluttered if only looking for an artist picture.

Just a thought.
Title: Album Art Downloader
Post by: drbeachboy on 2007-01-21 16:57:29
Hi,

I was wondering if some kind soul would take a look at the Walmart.boo file. It was working last week, but it doesn't seem to be working now. I know that it wasn't updated for this new version, but the last version was working, nontheless. I went to the walmart site this morning, and it is up & the search is working properly. So, maybe something changed in the search string.

I ask for this only because it provides 500x500 quality pics, and rarely if ever, does it not produce whatever I am searching for.

Thanks in advance for looking into this.


EDIT:  It is working this afternoon, so my apologies.
Title: Album Art Downloader
Post by: krdu on 2007-01-21 18:15:21
This is a great program - incredibly useful.  One minor problem - among all you programming gurus there are a few dummies like me that can't figure out certain obvious things

1.  I tried the batch mode.  It didn't seem to properly identify folders with art in them.  A very few were identified but most folders which did contain .jpg files were identified as not having artwork.

2.  I don't understand FOO_RUN at all.  Can you give simple directions for installing it and getting it working?  Including the proper executables and where to get them?

3.  A lot of people keep the album art in the same folders as the .mp3 files, but I can't seem to find a way to get it to save there by default.  I seem to need to browse to the proper folder for each save.  Is there a way?  If not, can you make a way?

4.  Is there a way to keep the same filename, not have to input it?

5.  Is there any way to select several album arts (example, back, front, CD, etc.) and download all to the folder with the MP3's with the same filename as downloaded?  If not, can you put it in?  This would be an incredible time saver.

This is a lot of information to ask for.  Maybe you could put it in a file, say, "Album Art for Dummies?"

Thanks
Title: Album Art Downloader
Post by: Marc Landis on 2007-01-22 12:30:14
This is a great program - incredibly useful.  One minor problem - among all you programming gurus there are a few dummies like me that can't figure out certain obvious things

1.  I tried the batch mode.  It didn't seem to properly identify folders with art in them.  A very few were identified but most folders which did contain .jpg files were identified as not having artwork.

2.  I don't understand FOO_RUN at all.  Can you give simple directions for installing it and getting it working?  Including the proper executables and where to get them?

3.  A lot of people keep the album art in the same folders as the .mp3 files, but I can't seem to find a way to get it to save there by default.  I seem to need to browse to the proper folder for each save.  Is there a way?  If not, can you make a way?

4.  Is there a way to keep the same filename, not have to input it?

5.  Is there any way to select several album arts (example, back, front, CD, etc.) and download all to the folder with the MP3's with the same filename as downloaded?  If not, can you put it in?  This would be an incredible time saver.

This is a lot of information to ask for.  Maybe you could put it in a file, say, "Album Art for Dummies?"

Thanks


I am currently working on setting up a Wiki for Album Art Downloader.

Anyone who wants to contribute is welcome.

Marc
Title: Album Art Downloader
Post by: Generalverdacht on 2007-01-23 10:35:42
Great Plugin, thank you!
Title: Album Art Downloader
Post by: mazy on 2007-01-23 11:21:46
i've just tested the new version - working better than ever. only thing missing for me is that request of mine, which i added to request tracker .

edit: could the browse folder function be fixed to support va albums in a better way (not spam the browser with entries for each artist in the compilation)?
Title: Album Art Downloader
Post by: GollyJer on 2007-01-24 04:34:43
I must be crazy, because I can't figure out how to add a bug at SourceForge.
So here it is.
Search for artist "Big & Rich" and album "Horse Of A Different Color" and check the Amazon results.
Then search for "Big Rich" and album "Horse Of A Different Color"  and check the Amazon results.
The second search will return the correct result, the first will not.


P.S. - Thanks for picking this thing up!  The updates you've implemented are great.
Title: Album Art Downloader
Post by: velkrosmaak on 2007-02-04 19:00:50
How's that Wiki coming along?

Is there an installation guide or something that I've missed? I'm not sure I even understand 100% what this program does, though it does sound a lot like what I'm after.

Will this program automatically grab album art, or does it simply automate the finding and downloading of it? I've been trying to use the album art downloader separately from foobar, and haven't been able to get it fully to work, as I can't figure out how to actually assign the images once they're found.

any help would be greatly appreciated.
Title: Album Art Downloader
Post by: david_dl on 2007-02-04 20:15:33
I must be crazy, because I can't figure out how to add a bug at SourceForge.
So here it is.
Search for artist "Big & Rich" and album "Horse Of A Different Color" and check the Amazon results.
Then search for "Big Rich" and album "Horse Of A Different Color"  and check the Amazon results.
The second search will return the correct result, the first will not.


P.S. - Thanks for picking this thing up!  The updates you've implemented are great.


That's probably a problem with the URLEncode function. I'd suggest modifying utils.boo to manually replace & with %26 and ? with %3F.
Title: Album Art Downloader
Post by: MiSiL on 2007-02-05 06:51:02
I'm trying to get it to work, I've got the latest version of the program, and foo_run . I've added the commandline said to be working in this thread. But when I click to get some nice cover arts, the program starts but it wont fill in the artist / album title and neither the path it should be saved to. Don't know what I'm doing wrong :S

I've tried both:

"C:\Program\AlbumArtDownloader\AlbumArt.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)folder.jpg"

and:

"C:\Program\AlbumArtDownloader\AlbumArt.exe" "%album artist%" "%album%" "$replace(%path%,%filename_ext%,)Front.jpg"
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-05 11:30:03
How's that Wiki coming along?

Is there an installation guide or something that I've missed? I'm not sure I even understand 100% what this program does, though it does sound a lot like what I'm after.

Will this program automatically grab album art, or does it simply automate the finding and downloading of it? I've been trying to use the album art downloader separately from foobar, and haven't been able to get it fully to work, as I can't figure out how to actually assign the images once they're found.

any help would be greatly appreciated.

Wiki? Not well, to be honest. It's up, at album-art.sourceforge.net (http://album-art.sourceforge.net/index.php/Main_Page), but has pretty much no content. I wouldn't hold your breath.

Installation guide? Not so much. The first post of this thread has some guidance on how to use it, you might find what you are looking for there.

It does not do fully automatic album art grabbing, the usual usage is to have a foo_run command that launches the album art downloader, then you browse the resulting images and choose one to save as the album art for that album. An alternative usage is to run the album art downloader directly, and browse the foobar library albums or file folders using the built in browser, downloading art for those that don't have any yet.

To 'assign' images once they are found, you typically just save them in the same folder as the album music files with the name Folder.jpg. There are other schemes, some people prefer having a single folder with all the art for all their albums in, with the art filenames including the artist and album. It all depends on how you have configured foobar to show the album art.

That's probably a problem with the URLEncode function. I'd suggest modifying utils.boo to manually replace & with %26 and ? with %3F.

Good suggestion, it appears to do the job. The next release will have this fixed in it, until then, you can download a fixed util.boo (http://www.byalexv.co.uk/foobar/util.boo) and put it in your scripts folder.

I'm trying to get it to work, I've got the latest version of the program, and foo_run . I've added the commandline said to be working in this thread. But when I click to get some nice cover arts, the program starts but it wont fill in the artist / album title and neither the path it should be saved to. Don't know what I'm doing wrong :S

Check the first post in the thread. The command line should now be: albumart.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"
Title: Album Art Downloader
Post by: foo_peter on 2007-02-05 11:55:06
With me it bangs with following >

"E:\Programme\foobar2000\coverdownloader\AlbumArt.exe" -ar "%artist%" "%album artist%" -p "$replace(%path%,%filename_ext%,)%artist%.jpg"
Title: Album Art Downloader
Post by: yatahaze on 2007-02-12 05:01:15
I can't get it to open... all I get is the loading cursor for a second and nothing happens. I'm using the latest foo_run, the latest album art downloader, and vista 64bit. I can open the program fine via double clicking the exe, just not through foo_run. Any ideas?

The console says this:
Successful execution of "shell32.dll,ShellExec_RunDLL "C:\Program Files "

And this is my foo_run command:
"C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe" "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg"

Edit: I figured it out, that pretty much gave it away. It installs to "Program Files (x86)" in vista 64bit, and foo_run doesnt like the brackets. I moved it into another folder outside of that and it worked fine.
Title: Album Art Downloader
Post by: david_dl on 2007-02-12 10:25:33
It should run as a 64-bit process because it's 100% .NET? Of course this probably doesn't make any difference if its not an MSI package? (Haven't tried your installer)
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-12 16:29:03
It should run as a 64-bit process because it's 100% .NET? Of course this probably doesn't make any difference if its not an MSI package? (Haven't tried your installer)


I believe that as a .net application, it will be JIT compiled to 64 bit code on a 64 bit platform. I don't know what logic Vista uses for whether to install things into "Program Files (x86)" or not, perhaps the installer has to specifically ask for the 64 bit program files folder to install into if it wants it. The installer used is NSIS based, not MSI.

In any case, I don't think the problem is with the album downloader, or with 64 bit execution, but simply with parenthesis in the path. If you are using foo_run to run a path with parenthesis in it, then they need to be escaped.
Title: Album Art Downloader
Post by: djtoodles on 2007-02-12 22:32:50
There are other schemes, some people prefer having a single folder with all the art for all their albums in, with the art filenames including the artist and album. It all depends on how you have configured foobar to show the album art.

how do you do that? i wish i could just have 1 dir with all my album pics.
Title: Album Art Downloader
Post by: mobyduck on 2007-02-13 08:26:51

There are other schemes, some people prefer having a single folder with all the art for all their albums in, with the art filenames including the artist and album. It all depends on how you have configured foobar to show the album art.

how do you do that? i wish i could just have 1 dir with all my album pics.
One example source:

C:\My Music\covers\%artist%_%album%.*

HTH.

Alessandro
Title: Album Art Downloader
Post by: mobyduck on 2007-02-14 14:48:13
I'm trying the following string with foo_run:
Code: [Select]
"C:\Program Files\foobar2000\AlbumArtDownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "C:\My Music\covers\%artist%_%album%.jpg"
When I run a search, I see in task manager foobar and albumart eating up all my CPU cycles and albumart doesn't appear on the screen.

Works fine if I remove the path parameter: is my syntax invalid?

Alessandro
Title: Album Art Downloader
Post by: iStormy on 2007-02-16 02:12:38
[removed]
Title: Album Art Downloader
Post by: caiman on 2007-02-16 08:01:45
Thanks for this program, I use it constantly.

Two things it would be nice to see fixed:
  • Middle-clicking the existing art doesn't give the new window focus, like it does on new art.
  • It hangs up often waiting for threads before exiting.  I have to kill it with the task manager about every 15 runs.  Once it has saved the files I asked for, kill the remaining threads!
And a wishlist:
  • Put dimensions outside the picture instead of overlapping.
Thanks again.


I second that one. It seems that within time, doing a lot of searches, even if not "all at once", it eats a lot of cpu time (maybe memory leak, too many threads?) and it slows down my whole computer, especially my internet-connection. After killing it with the task-manager (Where it shows to use like 97% of CPU) everythings OK again on my computer. So i guess its the AlbumArtDownloader causing this.

Otherwise, that's the only flaw i see. And this thingie has saved me a lot of time.
It would be nice if you could find a solution.

Thanx in advance.

Edit: Syntax
Title: Album Art Downloader
Post by: carmenm on 2007-02-18 22:04:43
First been using this soft qll dqy long to find covers, just love it.
Yet there is one thing i would love to do with which is not currently that easy. I would like to find artist photos using this soft.
I see two choices:

If you have a collection sorted by artist/album, we could have a browser only by artist saving art in the artist directory . Yet this wouldnt work for compilation. Or we could save all artists art in one directory.

The other idea would be to use tags to browse that way anyone could use his collection.

Alexvallat: do you think it is possible?
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-19 08:11:00
There's already a script for FofR's artist image service included in v0.5: artists.trivialbeing.boo (http://www.byalexv.co.uk/foobar/artists.trivialbeing.boo).

There isn't any specific support for saving artist images with a different scheme to album images at present, although I suppose that might be something to consider for future versions.

Alex
Title: Album Art Downloader
Post by: carmenm on 2007-02-19 08:18:47
There's already a script for FofR's artist image service included in v0.5: artists.trivialbeing.boo (http://www.byalexv.co.uk/foobar/artists.trivialbeing.boo).

There isn't any specific support for saving artist images with a different scheme to album images at present, although I suppose that might be something to consider for future versions.

Alex


Yes i saw that script and that s i thought about it. I think finding a way to deal with artists art would be like the real bonus of album art downloader(even if it goes against its name  ).

Thanks for your work. Couldnt live without this little piece of software now
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-02-19 21:10:41
The programm doesn't start on my computer. It always says there is as problem
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-02-19 22:18:56
The programm doesn't start on my computer. It always says there is as problem

It says badimage exception
Title: Album Art Downloader
Post by: djtoodles on 2007-02-20 01:12:53
k so i have a question all my music is in d:\music\ but i store my album art to c:\album art  is there an easy way for me to get it to search the music in d:\music and have it save to c:\album art?
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-20 07:59:56

The programm doesn't start on my computer. It always says there is as problem

It says badimage exception


Do you have the .net (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) runtimes installed?
Title: Album Art Downloader
Post by: carmenm on 2007-02-20 14:15:37
AlexVallat:
Would it be possible to have proxy settings. Currently i cant use this at work. Thanks
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-02-20 17:17:29
Do you have the .net (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) runtimes installed?

Yes I have . Netframework 2 installed so I really don't understand what is the problem
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-20 18:24:11
AlexVallat:
Would it be possible to have proxy settings. Currently i cant use this at work. Thanks

It uses the system proxy settings. Go to Control Panel, Internet Options, Connections, Lan Settings, and fill in your proxy server settings. They will then be used by Album Art Downloader.

If you can't do that, or you need to set separate proxy settings for some reason, then open the AlbumArt.exe.config file in the Album Art Downloader program folder. Add to the end of it, just above the </configuration> end tag, this XML:
Code: [Select]
<system.net>
  <defaultProxy>
    <proxy proxyaddress="your proxy address" />
  </defaultProxy>
</system.net>

more details... (http://msdn2.microsoft.com/en-us/library/kd3cf2ex.aspx)

Incidentally, this method can be used with any .net application (and if you are really cunning, you can set it up as a machine or user-wide setting).

Alex

Do you have the .net (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) runtimes installed?
Yes I have . Netframework 2 installed so I really don't understand what is the problem

Then I don't know either, sorry. You could try uninstalling, re-downloading and reinstalling, in case something got corrupted somewhere along the line. Or you could try posting the exact error text, I'll google it and see if something turns up.
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-02-20 18:45:40
I am willing to do that but I got all the messages in german. I hope I will translate it right then 
But I try uninstalling and then installing
Title: Album Art Downloader
Post by: djtoodles on 2007-02-20 23:16:31
k so i have a question all my music is in d:\music\ but i store my album art to c:\album art  is there an easy way for me to get it to search the music in d:\music and have it save to c:\album art?

anyone have an answer for this?
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-22 08:51:45
k so i have a question all my music is in d:\music\ but i store my album art to c:\album art  is there an easy way for me to get it to search the music in d:\music and have it save to c:\album art?
anyone have an answer for this?

This is Marc's feature, he might have a better answer for you, although I know he is very busy with other matters at the moment.

As far as I can tell, the browser searches for a file with the Default Art Filename set in the options, in the same folder as the music file is found. This makes it unsuitable for your requirements, because the filename of the album art is not constructed from the ID3 tags of the music file, so there is no way to find it in another folder.

Alex
Title: Album Art Downloader
Post by: Marc Landis on 2007-02-22 09:01:34
k so i have a question all my music is in d:\music\ but i store my album art to c:\album art  is there an easy way for me to get it to search the music in d:\music and have it save to c:\album art?
anyone have an answer for this?

This is Marc's feature, he might have a better answer for you, although I know he is very busy with other matters at the moment.

As far as I can tell, the browser searches for a file with the Default Art Filename set in the options, in the same folder as the music file is found. This makes it unsuitable for your requirements, because the filename of the album art is not constructed from the ID3 tags of the music file, so there is no way to find it in another folder.

Alex


Hi,

As Alex just mentioned I am currently busy with my two new baby twin girls. 

Additionally my main computer is broken and I just have an old laptop. As soon as possible I will work on the tool again. I have a nice list of todos and ideas.

Marc
Title: Album Art Downloader
Post by: carmenm on 2007-02-22 09:13:59
AlexVallat:
Would it be possible to have proxy settings. Currently i cant use this at work. Thanks

It uses the system proxy settings. Go to Control Panel, Internet Options, Connections, Lan Settings, and fill in your proxy server settings. They will then be used by Album Art Downloader.

If you can't do that, or you need to set separate proxy settings for some reason, then open the AlbumArt.exe.config file in the Album Art Downloader program folder. Add to the end of it, just above the </configuration> end tag, this XML:
Code: [Select]
<system.net>
  <defaultProxy>
    <proxy proxyaddress="your proxy address" />
  </defaultProxy>
</system.net>

more details... (http://msdn2.microsoft.com/en-us/library/kd3cf2ex.aspx)

Incidentally, this method can be used with any .net application (and if you are really cunning, you can set it up as a machine or user-wide setting).



Just discovered a strange thing that might be the source of the problem, i dont have a config file. I looked in the program folder as in my application data folder. Nothing.
I have tried to change settings to force the creation, nothing. i have rights to create in this folder so dont really see why it isnt created... any idea?
Title: Album Art Downloader
Post by: Sphix on 2007-02-22 17:40:24
My run settings are:
Quote
"C:\Arquivos de programas\foobar2000\utilities\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"


But I still get the artist/album/path spaces blank :/
Title: Album Art Downloader
Post by: wraithdu on 2007-02-22 18:58:40
My run settings are:
Quote
"C:\Arquivos de programas\foobar2000\utilities\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"


But I still get the artist/album/path spaces blank :/

Check the first post for the current commandline switches for the newest version.
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-22 21:19:27
Just discovered a strange thing that might be the source of the problem, i dont have a config file. I looked in the program folder as in my application data folder. Nothing.
I have tried to change settings to force the creation, nothing. i have rights to create in this folder so dont really see why it isnt created... any idea?


Huh, OK, guess it must be sticking the config file in isolated storage then.

Nevermind, you can just create a plain text file with the name AlbumArt.exe.config in your album art program folder (next to the .exe), and put the text:
Code: [Select]
<configuration>
<system.net>
  <defaultProxy>
    <proxy proxyaddress="your proxy address" />
  </defaultProxy>
</system.net>
</configuration>

in it, and it should work fine.

If you want to find the per-user config file for whatever reason, it should live in:
\Documents and Settings\user name\Local Settings\Application Data\Marc_Landis,_Alex_Vallat\AlbumArt.exe_Url_random junk\version number\user.config

You could also add the <system.net> element to that, if you prefer.
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-02-22 22:44:01
So here is a translation of my "failure window":
Quote
Album Art downloader has recognised a problem and must be shut down.


Does someone knows an utility to copy the hole infomations because Copy and paste won't work
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-23 10:21:50
So here is a translation of my "failure window":
Quote
Album Art downloader has recognised a problem and must be shut down.
Does someone knows an utility to copy the hole infomations because Copy and paste won't work
How about using Alt+PrtScr to capture a screenshot of it?

You said you tried uninstalling and re-installing AlbumArt Downloader, did you use the latest 0.6 version to re-install?

Alex
Title: Album Art Downloader
Post by: djtoodles on 2007-02-25 22:47:22

k so i have a question all my music is in d:\music\ but i store my album art to c:\album art  is there an easy way for me to get it to search the music in d:\music and have it save to c:\album art?
anyone have an answer for this?

This is Marc's feature, he might have a better answer for you, although I know he is very busy with other matters at the moment.

As far as I can tell, the browser searches for a file with the Default Art Filename set in the options, in the same folder as the music file is found. This makes it unsuitable for your requirements, because the filename of the album art is not constructed from the ID3 tags of the music file, so there is no way to find it in another folder.

Alex


Hi,

As Alex just mentioned I am currently busy with my two new baby twin girls. 

Additionally my main computer is broken and I just have an old laptop. As soon as possible I will work on the tool again. I have a nice list of todos and ideas.

Marc

no worries understandable life comes before computer stuff:) even a simple thing that if it even saved in the directories the music is in if you can save it in a %artist% - %album% deal so then u can just goto windows search and search for *.jpg in the music section then just cut and paste all the covers to the directory they are all stored in.
Title: Album Art Downloader
Post by: phaedra on 2007-02-27 23:34:12
Hi Guys,

I'm new to Album Art Downloader, although I have been using its predecessor (Coverartdownloader) with REACT2. I've now managed to get this newer version working in REACT2 and have found it to be a big improvement  .  Anyway, I've got 2 questions:

1.) Is it possible to change the order in which the returned results are displayed? For example, how can I get the results from Amazon to show up before the results from GoogleImage?

2.) Is it possible to limit the results by image size? For example, how can I get the scripts to return images no smaller than 300x300 pixels?

Thanks in advance, 

- p
Title: Album Art Downloader
Post by: AlexVallat on 2007-02-28 08:33:22
Hi Phaedra,

To change the order the results are displayed, go to File, Settings, Script Manager, and use the Up and Down arrows to move the sources you want to use into the order you want to use them.

It is not currently possible to impose a size limit on the images, but I think this functionality will be added soon.

Alex
Title: Album Art Downloader
Post by: phaedra on 2007-02-28 16:35:07
Thanks Alex!    And thanks for your work on this Project! Now that it is possible to store album art in flac files I'll be using your tool a lot. 

- p
Title: Album Art Downloader
Post by: wraithdu on 2007-03-01 14:39:51
I've now managed to get this newer version working in REACT2 and have found it to be a big improvement  .

I've been wanting to do this as well, but thought it wasn't possible due to the way REACT2 was coded.  Can you explain how you got it to work?  Thanks!
Title: Album Art Downloader
Post by: phaedra on 2007-03-01 16:55:15

I've now managed to get this newer version working in REACT2 and have found it to be a big improvement  .

I've been wanting to do this as well, but thought it wasn't possible due to the way REACT2 was coded.  Can you explain how you got it to work?  Thanks!

Hi wraithdu, I already responded to your post on the REACT2 thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=50273&pid=475828&st=225&#entry475828). 

- p
Title: Album Art Downloader
Post by: Marc Landis on 2007-03-02 10:14:28
Version 0.6 alpha 2 is released.

See first post for details.

Marc
Title: Album Art Downloader
Post by: Tich on 2007-03-02 11:50:35
Thanks a lot for the new version! I simply love the save-toolbar which allows for saving front, back and other images really quick.
However there is one small bug report: When closing the settings TAGZ like %artist% and %album% used in the save-toolbar get updated with the strings in the respective fields. When opening the settings dialogue again instead of displaying %artist% and %album% the button-fields will show the current artist and album and upon closing settings will save them as such. This results in the next query, for a different album and artist to be saved with the wrong filename.

Also in combination with foo_run using the commandline
Code: [Select]
C:\<path to albumart.exe>\AlbumArt.exe -ar "%album artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)" -f "%artist% - %album% - Front.jpg"

I get the following error: Illegal Character in Save-Path
and upon clicking "continue" the Save-Path shows:
Code: [Select]
E:\MP3\Chumbawamba\1997 - Tubthumper" -f Chumbawamba

(everything after and including the " should be left out)

However when using the foo_run commandline
Code: [Select]
C:\<path to albumart.exe>\AlbumArt.exe -ar "%album artist%" -al "%album%"  -f "%artist% - %album% - Front.jpg" -p "$replace(%_path%,%_filename_ext%,)"

everything seems to work as expected.

Thanks a lot for continuing to improve my favourite Album-Art tool.
Title: Album Art Downloader
Post by: Marc Landis on 2007-03-02 13:01:22
Thanks a lot for the new version! I simply love the save-toolbar which allows for saving front, back and other images really quick.
However there is one small bug report: When closing the settings TAGZ like %artist% and %album% used in the save-toolbar get updated with the strings in the respective fields. When opening the settings dialogue again instead of displaying %artist% and %album% the button-fields will show the current artist and album and upon closing settings will save them as such. This results in the next query, for a different album and artist to be saved with the wrong filename.

This will be fixed in the next version.

Also in combination with foo_run using the commandline
Code: [Select]
C:\<path to albumart.exe>\AlbumArt.exe -ar "%album artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)" -f "%artist% - %album% - Front.jpg"

I get the following error: Illegal Character in Save-Path
and upon clicking "continue" the Save-Path shows:
Code: [Select]
E:\MP3\Chumbawamba\1997 - Tubthumper" -f Chumbawamba

(everything after and including the " should be left out)

However when using the foo_run commandline
Code: [Select]
C:\<path to albumart.exe>\AlbumArt.exe -ar "%album artist%" -al "%album%"  -f "%artist% - %album% - Front.jpg" -p "$replace(%_path%,%_filename_ext%,)"

everything seems to work as expected.

Thanks a lot for continuing to improve my favourite Album-Art tool.

After some debugging it seems that this is a bug in foo_run - I will contact the author to have him verify it. For now the best solution is to have the path parameter at the end of the commandline

Marc
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-03-02 14:55:48
bug report? dont know.
i use this call:
Code: [Select]
"C:\Program Files\___mp3\foobar2000\coverart\albumart.exe" -ae on -pf on -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"
and here is what new version is doing when i run it:[
a) if there is no folder.jpg file in directory it pops up window with "unexpected error" with error msg:
"Incorrect directory name.
."
(i dont have english .net i translete the meaning of msg)
and buttons "More", "Continue", "End"
b) if there is already folder.jpg file in directory it pops up window with "unexpected error" with error msg:
"Part of the path U:\mp3\!!!grab\Nomak- - Combine\folder.jpg wasn't found."

If i press End it end if i press Continue it open the main window but dont start any search and when i try to engage some search it just popsup the same msg again. when i press "More" it open window with some kind of crash report (but its also somehow translated) but if it will help by any means ill paste it here:

Code: [Select]
************** Text výjimky **************
System.IO.DirectoryNotFoundException: Část cesty U:\mp3\!!!grab\Nomak - Combine [2005]\folder.jpg nebyla nalezena.
  v System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  v System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
  v System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
  v AlbumArtDownloader.MainForm.RemoveThumbs()
  v AlbumArtDownloader.MainForm.SwitchToTask(Task task)
  v AlbumArtDownloader.MainForm.a_TaskAdded(Object o, TaskEventArgs e)
  v AlbumArtDownloader.ArtDownloader.AddTask(Task t)
  v AlbumArtDownloader.MainForm.buttonAddTask_Click(Object sender, EventArgs e)
  v AlbumArtDownloader.MainForm.ProcessArgs(String[] theargs, Boolean fromself)
  v AlbumArtDownloader.MainForm.MainForm_Load(Object sender, EventArgs e)
  v System.Windows.Forms.Form.OnLoad(EventArgs e)
  v System.Windows.Forms.Form.OnCreateControl()
  v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  v System.Windows.Forms.Control.CreateControl()
  v System.Windows.Forms.Control.WmShowWindow(Message& m)
  v System.Windows.Forms.Control.WndProc(Message& m)
  v System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  v System.Windows.Forms.ContainerControl.WndProc(Message& m)
  v System.Windows.Forms.Form.WmShowWindow(Message& m)
  v System.Windows.Forms.Form.WndProc(Message& m)
  v AlbumArtDownloader.MainForm.WndProc(Message& m)
  v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Načtená sestavení **************
mscorlib
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AlbumArt
    Verze sestavení: 0.6.0.0
    Verze Win32: 0.6.0.0
    Základ kódu: file:///C:/Program%20Files/___mp3/foobar2000/coverart/albumart.exe
----------------------------------------
System.Windows.Forms
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Windows.Forms.resources
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_cs_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
scriptcache
    Verze sestavení: 0.0.0.0
    Verze Win32:
    Základ kódu: file:///C:/Program%20Files/___mp3/foobar2000/coverart/scripts/scriptcache.dll
----------------------------------------
System.Drawing.resources
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_cs_b03f5f7f11d50a3a/System.Drawing.resources.dll
----------------------------------------
mscorlib.resources
    Verze sestavení: 2.0.0.0
    Verze Win32: 2.0.50727.42 (RTM.050727-4200)
    Základ kódu: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------

edit: i've just found found post on first page of this topic with simillar problem but switching "show existing art" or "show pictures in folder" didnt help...
Title: Album Art Downloader
Post by: Marc Landis on 2007-03-02 15:06:43
bug report? dont know.
i use this call:
Code: [Select]
"C:\Program Files\___mp3\foobar2000\coverart\albumart.exe" -ae on -pf on -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"

Please check your commandline - It has changed in 0.6 Alpha 2

Code: [Select]
Syntax:
albumart.exe [-ae on|off] [-pf on|off] [-ar "Artist"] [-al "Album"] [-f "Filename"] [-p "Path"]

Options:
-ae on|off     Show already existing Album Art
-pf on|off     Show pictures in folder
-ar "Artist"   Artist to search
-al "Album"    Album to search
-p "Path"      Path to save image
-f "Filename"      Filename to use


Marc
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-03-02 15:12:53
Please check your commandline - It has changed in 0.6 Alpha 2

Code: [Select]
Syntax:
albumart.exe [-ae on|off] [-pf on|off] [-ar "Artist"] [-al "Album"] [-f "Filename"] [-p "Path"]

Options:
-ae on|off     Show already existing Album Art
-pf on|off     Show pictures in folder
-ar "Artist"   Artist to search
-al "Album"    Album to search
-p "Path"      Path to save image
-f "Filename"      Filename to use


Marc


oh stupid me... sry didnt see that difference  thx ill try it right now

edit: works like a charm... obviously... really thanks
Title: Album Art Downloader
Post by: Marc Landis on 2007-03-02 15:15:19
of stupid me... sry didnt see that difference  thx ill try it right now


NP - well the error handling isn't good at all - I am going to work on this too.
Title: Album Art Downloader
Post by: FofR on 2007-03-02 18:33:27
Nice art downloader, I like the inclusion of the artists.trivialbeing.org script

I am having some problems using this with foo_run.

My command is:
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -f "folder.jpg" -p "$replace(%_path%,%_filename_ext%,)\"


It loads up correctly, finds the album art, then when I try to save it says "Could not find a part of the path ..."

For example, For LCD Soundsystem, the Save To dialog shows "K:\Music\Permanent\L\LCD Soundsystem\" which IS the folder storing the files. So the path is correct it seems. My  K drive is an external drive, could that be an issue?

So I changed the command to this (removed trailing slash):
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -f "folder.jpg" -p "$replace(%_path%,%_filename_ext%,)"


This gives the error: "Access to the path ... is denied"

Also, adding "-pf off" does not turn off the preview of art in the folder.
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-03-02 23:31:46
Nice art downloader, I like the inclusion of the artists.trivialbeing.org script


its one of the best thing around this software .)

...
This gives the error: "Access to the path ... is denied"

Also, adding "-pf off" does not turn off the preview of art in the folder...


i have similiar issue. the filename parametr didnt seemed to be parsed in default "save to" textbox. i find my way around this with saveto toolbar. ive made two new "folder.jpg" and "%artist%.jpg" presets and these seems to work perfectly... just default way choose->dblclick->close (imho the fastest one) seems to be somehow borken or im doing something wrong

(in -p paramter i dont add \ and with using saveto toolbar it works)
Title: Album Art Downloader
Post by: FofR on 2007-03-06 21:57:58
Even the save-to toolbar isn't working.
Title: Album Art Downloader
Post by: carmenm on 2007-03-07 08:51:41
Even the save-to toolbar isn't working.

What cartman said worked for me. The only problem is that when you choose an art and click your preset in the save toolbar, you have no feedback of it the file was saved. Be careful not to put the \ in the -p parameter. Myself i see if it is done through a Track display with album art in per second section
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-03-10 09:50:37
So as I promised here the message which always appears:
[a href="http://img297.imageshack.us/my.php?image=seriousproblemwz5.jpg" target="_blank"]

I used the processanalyser to look what requirements albumart.exe has:
Quote
Process: AlbumArt.exe Pid: 4320

Name   Description   Company Name   Version
RocketDock.dll         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
unicode.nls         
locale.nls         
sortkey.nls         
sorttbls.nls         
ctype.nls         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
l_intl.nls         
<Pagefile Backed>         
<Pagefile Backed>         
sorttbls.nlp         
sortkey.nlp         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
<Pagefile Backed>         
System.ni.dll   .NET Framework   Microsoft Corporation   2.00.50727.0042
System.Drawing.ni.dll   .NET Framework   Microsoft Corporation   2.00.50727.0042
System.Windows.Forms.ni.dll   .NET Framework   Microsoft Corporation   2.00.50727.0042
AlbumArt.exe   Album Art Downloader   Marc Landis, Alex Vallat   0.05.0000.0000
shell32.dll   Allgemeine Windows-Shell-DLL   Microsoft Corporation   6.00.2900.3051
apphelp.dll   Application Compatibility Client Library   Microsoft Corporation   5.01.2600.2180
kernel32.dll   Client-DLL für Windows NT-Basis-API   Microsoft Corporation   5.01.2600.2945
user32.dll   Client-DLL für Windows XP USER-API   Microsoft Corporation   5.01.2600.2622
comctl32.dll   Common Controls Library   Microsoft Corporation   5.82.2900.2982
ntdll.dll   DLL für NT-Layer   Microsoft Corporation   5.01.2600.2180
advapi32.dll   Erweitertes Windows 32 Base-API   Microsoft Corporation   5.01.2600.2180
gdi32.dll   GDI Client DLL   Microsoft Corporation   5.01.2600.2818
lpk.dll   Language Pack   Microsoft Corporation   5.01.2600.2180
mscorwks.dll   Microsoft .NET Runtime Common Language Runtime - WorkStation   Microsoft Corporation   2.00.50727.0042
mscoree.dll   Microsoft .NET Runtime Execution Engine   Microsoft Corporation   2.00.50727.0042
mscorjit.dll   Microsoft .NET Runtime Just-In-Time Compiler   Microsoft Corporation   2.00.50727.0042
mscorrc.dll   Microsoft .NET-Laufzeitresssourcen   Microsoft Corporation   2.00.50727.0042
mscorlib.ni.dll   Microsoft Common Language Runtime Class Library   Microsoft Corporation   2.00.50727.0042
mscorlib.resources.dll   Microsoft Common Language Runtime-Klassenbibliothek   Microsoft Corporation   2.00.50727.0042
rsaenh.dll   Microsoft Enhanced Cryptographic Provider   Microsoft Corporation   5.01.2600.2161
ole32.dll   Microsoft OLE für Windows   Microsoft Corporation   5.01.2600.2726
uxtheme.dll   Microsoft UxTheme Library   Microsoft Corporation   6.00.2900.2055
msvcr80.dll   Microsoft® C Runtime Library   Microsoft Corporation   8.00.50727.0042
rpcrt4.dll   Remote Procedure Call Runtime   Microsoft Corporation   5.01.2600.2180
xpsp2res.dll   Service Pack 2-Meldungen   Microsoft Corporation   5.01.2600.2180
shfolder.dll   Shell Folder Service   Microsoft Corporation   6.00.2900.2180
shlwapi.dll   Shell Light-weight Utility Library   Microsoft Corporation   6.00.2900.3059
System.Configuration.ni.dll   System.Configuration.dll   Microsoft Corporation   2.00.50727.0042
usp10.dll   Uniscribe Unicode script processor   Microsoft Corporation   1.420.2600.2180
comctl32.dll   User Experience Controls Library   Microsoft Corporation   6.00.2900.2982
version.dll   Version Checking and File Installation Libraries   Microsoft Corporation   5.01.2600.2180
msvcrt.dll   Windows NT CRT DLL   Microsoft Corporation   7.00.2600.2180
imm32.dll   Windows XP IMM32 API Client DLL   Microsoft Corporation   5.01.2600.2180
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-10 10:00:53
So as I promised here the message which always appears:

Hopefully you find this useful.
I have heard that I you have network 2 and 1 installed at the same time this couild make problems but I don't really know.

Would be nice if someone could help me. 


There should be no problems with having .net 1 and 2 installed at the same time. I have 1, 2 and 3 all installed myself!

If you haven't tried it already, please try deleting the file scriptcache.dll from your scripts folder, and running Album Art Downloader again.

Alex
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-03-10 10:08:25
There isn't a file called scriptcache.dll 
There are only .boo files in there. I have installed Album Art Downloader 0.5

As I said the programm doesn't run because everytime I want to use it this message appears.
Title: Album Art Downloader
Post by: Tich on 2007-03-10 11:04:25
I have installed Album Art Downloader 0.5

You should probably update to the latest (http://sourceforge.net/project/showfiles.php?group_id=187008&package_id=218162&release_id=487827) version then. As this project is still in alpha/beta stage bugs get fixed with every release and providing support for outdated version is probably not going to happen.
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-03-10 11:22:18
Yes I did this already but still the same behaviour which is really anoying the the programm won't work on my PC 
-.net 2 ist installed
Must I have some other files?
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-10 12:59:12
Yes I did this already but still the same behaviour which is really anoying the the programm won't work on my PC 
-.net 2 ist installed
Must I have some other files?


Are you running 64 bit windows? Try deleting "Interop.Foobar2000.dll" and "Interop.Foobar2000Helper.dll". You won't be able to browse the Foobar library, though.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-10 17:29:00
Question - is there an ETA on a new release that fixes the -f problem we're experiencing?

Request - can you include an option (probably would have to be in an .ini file, not a commandline switch) that would allow us to use the original commandline switches so we can have backward compatibility with REACT2?  Right now we can't use it with the newest versions.
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-10 17:50:51
I've been working on a new version for several weeks now. It has ended up being a complete rewrite though, I'm afraid. It does maintain backwards compatibility for scripts, and for command lines (including the "artist" "album" "path" parameters CoverDownloader used). It also features a substitution-based save path, so you can have something like "c:\album art\%artist%\%album%\%source% (%size%).%extension%" and it would end up saving "c:\album art\muse\absolution\amazon (400x400).jpg" or whatever.

Unfortunately, as it is a rewrite, there is certain functionality that has not (yet) made it in there, most notably the foobar and file browsers, and re-ordering sources.

I've only just started talking to Marc about it, so I don't know how it's going to play out yet, but in any case I'll put up a preview of it here in the next few days.

Alex
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-03-10 19:07:25
Are you running 64 bit windows?

NO

Quote
Try deleting "Interop.Foobar2000.dll" and "Interop.Foobar2000Helper.dll". You won't be able to browse the Foobar library, though.


Must I install the folder in the Foobar directory  ???
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-10 19:10:10

Are you running 64 bit windows?

NO

Quote
Try deleting "Interop.Foobar2000.dll" and "Interop.Foobar2000Helper.dll". You won't be able to browse the Foobar library, though.


Must I install the folder in the Foobar directory  ???


No, it should not be installed in the foobar directory. Those two dll files are in the Album Art Downloader program folder. If you aren't running on 64 bit windows then it probably isn't them that are causing the problem though. I'm kinda running out of ideas here, I'm afraid.

Alex
Title: Album Art Downloader
Post by: boondie on 2007-03-11 04:13:11
Ok maybe I'm being a noob here but how do I save the actual art image without manually specifying the directory. In the output field it comes up with the right folder to save it into but I can't figure it out how to save it there. If I double click on the cover I want it brings up a Save To.. dialog. Help would be appreciated. Runs perfectly apart from this
Title: Album Art Downloader
Post by: Spirit_of_the_ocean on 2007-03-11 12:50:17
I'm kinda running out of ideas here, I'm afraid.

Alex

Idea: There are some tools showing the exact used requirements like Fileanalyzer oder Process explorer.

Maybe If I have a list auf .dlls which must be installed then I could check if everything I need is there and maybe replace some .dll

Isn't it possible top have a tool which makes an error log?
Maybe then it would be easier ti find out where the problem lies.

So now:problems solved
It seems the .net has been somehow damaged. I reinstalled it because paint.net doesn't wanted to work and then I tried Album art downloader.

So I don't know how .net was damaged but now I know what went wrong.
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-03-11 18:10:41
Ok maybe I'm being a noob here but how do I save the actual art image without manually specifying the directory. In the output field it comes up with the right folder to save it into but I can't figure it out how to save it there. If I double click on the cover I want it brings up a Save To.. dialog. Help would be appreciated. Runs perfectly apart from this


this is something i was trying to speak of here:

Quote
i have similiar issue. the filename parametr didnt seemed to be parsed in default "save to" textbox. i find my way around this with saveto toolbar. ive made two new "folder.jpg" and "%artist%.jpg" presets and these seems to work perfectly... just default way choose->dblclick->close (imho the fastest one) seems to be somehow borken or im doing something wrong


i solved it out with "save toolbar" just select image you want to save and click coresponding save preset on "save toolbar"... this works fine for me but i have to somehow change the way i use this software (dont mind it really)
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-12 18:08:34
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.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-12 19:25:29
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
Title: Album Art Downloader
Post by: aharden on 2007-03-12 19:46:43
The XUI version is working nicely with my first few queries/saves.  Thanks a bunch!
Title: Album Art Downloader
Post by: wraithdu on 2007-03-13 01:32:32
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.
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-13 08:29:25
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?
Title: Album Art Downloader
Post by: wraithdu on 2007-03-13 14:21:14
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!
Title: Album Art Downloader
Post by: jclim00 on 2007-03-15 18:04:48
Really wonderful program, thank you for maintaining it
Title: Album Art Downloader
Post by: wraithdu on 2007-03-16 13:03:14
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!
Title: Album Art Downloader
Post by: drbeachboy on 2007-03-16 13:32:01
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!
Title: Album Art Downloader
Post by: wraithdu on 2007-03-16 15:07:29
@ 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
Title: Album Art Downloader
Post by: drbeachboy on 2007-03-16 16:03:25
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.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-16 16:19:19
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.
Title: Album Art Downloader
Post by: drbeachboy on 2007-03-16 16:56:42
I'll be sure to do just that later this evening. Thanks for the info.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-16 17:22:36
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.
Title: Album Art Downloader
Post by: drbeachboy on 2007-03-16 18:04:28
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.
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-16 21:13:51
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.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-17 04:59:38
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
Title: Album Art Downloader
Post by: tommypeters on 2007-03-20 14:40:57
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.
Title: Album Art Downloader
Post by: Weedy on 2007-03-20 23:11:42
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%"
Title: Album Art Downloader
Post by: Chaser on 2007-03-25 13:46:29
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)
Title: Album Art Downloader
Post by: wraithdu on 2007-03-25 16:28:27
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')"
Title: Album Art Downloader
Post by: Ignite339 on 2007-03-26 05:57:14
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.
Title: Album Art Downloader
Post by: wraithdu on 2007-03-27 04:46:05
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.
Title: Album Art Downloader
Post by: Chaser on 2007-03-27 14:44:15
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?!
Title: Album Art Downloader
Post by: Purple Monkey on 2007-03-27 15:07:53
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.
Title: Album Art Downloader
Post by: Chaser on 2007-03-27 15:25:11
Indeed. I meanwhile figured this out myself.
Thanks!
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-27 17:31:06
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.

Oops, my bad.

Well, Microsoft's, technically (why should reading a file into a bitmap keep the file locked?), but anyway, I've fixed it for the next release.

Thanks for pointing it out!

Alex
Title: Album Art Downloader
Post by: s.newave on 2007-03-29 06:46:50
Hi first off great program really loving it. Im having a tough time figuring out how to use it effectively though. Is there any manual or docs I can look at?

The two questions I have are how do I automatically (or by clicking a button) save an image to the folder specified in the "Save To:" textfield in the output section. If I hit Save As it launches a dialog which I then have to browse through to reach the correct folder. Is there no way to automatically click a button and have it save to that folder?

The second question is regarding the "Save Toolbar" tab in the settings. How exactly do you use that? I think I saw someone mention you can create buttons which will save the selected image as the front cover, back, CD etc... It would really be great to be able to use these features.

thanks
Title: Album Art Downloader
Post by: Chaser on 2007-03-29 08:19:30
Concerning your first question: Try a double-click, or right-click -> "save"
Title: Album Art Downloader
Post by: pirlouy on 2007-03-29 17:48:05
When I click on image to download preview, it often freezes, I have to kill process...
Is it a known bug (fixed in next build) ? (I use the latest version)
Title: Album Art Downloader
Post by: AlexVallat on 2007-03-31 19:34:51
AlbumArt Downloader XUI v0.2 Preview Released

Thanks for the many comments and suggestions I received following the preview release of AlbumArt Downloader XUI (I'm looking at you here, wraithdu!).

Here is a second release, which has the following changes made to it:Things notably not in this release:Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: dub_doctor on 2007-04-01 03:30:25
AlbumArt Downloader XUI v0.2 Preview Released

Thanks for the many comments and suggestions I received following the preview release of AlbumArt Downloader XUI (I'm looking at you here, wraithdu!).


Looks great, and works pretty well! I am very impressed.

There are a few minor issues on my system (Athlon 64 x2 4400+ with 2Gb ram). It does tend to hang unless you let it finish searching all the sources before you try to do anything else. The "stop all" button also takes a bit of time to kick in, freezing the program for a while in the process. If you wait a bit it comes back, but you need a bit of patience.

It would be nice to be able to just search for a particular source, and then add a new source to the search without the program doing the entire search all over again. eg. do the initial search without GoogleImage (since that can take quite a while), then choose to add GoogleImage to the search if you need more results.

Something like the "Save Toolbar" from the previous version would also be useful, so that you can eg. save cover_front.jpg, cover_back.jpg, artist.jpg, cd.jpg or whatever custom pics you like without having to enter it manually every time.
Title: Album Art Downloader
Post by: wraithdu on 2007-04-01 05:50:35
Nice job!  All the new features are great and work wonderfully.

However...as much as I love your program, I HATE .NET 3!!!!  This framework runs like molases on all my computers, crashes frequently, and uses more RAM than any program has a right to (hundreds of megs, at least).  Microsoft needs to address these resource issues ASAP, cause it SUCKS!
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-01 08:25:55
When I click on image to download preview, it often freezes, I have to kill process...
Is it a known bug (fixed in next build) ? (I use the latest version)
This is not a known bug, and I couldn't reproduce it. Please try the new version 0.2 I just published, and see if it helps.

The "stop all" button also takes a bit of time to kick in, freezing the program for a while in the process. If you wait a bit it comes back, but you need a bit of patience.
When stopping, it does generally need to complete the result it is currently adding before stopping a source. When using Stop All, there can be a lot of sources to wait for, but it still shouldn't freeze the program while it is waiting. I'll see if I can do anything about that.

It would be nice to be able to just search for a particular source, and then add a new source to the search without the program doing the entire search all over again. eg. do the initial search without GoogleImage (since that can take quite a while), then choose to add GoogleImage to the search if you need more results.
Interesting. I like the idea, so if I can think of a good way of doing it, I might put that in.

Something like the "Save Toolbar" from the previous version would also be useful, so that you can eg. save cover_front.jpg, cover_back.jpg, artist.jpg, cd.jpg or whatever custom pics you like without having to enter it manually every time.
The "Save Images To" box has a drop down history list, so if you have used that to define a pattern including _front or _back or whatever previously, you can just pick it from the list. The filename to save to will update in the results panels to reflect the change.

Nice job!  All the new features are great and work wonderfully.

However...as much as I love your program, I HATE .NET 3!!!!  This framework runs like molases on all my computers, crashes frequently, and uses more RAM than any program has a right to (hundreds of megs, at least).  Microsoft needs to address these resource issues ASAP, cause it SUCKS!
I can't argue with the runs like molasses. The thing is big and fat and slow. When I started working with it, I was hoping that WPF performance would be improved by release, but apparently not.

I wouldn't worry about the RAM, though, the way .net works (due to the garbage collection system) is to gobble up as much RAM as it can to improve performance, but if the system starts to run out and other things require it, it will release as much as it needs to.

I haven't noticed frequent crashes with it at all, though - that might indicate some problem that could be fixed, if you wanted to put in the time and effort.

Other than that, I can only apologise, but a large part of the reason for doing this rewrite was to gain experience in writing software in WPF which, for better or worse, is likely to become something I will need to know.
Title: Album Art Downloader
Post by: wraithdu on 2007-04-01 15:11:36
No need to apologize, it's Microsoft that has to fix it's framework, not you.

I had just assumed that it was .NET crashing, since when it would happen the harddrive would just be clicking away and RAM consumption would keep going up until I killed the process.  Even then it would take up to a minute for everything to settle down.

In case it's something in AlbumArt, it happened twice to me last night, both times (and I think this is important) while the search was still actively running for at least one source -
1.  after trying to change 'Sort by:'
2.  after trying to change 'Maximum' px value

Probably changing 'Minimum' px value would do it as well.  If I changed either of these after stopping the search, all was ok.

Actually, after playing with this for another second, it seems to do better on resources than version 0.1.  It plays nice as along as I let it complete the search before trying to do anything else
Title: Album Art Downloader
Post by: pirlouy on 2007-04-02 22:39:49
When I click on image to download preview, it often freezes, I have to kill process...
Is it a known bug (fixed in next build) ? (I use the latest version)
This is not a known bug, and I couldn't reproduce it. Please try the new version 0.2 I just published, and see if it helps.

The same as before.
I'm using XP SP2, framework 3.0. Maybe it's because all operations (downloads) are not finished. For me, it's very easy to reproduce. I launch a search, and I click (and stay clicked) on an image, if it does not freeze, I just have to click on another. In general, I need between 1 and 5 times to freeze AAD.

I'm not sure if image is downloaded before to freeze. Maybe it's linked to automotic sort (I sort by size).
Title: Album Art Downloader
Post by: iElectric on 2007-04-02 23:26:05
The program is indeed unstable.

I noticed one problem though. If the album name includes ", it doesn't work.
Title: Album Art Downloader
Post by: Ran Sagy on 2007-04-03 23:57:22
Looks interesting enough to try (And there's a shortage of decent apps to grab album art NOT for iTunes or embedded in the file), I'll post if i come across any issues.

EDIT: Ok, the new version is much improved over the previous one (god save the %placeholders%), But i still miss one feature from the only other app i ever used - I need to point it to a folder, Have it find my albums, And I'll be able to search art for each album i got (better yet, detect which ones dont - no filename matching the given pattern in the save path in the current album folder).
Title: Album Art Downloader
Post by: dave_in_gva on 2007-04-05 11:31:54
This looks like a great program. 

I would appreciate some advice about the best way to use this. I plan on ripping my music collection to FLAC and playing back over foobar using Cepi Perez's Dark Config (which links to this as one of the needed components).

I've read through this entire thread now and have a couple of questions:

Sorry for the length and hope these aren't too basic questions. I've not downloaded/installed FLAC or Foobar yet and haven't started ripping my collection. Just trying to get all these issues sorted before diving in to the big project and don't want to have any nasty surprises. 

Best,

Dave M
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-05 11:51:35
I'm not sure about the advantages of keeping the art separate from the music, I suspect this will come down to a matter of personal preference. I can, however, answer your question 2.

The XUI version of Album Art Downloader does not yet support the File Browser functionality, which would do the job of looking at files and determining album and artist from them, then checking if there was already art available, and giving the option to download them if required. It's always been on the list of things to do, but I've been working on getting the basic art searching and downloading working properly first. As you can see from some of the above comments, I still have some work to do improving this.

I will hopefully eventually get round to working on File Browser functionality, (or perhaps someone else might like to have a go! Open Source (https://sourceforge.net/svn/?group_id=187008), after all...). When it does go in, it will be able to identify art for the album and artist using the same pattern as is used to save art at present, using placeholders. So, if you can get the current version to save your art where it is supposed to go automatically (using whatever scheme you prefer), then the file browser should be able to identify art stored using that scheme.

If you need file browser functionality now, then I believe the non-XUI version (at the top of the thread) provides this.

Alex
Title: Album Art Downloader
Post by: dave_in_gva on 2007-04-05 12:05:44
The XUI version of Album Art Downloader does not yet support the File Browser functionality, which would do the job of looking at files and determining album and artist from them, then checking if there was already art available, and giving the option to download them if required. It's always been on the list of things to do, but I've been working on getting the basic art searching and downloading working properly first.
Alex


Thanks for the quick reply Alex. Not a programmer so sorry I can't help out.

One additional query/remark though. Assuming you (with or without some help) do get to integrating File Browser will it be able to tell album and artist for FLAC files? I ask because in my continuing learning curve I've read up on FLAC and found that it does not support ID3 tags but rather uses Vorbis comments.

I hope that the widespread use of FLAC means it's own tags are readable/utilizable by programs such as this one but thanks to confirm. And sorry again if I've got this all wrong. 

Best,

Dave M
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-05 15:32:39
I assume I will use the same tag-reading library as in the non XUI version (called ATL), which I've just had a look at and can confirm does support reading FLAC files, and Vorbis comments. From the look of it, it seems that FLAC supports ID3v2, but basically I will just be throwing the file at the tag reading library, and using whatever it comes up with.

Of course, if anyone knows of a better tag-reading library that can be used from C#, as I haven't started development on this feature yet, I'd be open to suggestions.

Alex
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-09 10:34:20
AlbumArt Downloader XUI v0.3 Preview Released

Thanks for the further support I've received for this project. Following bug reports and further suggestions, here is a third release. I'm hoping this will be the last release of the searching functionality, bringing it to a stable, polished state before I start work on porting the browser functionality.

This release has the following changes made to it:Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: lyte on 2007-04-09 18:37:35
quick question

would this work (stuff in bold)?

-ar "Artist" -al "Album" -f "Artist - Album"

I want my filenames to follow the input that I search for in the program
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-09 20:10:06
quick question

would this work (stuff in bold)?

-ar "Artist" -al "Album" -f "Artist - Album"

I want my filenames to follow the input that I search for in the program

-f doesn't work without -p provided too. In fact, you don't need -f, you can just use -p.

You should specify the rest of the path of where you want the images to be saved too, though, as "Artist - Album" is not a valid path. Something like "C:\AlbumArt\Artist - Album" might be what you are after? Also, it might be better to use placeholders for the artist and album, so that they get automatically replaced if you search for different artists and albums: "C:\AlbumArt\%artist% - %album%"

You probably want a file extension on the filename too. You could use Artist - Album.jpg, but in case the found art isn't a jpeg, you can use %extension% to automatically use the right one. This leaves us with:

-ar "Artist" -al "Album" -p "C:\AlbumArt\%artist% - %album%.%extension%"
Title: Album Art Downloader
Post by: lyte on 2007-04-09 21:50:06
quick question

would this work (stuff in bold)?

-ar "Artist" -al "Album" -f "Artist - Album"

I want my filenames to follow the input that I search for in the program

-f doesn't work without -p provided too. In fact, you don't need -f, you can just use -p.

You should specify the rest of the path of where you want the images to be saved too, though, as "Artist - Album" is not a valid path. Something like "C:\AlbumArt\Artist - Album" might be what you are after? Also, it might be better to use placeholders for the artist and album, so that they get automatically replaced if you search for different artists and albums: "C:\AlbumArt\%artist% - %album%"

You probably want a file extension on the filename too. You could use Artist - Album.jpg, but in case the found art isn't a jpeg, you can use %extension% to automatically use the right one. This leaves us with:

-ar "Artist" -al "Album" -p "C:\AlbumArt\%artist% - %album%.%extension%"


thanks Alex


it keeps freezing up on me, eating all my resources. no matter what ~~


[update]

I noticed that the list of resources the program uses to obtain cover art was somehow duplicated. This program works wonders with only a few resources selected, whereas having all of them applied causes the program to consume almost all of my resources ~~
Title: Album Art Downloader
Post by: gsa999 on 2007-04-10 16:28:13
I am using albumart downloader with REACT2. I already have a lot of album art stored on my hard disk (but not all). Is there a way to browse the albumart on the hard disk and use that with REACT2 (they are often better quality versions than those on the net).

Rgds
G
Title: Album Art Downloader
Post by: Brasse on 2007-04-11 08:44:40
First, gotta say i love this application  thanks a milion!!

I use the new XUI 0.3 and i have two questions.
1, is it possible to change the priority/order of the search plugins in the right list?
2, the local files search plugin does only return match when there is a file with the same filename as in the -path or -file variable, is it possible to make that plugin show all image file in the target-directory?
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-11 10:23:13
This program works wonders with only a few resources selected, whereas having all of them applied causes the program to consume almost all of my resources ~~
Personally I use it with only one, or maybe two sources selected. I like Coveralia for large images, or Amazon if I want smaller ones. If you don't find anything good, you can always select an additional source and press Search again, it will only query the newly selected source if you haven't changed the artist/album being searched for. Unfortunately WPF is very resource-heavy, I know. The 0.3 version should freeze less, hopefully.

I am using albumart downloader with REACT2. I already have a lot of album art stored on my hard disk (but not all). Is there a way to browse the albumart on the hard disk and use that with REACT2 (they are often better quality versions than those on the net).
I'm sorry, I don't really know REACT2, so I'm not sure what you are trying to achieve. As far as this app is concerned, if you have the art on your hard disk, the job is already done! If you are looking for something to help you organize images that are stored in an unstructured way, then I don't think this is the app you are looking for, sorry.

First, gotta say i love this application  thanks a milion!!
Thanks, it's always nice to know when my work is appreciated.
1, is it possible to change the priority/order of the search plugins in the right list?
Not yet, but I want to eventually add the ability to drag them up and down to reorder them in the list. This will change the sort order of the results when sorting by source (at the moment it is alphabetical), but won't have much other effect. Sources are searched simultaneously, there is no priority system.
2, the local files search plugin does only return match when there is a file with the same filename as in the -path or -file variable, is it possible to make that plugin show all image file in the target-directory?
The idea is that the path to save the images to contains placeholders for the album and artist name, so if you have an image for that album and artist, it will show up. If more than one image matches, then all of them will show up. Other placeholders are treated as wildcards. So, if your target directory is c:\albumart\%artist%\%album%\%source%.jpg then all .jpg files in that folder will show up. I suppose if you really wanted all images regardless of whether they were for the right album and artist, you could cheat and use a path like c:\albumart\unsorted\*.*, that would return all images.
Title: Album Art Downloader
Post by: Brasse on 2007-04-11 12:52:32
2, the local files search plugin does only return match when there is a file with the same filename as in the -path or -file variable, is it possible to make that plugin show all image file in the target-directory?
The idea is that the path to save the images to contains placeholders for the album and artist name, so if you have an image for that album and artist, it will show up. If more than one image matches, then all of them will show up. Other placeholders are treated as wildcards. So, if your target directory is c:\albumart\%artist%\%album%\%source%.jpg then all .jpg files in that folder will show up. I suppose if you really wanted all images regardless of whether they were for the right album and artist, you could cheat and use a path like c:\albumart\unsorted\*.*, that would return all images.


"C:\Program\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)00-$lower(%directoryname%)-front.jpg" /autoclose

is the current command-line i use with "Run services"-plugin, it only shows a local source image if its a perfect match, how could i change the command-line to show all images in the albums directory?
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-11 13:16:33
"C:\Program\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)00-$lower(%directoryname%)-front.jpg" /autoclose

is the current command-line i use with "Run services"-plugin, it only shows a local source image if its a perfect match, how could i change the command-line to show all images in the albums directory?


-p "$replace(%_path%,%_filename_ext%,)*.jpg" would show all the .jpg images in the same folder as the currently playing file, I think. Of course you would then lose the automatic naming scheme that you've set up for saving to, so it probably isn't worth it.

I think the problem here is that you want to use this app to organise your existing files into a better structure, and that's not really what it was designed for. For the next version, I'll look into adding another setting so that you can define a pattern to search for local files independently of the pattern used to save files to, that will probably do what you need.

Alex
Title: Album Art Downloader
Post by: Brasse on 2007-04-11 13:35:34
"C:\Program\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)00-$lower(%directoryname%)-front.jpg" /autoclose

is the current command-line i use with "Run services"-plugin, it only shows a local source image if its a perfect match, how could i change the command-line to show all images in the albums directory?


-p "$replace(%_path%,%_filename_ext%,)*.jpg" would show all the .jpg images in the same folder as the currently playing file, I think. Of course you would then lose the automatic naming scheme that you've set up for saving to, so it probably isn't worth it.

I think the problem here is that you want to use this app to organise your existing files into a better structure, and that's not really what it was designed for. For the next version, I'll look into adding another setting so that you can define a pattern to search for local files independently of the pattern used to save files to, that will probably do what you need.

Alex



ok sounds good!
The earlier versions(pre XUI) did what i needed without any problems at all.

I have folder images for alot of albums (i have _alot_ of albums) but most of the folder-images does not follow any strict pattern.

Will wait for next version
Title: Album Art Downloader
Post by: capleton on 2007-04-17 19:44:57
This might not be the place for it, but I've been looking for awhile now, and I can't find a good resource for how to implement Album Art Downloader.  I would like to have a button in panels UI that gets the album art with the app.

The problem I am having is with how to implement it in run services, maybe i should be posting this in that thread    I dont know, i need help--psychological too.


If you know of such a resource, please let me know.
Title: Album Art Downloader
Post by: Scidd0w on 2007-04-17 19:54:10
This might not be the place for it, but I've been looking for awhile now, and I can't find a good resource for how to implement Album Art Downloader.  I would like to have a button in panels UI that gets the album art with the app.

The problem I am having is with how to implement it in run services, maybe i should be posting this in that thread    I dont know, i need help--psychological too.


If you know of such a resource, please let me know.

Below you will find my foo_run command string for album art downloader, is this what you wanted?
"C:\Program Files\foobar2000\utilities\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%"  -p "$replace(%_path%,%_filename_ext%,)folder.jpg"
Title: Album Art Downloader
Post by: capleton on 2007-04-18 13:54:07
Thank you.  That was exactly what I needed.  Originally I thought that I would have to put the tags in the button command of panels UI, phew.  It's working like a charm now  Thanks!
Title: Album Art Downloader
Post by: db78 on 2007-04-19 19:24:03
This works beautifully! Thank you so much

Is it possible to make the file hidden after downloading it? All of my folder.jpg are hidden, so I wanted to keep that trend, but if it's not possible then it's okay.
Title: Album Art Downloader
Post by: jahpal on 2007-04-20 02:00:08
This works beautifully! Thank you so much

Is it possible to make the file hidden after downloading it? All of my folder.jpg are hidden, so I wanted to keep that trend, but if it's not possible then it's okay.


when the art downloader open`s go to the left hand side click the setting and just click on automatically close , htats it
Title: Album Art Downloader
Post by: db78 on 2007-04-20 02:13:24

This works beautifully! Thank you so much

Is it possible to make the file hidden after downloading it? All of my folder.jpg are hidden, so I wanted to keep that trend, but if it's not possible then it's okay.


when the art downloader open`s go to the left hand side click the setting and just click on automatically close , htats it


Hmm I think you misunderstood me. What I meant was when you right click on a file, and then go to properties, you can check the "hidden" box so it's not shown. Currently all my folder.jpg files are like that. I had to manually make the files "hidden" which is a bit of a pain. I was wondering if I could have Album Art Downloader make the setting automatically.
Title: Album Art Downloader
Post by: jahpal on 2007-04-20 02:48:29


This works beautifully! Thank you so much

Is it possible to make the file hidden after downloading it? All of my folder.jpg are hidden, so I wanted to keep that trend, but if it's not possible then it's okay.


when the art downloader open`s go to the left hand side click the setting and just click on automatically close , htats it


Hmm I think you misunderstood me. What I meant was when you right click on a file, and then go to properties, you can check the "hidden" box so it's not shown. Currently all my folder.jpg files are like that. I had to manually make the files "hidden" which is a bit of a pain. I was wondering if I could have Album Art Downloader make the setting automatically.

SORRY My Bad .
Title: Album Art Downloader
Post by: db78 on 2007-04-20 03:46:39



This works beautifully! Thank you so much

Is it possible to make the file hidden after downloading it? All of my folder.jpg are hidden, so I wanted to keep that trend, but if it's not possible then it's okay.


when the art downloader open`s go to the left hand side click the setting and just click on automatically close , htats it


Hmm I think you misunderstood me. What I meant was when you right click on a file, and then go to properties, you can check the "hidden" box so it's not shown. Currently all my folder.jpg files are like that. I had to manually make the files "hidden" which is a bit of a pain. I was wondering if I could have Album Art Downloader make the setting automatically.

SORRY My Bad .


Haha it's okay, what you told me is actually quite helpful!
Title: Album Art Downloader
Post by: db78 on 2007-04-20 05:05:43
Hmm by the way does it take a long time to load the program for anyone else? It takes almost a minute for the program to load.
Title: Album Art Downloader
Post by: carmenm on 2007-04-20 14:22:42
Hi Alex, first thanks for your great work.

Now i have a problem, a while ago i asked you about proxy settings. The solution you gave cant work for me as my proxy requires authentification. So my question is could you add proxy authentification as settings like it is done in foo_audioscrobbler?
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-20 14:41:50
Hi Alex, first thanks for your great work.

Now i have a problem, a while ago i asked you about proxy settings. The solution you gave cant work for me as my proxy requires authentification. So my question is could you add proxy authentification as settings like it is done in foo_audioscrobbler?

I don't know foo_audioscrobbler, but if your proxy needs authentication you could try adding "useDefaultCredentials = true" to the proxy settings:

Code: [Select]
<system.net>
  <defaultProxy>
    <proxy proxyaddress="your proxy address" useDefaultCredentials="true"/>
  </defaultProxy>
</system.net>


Alex
Title: Album Art Downloader
Post by: carmenm on 2007-04-20 15:00:59
Hi Alex, first thanks for your great work.

Now i have a problem, a while ago i asked you about proxy settings. The solution you gave cant work for me as my proxy requires authentification. So my question is could you add proxy authentification as settings like it is done in foo_audioscrobbler?

I don't know foo_audioscrobbler, but if your proxy needs authentication you could try adding "useDefaultCredentials = true" to the proxy settings:

Code: [Select]
<system.net>
  <defaultProxy>
    <proxy proxyaddress="your proxy address" useDefaultCredentials="true"/>
  </defaultProxy>
</system.net>


Alex

Doesnt work, i checked my iexplore settings and "Enable Integrated Windows Authentication" is checked in IE settigns.From what i have seen on the web it is due to the fact that my proxy uses login and password. Thats why i would love to see proxy login settings 
Title: Album Art Downloader
Post by: masterrossi on 2007-04-25 15:56:16
In the program it self I get the following message:

Code: [Select]
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\!My Rips\Six Organs Of Admittance - For Octavio Paz (Holy Mountain, 2004)\folder.jpg'.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
  at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
  at AlbumArtDownloader.MainForm.RemoveThumbs()
  at AlbumArtDownloader.MainForm.SwitchToTask(Task task)
  at AlbumArtDownloader.MainForm.listViewQueue_ItemActivate(Object sender, EventArgs e)
  at System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
  at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
  at System.Windows.Forms.ListView.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AlbumArt
Assembly Version: 0.6.0.0
Win32 Version: 0.6.0.0
CodeBase: file:///C:/Program%20Files/Audio/AlbumArtDownloader/AlbumArt.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
scriptcache
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/Audio/AlbumArtDownloader/scripts/scriptcache.dll
----------------------------------------
Boo.Lang
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Audio/AlbumArtDownloader/Boo.Lang.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
ATL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Audio/AlbumArtDownloader/ATL.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I am using vista with version 0.6 alpha 2

This happens when i search through browsing, not if i just fill in the artist name and add a task.
It seems to have something to do with the path of the folder that it wants to save to.
Screen where images should shown stay empty.

If i do a sesarch just through the task, images do show but in very small tumbnail size and when i change that nothing seems to happen at all regarding the size of the images.

Not sure if this was already known, though I hope this may help you for further issues.


EDIT: found some info on the first page of this topic. Now try to find out how this works in combination with foobar.
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-27 12:27:14
AlbumArt Downloader XUI v0.4 Preview Released

OK, so it still doesn't have the browser functionality, but from the feedback I received about the local files search, I had to do something to improve that first. Fingers crossed for browser functionality in the next release, though!

This release has the following changes made to it:Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: masterrossi on 2007-04-27 12:52:25
what is the exact difference between AAD and AAD XUI?

(please give me an easy explanation as i don't understand all the talk about codes and such)
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-27 13:31:36
what is the exact difference between AAD and AAD XUI?

(please give me an easy explanation as i don't understand all the talk about codes and such)

AAD is a continuation of the original CoverDownloader application, with some bug fixes and some additional features added in. The development of it has been taken over by Marc Landis, and I have also contributed some towards it. Marc is busy with other personal matters at the moment, so there has been no development work on this for a while.

Out of the twin desires of continual frustration with working with the CoverDownloader code, and a desire to do something cool using WPF (makes pretty UIs, basically), I decided to re-write AAD from the ground up. This project I called XUI (experimental user interface). At the moment it is just me working on it, though I am hoping Marc might join in when (if?) he has more time. Of course others are welcome too, this is an open source project.

I am hoping it will replace the main AAD branch in time, but for the moment it lacks some of the functionality that the main branch has, most notably the browsers and queuing. I don't want to be pushing anyone into taking a step backwards if they rely on these features, so for the moment I'm offering this XUI project as a Preview Release.

So, in summary:

AAD XUI: Newer, prettier, hopefully nicer to use, some new features, command-line compatibility with CoverDownloader (works with REACT2)
AAD: File and Foobar Browsers, Queuing, less resource-intensive

Hope this helps!

Alex
Title: Album Art Downloader
Post by: masterrossi on 2007-04-27 13:38:35
Ok, cool.

Thanks for the explanation.

I will keep an eye on the development around this XUI
Title: Album Art Downloader
Post by: mobyduck on 2007-04-27 14:21:52
You probably want a file extension on the filename too. You could use Artist - Album.jpg, but in case the found art isn't a jpeg, you can use %extension% to automatically use the right one. This leaves us with:

-ar "Artist" -al "Album" -p "C:\AlbumArt\%artist% - %album%.%extension%"
Thank you very much for your work.

I tried the above suggestion but it doesn't seem to work here (or simply I don't understand how is it supposed to work): I get a question mark in the Save images to filed and when I try to save I get the error Illegal characters in path.

What am I missing?

Alessandro

[Edit]Forgot to mention this is with the XUI version.

[Edit2]Never mind, got it: should be '%extension%' (with single quotes) in foo_run.
Title: Album Art Downloader
Post by: Brasse on 2007-04-30 11:44:22
**** Unexpected command line parameter: localImagesPath ****

I use this code:
"C:\Program\AlbumArtDownloader\AlbumArt.exe" /localImagesPath "*.jpg" /artist "%artist%" /album "%album%" /path "$replace(%_path%,%_filename_ext%,)00-$lower([%directoryname%])-front.jpg" /autoclose


I want to search for all jpeg images in the folder of the Mp3 currently playing..
What am i doing wrong?
Title: Album Art Downloader
Post by: mobyduck on 2007-04-30 11:55:21
I use this code:
"C:\Program\AlbumArtDownloader\AlbumArt.exe" /localImagesPath "*.jpg" /artist "%artist%" /album "%album%" /path "$replace(%_path%,%_filename_ext%,)00-$lower([%directoryname%])-front.jpg" /autoclose
Try something like
Code: [Select]
"C:\Program\AlbumArtDownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)00-$lower([%directoryname%])-front.jpg"
HTH.

Alessandro
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-30 12:15:22
I use this code:
"C:\Program\AlbumArtDownloader\AlbumArt.exe" /localImagesPath "*.jpg" /artist "%artist%" /album "%album%" /path "$replace(%_path%,%_filename_ext%,)00-$lower([%directoryname%])-front.jpg" /autoclose


I want to search for all jpeg images in the folder of the Mp3 currently playing..
What am i doing wrong?

Gah, my mistake, I'd screwed something up in the build of 0.4, sorry. I've uploaded 0.4.1 (http://www.byalexv.co.uk/foobar/AlbumArtDownloaderXUI-0.4.exe) (same location, just redownload) which should get the /localImagesPath working again.

Apart from that, if you want to search for jpgs in the same folder as the currently playing mp3, you should use /localImagesPath "$replace(%_path%,%_filename_ext%,)*.jpg" rather than just "*.jpg" so that it searches in that folder.

Alex
Title: Album Art Downloader
Post by: jahpal on 2007-04-30 14:14:47
now wait a minute which is the latest version , i thought it was albumartdownloader 0.6 alpha 2-bin , isn`t  the one at the top of the thread , i`m all confuse give me a hand here i`m lost. THANK YOU...
Title: Album Art Downloader
Post by: Brasse on 2007-04-30 16:07:24
ok now it is working as intended! Thanks alot
Title: Album Art Downloader
Post by: AlexVallat on 2007-04-30 17:50:00
now wait a minute which is the latest version , i thought it was albumartdownloader 0.6 alpha 2-bin , isn`t  the one at the top of the thread , i`m all confuse give me a hand here i`m lost. THANK YOU...

0.6 alpha 2 is the official latest release. I've been working on a potential rewrite which I've named XUI. Previews of that have been made available, up to version 0.4. Sorry it is confusing, perhaps [a href='index.php?act=findpost&pid=488314']this post[/a] makes things clearer?

Alex
Title: Album Art Downloader
Post by: jahpal on 2007-05-01 03:41:35
now wait a minute which is the latest version , i thought it was albumartdownloader 0.6 alpha 2-bin , isn`t  the one at the top of the thread , i`m all confuse give me a hand here i`m lost. THANK YOU...

0.6 alpha 2 is the official latest release. I've been working on a potential rewrite which I've named XUI. Previews of that have been made available, up to version 0.4. Sorry it is confusing, perhaps [a href='index.php?act=findpost&pid=488314']this post[/a] makes things clearer?

Alex

Alex now what`s the advantages  Or Disadvantages In other words which one it`s better the .6 Alpha or the V 0.4 ? see now i did try the .6 alpha but for some reason i could not get it goin` `cause of the command line , well see when i open with the run services in foobar it opens and all that but it wont retrieve no covers for some strange reason , i think its the command line i try different combinations no results .  Thank You...
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-01 07:52:16
Alex now what`s the advantages  Or Disadvantages In other words which one it`s better the .6 Alpha or the V 0.4 ?
That would depend, really. If you are wanting to use file or foobar browsing, then 0.6 alpha is your only choice. Otherwise, I'd probably recommend XUI 0.4, at least to try it out. As I said before, [a href='index.php?act=findpost&pid=488314']this post[/a] explains the differences.
Title: Album Art Downloader
Post by: jahpal on 2007-05-02 02:59:40
Alex now what`s the advantages  Or Disadvantages In other words which one it`s better the .6 Alpha or the V 0.4 ?
That would depend, really. If you are wanting to use file or foobar browsing, then 0.6 alpha is your only choice. Otherwise, I'd probably recommend XUI 0.4, at least to try it out. As I said before, [a href='index.php?act=findpost&pid=488314']this post[/a] explains the differences.

thank you Bro. you know i can get the alpha to work i need the command line  im going by the one on the first post but it dont work for me , it opens and everything but idont see any covers . now this is the deal each one of the music files i got its got its own folder now lets say mp3 + The picture in the same folder thats the way i want to keep it when i open the art down loader i just want to click the cover and save it thats it .  the command line i`ve got i try to change it , just don`t work for me .  THANK YOU VERY MUCH
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-02 07:47:50
thank you Bro. you know i can get the alpha to work i need the command line  im going by the one on the first post but it dont work for me , it opens and everything but idont see any covers . now this is the deal each one of the music files i got its got its own folder now lets say mp3 + The picture in the same folder thats the way i want to keep it when i open the art down loader i just want to click the cover and save it thats it .  the command line i`ve got i try to change it , just don`t work for me .  THANK YOU VERY MUCH

If you can be more specific about what the command line you use is, and what exactly is going wrong, I can try and help. Does a search actually get performed? Does it say 0 results for every source? Which sources are searched? Does searching for covers without using the command line, just typing in the artist name and album work?

Alex
Title: Album Art Downloader
Post by: jahpal on 2007-05-02 15:22:29
thank you Bro. you know i can get the alpha to work i need the command line  im going by the one on the first post but it dont work for me , it opens and everything but idont see any covers . now this is the deal each one of the music files i got its got its own folder now lets say mp3 + The picture in the same folder thats the way i want to keep it when i open the art down loader i just want to click the cover and save it thats it .  the command line i`ve got i try to change it , just don`t work for me .  THANK YOU VERY MUCH

If you can be more specific about what the command line you use is, and what exactly is going wrong, I can try and help. Does a search actually get performed? Does it say 0 results for every source? Which sources are searched? Does searching for covers without using the command line, just typing in the artist name and album work?

Alex

This is the commandLine:  C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg
This is what i get Check out the Pic  , after i get the window i click continue it opens then it shows 0 then hit search at this time covers show , then would have to browse looking for the folder to of that artist to save it into even though i`ve got the automatically save checked . THANK YOU ANYWAY ...
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-02 15:42:38
This is the commandLine:  C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg
This is what i get Check out the Pic  , after i get the window i click continue it opens then it shows 0 then hit search at this time covers show , then would have to browse looking for the folder to of that artist to save it into even though i`ve got the automatically save checked . THANK YOU ANYWAY ...
Looks to me like it can't find the path "l:\music\be bop deluxe 1974 - axe victim\" on your system... this may be a silly question, but does that path actually exist? If so, check it doesn't have any screwy permissions set on it which might prevent Album Art Downloader from being able to use it.
Title: Album Art Downloader
Post by: Westies on 2007-05-02 23:33:31
I noticed this problem in 0.6a2 as well. If you remove the cover.jpg part it will open without error and search fine, but double clicking it seems to just save it in the foobar2000 folder (It saved it as folder.jpg as I was using the -f "folder.jpg" switch. It shoud also be noted that I made sure the -p switch was the last one in the command) Clicking the Save As button up top saves it in the correct folder, but saves it as a file "Save As" with no file extention. You have to right click and save as if you want to save the album art in the right folder. This problem doesn't exist in 0.6a1.

Here's the foo_run command I'm using which works in alpha 1 but not alpha 2:

"C:\Program Files\foobar2000\albumart\AlbumArt.exe" -ae -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"


Another thing to note is that using this command in alpha one gave the full path to where it would be saved to in the Output > Save To box, including folder.jpg. When using the following in alpha 1 and 2 (as the first command doesn't work in alpha 2):

"C:\Program Files\foobar2000\albumart\AlbumArt.exe" -ae -ar "%artist%" -al "%album%" -f "folder.jpg" -p "$replace(%_path%,%_filename_ext%,)"

The Output > Save To box contains the directory path where it should be saved, but not the filename. In alpha 1, attempting to double click to save gives an error box stating that (for example) "Access to the path 'E:\Untagged\Amon Amarth - Fate of Norns' is denied.", whereas in alpha 2, as I mentioned earlier, it'd just save to the foobar2000 folder.

Am I doing something terribly wrong with the foo_run command in the second case?
Title: Album Art Downloader
Post by: jahpal on 2007-05-03 01:01:26
This is the commandLine:  C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg
This is what i get Check out the Pic  , after i get the window i click continue it opens then it shows 0 then hit search at this time covers show , then would have to browse looking for the folder to of that artist to save it into even though i`ve got the automatically save checked . THANK YOU ANYWAY ...
Looks to me like it can't find the path "l:\music\be bop deluxe 1974 - axe victim\" on your system... this may be a silly question, but does that path actually exist? If so, check it doesn't have any screwy permissions set on it which might prevent Album Art Downloader from being able to use it.

THANKS ONCE AGAIN for trying to help me. Look I Tell You What : I`m going to Give You Where I Have Everything Located Just Make  Up Any Command Line You Think That ,  It Might Work: [C:\Program Files\foobar2000\AlbumartDownloader\AlbumArt.exe]  That is if You Could Make One Out Of The Info. that I Just Gave You . If you Don`t  Mind . Now this is What I`ve Got , The One That Does Not Work :

C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg

If you Want To modify That One Be My Guess , By All Means . i have change that line so many times , i`m going Out of my Mind it`s frustrating boy I Tell You , Anyway Thank You For All ...
Title: Album Art Downloader
Post by: cvax on 2007-05-04 00:29:18
jahpal when you open album art downloader go to file->settings and delete whatever is in "Default Art Filename" and then restart the program and try again
Title: Album Art Downloader
Post by: jahpal on 2007-05-04 00:57:10
jahpal when you open album art downloader go to file->settings and delete whatever is in "Default Art Filename" and then restart the program and try again


no dont work.  i try like 5 times nothing . now does yours work Let me get the command line you got i`ll try with that, got to be the ALPHA 6 v2 if not  Dont Worry about it , And THANK YOU BROTHER LATER...
Title: Album Art Downloader
Post by: cvax on 2007-05-04 01:01:09
this is mine
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" -ae on -pf on -ar "%artist%" -al "%album%" -f "folder.jpg" -p "$replace(%_path%,%_filename_ext%,)"


for yours
Code: [Select]
C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg


i think you should edit it to this
Code: [Select]
"C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)"

you need to use the quotes properly and also the cover.jpg is whats messing you up i think
Title: Album Art Downloader
Post by: jahpal on 2007-05-04 03:33:56
this is mine
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" -ae on -pf on -ar "%artist%" -al "%album%" -f "folder.jpg" -p "$replace(%_path%,%_filename_ext%,)"


for yours
Code: [Select]
C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg


i think you should edit it to this
Code: [Select]
"C:\Program Files\foobar2000\AlbumArtDownloader\AlbumArt.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)"

you need to use the quotes properly and also the cover.jpg is whats messing you up i think

I Think You Were Wright ,It`s Working Boy the only thing is that i want to DOUBLE CLICK To Save Anyway eider Double click or Browse Its Good Enuff For Me
THANKS SO MUCH ...
Title: Album Art Downloader
Post by: Marc Landis on 2007-05-04 14:25:35
Hi all,

after some time my computer is working again. I still don't have much time due to my little baby twins but I try to work on Album Art Downloader.

Marc
Title: Album Art Downloader
Post by: jahpal on 2007-05-05 01:04:16
Hi all,

after some time my computer is working again. I still don't have much time due to my little baby twins but I try to work on Album Art Downloader.

Marc

i think you should take care of the family first man, this is just a hobby and take care of your baby`s.
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-05 08:30:25
Hi all,

after some time my computer is working again. I still don't have much time due to my little baby twins but I try to work on Album Art Downloader.

Marc

Welcome back, Marc, it's good to see you here again!
Title: Album Art Downloader
Post by: Tich on 2007-05-05 18:20:01
Album Art Downloader XUI (0.4.1.0) crashed while closing two instances rapidly after another.
Here's the crashlog:

Code: [Select]
Album Art Downloader has encountered a fatal error, and has had to close.
If you wish to report this error, please include this information, which
has been written to the file: C:\Programme\foobar2000\AlbumArtDownloader\errorlog.txt

App version: 0.4.1.0, running on Microsoft Windows NT 5.1.2600 Service Pack 2

System.Configuration.ConfigurationErrorsException: Beim Laden einer Konfigurationsdatei ist ein Fehler aufgetreten.: Der Prozess kann nicht auf die Datei C:\Dokumente und Einstellungen\Andi\Lokale Einstellungen\Anwendungsdaten\AlbumArtDownloader\AlbumArt.exe_Url_rkg2w2bclauvqwx5a0ud5gtpisbyhy1g\0.4.1.0\user.config zugreifen, da sie von einem anderen Prozess verwendet wird. (C:\Dokumente und Einstellungen\Andi\Lokale Einstellungen\Anwendungsdaten\AlbumArtDownloader\AlbumArt.exe_Url_rkg2w2bclauvqwx5a0ud5gtpisbyhy1g\0.4.1.0\user.config) ---> System.IO.IOException: Der Prozess kann nicht auf die Datei C:\Dokumente und Einstellungen\Andi\Lokale Einstellungen\Anwendungsdaten\AlbumArtDownloader\AlbumArt.exe_Url_rkg2w2bclauvqwx5a0ud5gtpisbyhy1g\0.4.1.0\user.config zugreifen, da sie von einem anderen Prozess verwendet wird.
  bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
  bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  bei System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName)
  bei System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.O
penStreamForRead(String streamName, Boolean assertPermissions)
  bei System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions)
  bei System.Configuration.ClientSettingsStore.ClientSettingsConfigurationHost.OpenStreamForRead(String streamName)
  bei System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName)
  bei System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
  --- Ende der internen Ausnahmestapelüberwachung ---
  bei System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
  bei System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
  bei System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
  bei System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInte
rnalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams)
  bei System.Configuration.ClientSettingsStore.ClientSettingsConfigurationHost.OpenExeConfiguration(Config
urationUserLevel userLevel)
  bei System.Configuration.ClientSettingsStore.GetUserConfig(Boolean isRoaming)
  bei System.Configuration.ClientSettingsStore.WriteSettings(String sectionName, Boolean isRoaming, IDictionary newSettings)
  bei System.Configuration.LocalFileSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
  bei System.Configuration.SettingsBase.SaveCore()
  bei System.Configuration.SettingsBase.Save()
  bei System.Configuration.ApplicationSettingsBase.Save()
  bei AlbumArtDownloader.App.OnExit(ExitEventArgs e)
  bei System.Windows.Application.DoShutdown()
  bei System.Windows.Application.ShutdownImpl()
  bei System.Windows.Application.ShutdownCallback(Object arg)
  bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
  bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  bei System.Threading.ExecutionContext.runTryCode(Object userData)
  bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Windows.Threading.DispatcherOperation.Invoke()
  bei System.Windows.Threading.Dispatcher.ProcessQueue()
  bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  bei System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  bei System.Windows.Threading.Dispatcher.Run()
  bei System.Windows.Application.RunInternal(Window window)
  bei System.Windows.Application.Run(Window window)
  bei System.Windows.Application.Run()
  bei AlbumArtDownloader.App.Main()
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-05 18:35:45
Album Art Downloader XUI (0.4.1.0) crashed while closing two instances rapidly after another.
Here's the crashlog:

Thanks for the bug report. It appears this is because both instances are trying to save out their settings at the same time to the same file. Eventually I will have code in place to prevent more than one instance being open at a time, at which point this bug will disappear. Until then, I'd recommend waiting a second or so after closing one instance before closing another. Or just ignoring it; it will be harmless if the settings aren't saved - after all, only one instances settings can actually be saved anyway.

Alex
Title: Album Art Downloader
Post by: kanak on 2007-05-05 20:16:21
Could anyone add support for freecovers.net ? Sometimes, it has covers that coverparadies doesn't have.
Title: Album Art Downloader
Post by: kabuki on 2007-05-05 20:24:31
to prevent more than one instance being open at a time
  Yep!, this sounds like a very good idea. I'm waiting for that option, because I launch Alb.Art.DLer from a foobar's "run service", and then I always need to close first instance when want to make another search after first one. (And that, only because I'm quite lazy  to type the new path to save new images when folders are different  ). So thanks in advance for that, and double thanks with delay for continuing this very useful soft. If that right that first version of XUI was very greedy in CPU usage, you made a lot of progress since new versions.
Cheers
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-06 10:43:21
Could anyone add support for freecovers.net ? Sometimes, it has covers that coverparadies doesn't have.

freecovers.boo (http://www.byalexv.co.uk/foobar/freecovers.boo) (for XUI version). If you need me to knobble up a backwards compatible version, let me know.

I chose not to pre-determine image size, as that involves downloading and parsing a second html page, which is not necessary for just downloading thumbnails and full size images.
Title: Album Art Downloader
Post by: blizeH on 2007-05-07 13:17:38
Hi there, looks like a great program, thanks, but is there anyway to run it without needing .NET 2.0? Or maybe an equivelent program that doesn't require it?

Thanks
Title: Album Art Downloader
Post by: lyte on 2007-05-07 14:24:03
Hey Alex


I wanted to let you know that I upgraded to Album Art Downloader XUI (0.4.1.0) from 0.3 and it's no longer robbing my system of all of its resources. The only thing is it it still listing the available cover sites twice, so it's double checking.

I can not select ALL because of this. Not a big problem though.


Cheers!


-lyte
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-07 14:42:11
Hi there, looks like a great program, thanks, but is there anyway to run it without needing .NET 2.0? Or maybe an equivelent program that doesn't require it?
No. I believe [a href='index.php?showtopic=29876']Album Art Aggregator[/a] only requires .net 1.1, if that's any help. Chances are you're going to have to bite the bullet and stick .net 2.0 (and 3.0) on your machine sooner or later though, so why not now?

I wanted to let you know that I upgraded to Album Art Downloader XUI (0.4.1.0) from 0.3 and it's no longer robbing my system of all of its resources. The only thing is it it still listing the available cover sites twice, so it's double checking.
Thanks, I'm glad it is performing better now. If you are getting the sources listed twice, then try clearing out any .dll files out of the scripts folder (should be "boo script cache.dll", and it sounds like you may have another copy with a different name too). Run the app again, and it should recompile the .boo scripts, hopefully making them appear only once!

Alex
Title: Album Art Downloader
Post by: blizeH on 2007-05-08 11:00:11
Looks good, thanks Alex! I know I'll have to do it at some point, it's just I'm really struggling with my PC at the moment so want to try and install as little as possible onto there really 'til I manage to sort it properly  thanks again
Title: Album Art Downloader
Post by: kanak on 2007-05-15 03:37:45
Could anyone add support for freecovers.net ? Sometimes, it has covers that coverparadies doesn't have.

freecovers.boo (http://www.byalexv.co.uk/foobar/freecovers.boo) (for XUI version). If you need me to knobble up a backwards compatible version, let me know.

I chose not to pre-determine image size, as that involves downloading and parsing a second html page, which is not necessary for just downloading thumbnails and full size images.


Thank you so much. 

I have a feature request... I usually download the front, back and the disc images (whenever available) using this format:

%album artist%- %album%.jpg (for the front)
%album artist%- %album% (back).jpg (for the back)
%album artist%- %album% (disc).jpg (for the disc)

Is there anyway I could set these three as presets or something? Right now i search for the covers from foobar, asking the program to save covers in %album artist%- %album%.jpg . And then when I have to manually add the "(back)" and save the back cover. Needless to say, all this is quite tiring. Could you suggest a way to automate this?

Thanks for your work on album art downloader-- i don't know what i'd do if it weren't around.
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-15 09:29:00
Thank you so much. 

I have a feature request... I usually download the front, back and the disc images (whenever available) using this format:

%album artist%- %album%.jpg (for the front)
%album artist%- %album% (back).jpg (for the back)
%album artist%- %album% (disc).jpg (for the disc)

Is there anyway I could set these three as presets or something? Right now i search for the covers from foobar, asking the program to save covers in %album artist%- %album%.jpg . And then when I have to manually add the "(back)" and save the back cover. Needless to say, all this is quite tiring. Could you suggest a way to automate this?

Thanks for your work on album art downloader-- i don't know what i'd do if it weren't around.
The edit box for path to save images in maintains a history list, so if you just use those three patterns then you can pick them from the history list using the drop down arrow. Does the same job as a preset, only automatically.

Alex
Title: Album Art Downloader
Post by: Tich on 2007-05-17 17:35:56
The edit box for path to save images in maintains a history list, so if you just use those three patterns then you can pick them from the history list using the drop down arrow. Does the same job as a preset, only automatically.

Alex


There is a small problem with this solution though. I can only use it if I don't give AlbumArtDownloader a save-to location via the command-line.
I need to do this though since my music is sorted like this:
Code: [Select]
e:\music\%artist%\%date% - %album%\


If there was a %path% variable (uses the path given to it by commandline) I could set up the save-presets as following and your solution would work beautifully. 
Code: [Select]
%path%\%artist% - %album% - Front.%extension%
%path%\%artist% - %album% - Back.%extension%
%path%\%artist% - %album% - CD.%extension%

%path% in my example would be "e:\music\%artist%\%date% - %album%\"

I hope you understand what I mean and would be glad if you considered implementing it. 
Thanks for your fantastic work.
Tich

edit: fixed examples
Title: Album Art Downloader
Post by: kanak on 2007-05-17 17:53:33
Code: [Select]
e:\music\%path%\%artist% - %album% - Front.%extension%
e:\music\%path%\%artist% - %album% - Back.%extension%
e:\music\%path%\%artist% - %album% - CD.%extension%

%path% in my example would be "e:\music\%artist%\%date% - %album%\"

I hope you understand what I mean and would be glad if you considered implementing it.
Thanks for your fantastic work.
Tich


I agree... That is kinda what i meant too. Right now i have to manually type the "(back)", (disc) part for every album whose art i'm getting.

If there was a dropdown preformatted with those, it'd save a lot of time and energy.
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-17 21:31:16
I need to do this though since my music is sorted like this:
Code: [Select]
e:\music\%artist%\%date% - %album%\

OK, I see the issue now. I've got a design for a solution for this, but I'm absolutely determined to get the File Browser into the next release, so presets will have to wait until after it's done. I also don't have a lot of time to work on this right now, so I'm afraid it probably won't come along for a while!

In any case, I present here for your interest, and in case anyone else wants to have a stab at implementing it (always the optimist!), my design:

Presets
1. Addition of a new placeholder for the Save Images path, available from the dropper menu: %preset%
2. Addition of a dropper arrows just to the right of the Save buttons, when clicked pops up a menu with: "Save As...", <list of presets>, "More...". List of presets is initially blank, but "More" pops up:
3. "Save with Preset" dialog. Dialog with two column list of Name and Value preset entries, with Add and Delete buttons, and Save and Close buttons. Adding a Name/Value preset entry shows it as it's name on the list of presets in the menu, to avoid having to go through this dialog again. When an entry is selected, the Save button is enabled. Clicking that has the same effect of choosing the entry from the menu, which is to save, but with:
4. %preset% replaced in the path by the value of the preset, with any placeholders in that entry value also processed.

I reckon this would do the job nicely.
Title: Album Art Downloader
Post by: kanak on 2007-05-17 23:26:32
I need to do this though since my music is sorted like this:
Code: [Select]
e:\music\%artist%\%date% - %album%\

OK, I see the issue now. I've got a design for a solution for this, but I'm absolutely determined to get the File Browser into the next release, so presets will have to wait until after it's done. I also don't have a lot of time to work on this right now, so I'm afraid it probably won't come along for a while!

In any case, I present here for your interest, and in case anyone else wants to have a stab at implementing it (always the optimist!), my design:

Presets
1. Addition of a new placeholder for the Save Images path, available from the dropper menu: %preset%
2. Addition of a dropper arrows just to the right of the Save buttons, when clicked pops up a menu with: "Save As...", <list of presets>, "More...". List of presets is initially blank, but "More" pops up:
3. "Save with Preset" dialog. Dialog with two column list of Name and Value preset entries, with Add and Delete buttons, and Save and Close buttons. Adding a Name/Value preset entry shows it as it's name on the list of presets in the menu, to avoid having to go through this dialog again. When an entry is selected, the Save button is enabled. Clicking that has the same effect of choosing the entry from the menu, which is to save, but with:
4. %preset% replaced in the path by the value of the preset, with any placeholders in that entry value also processed.

I reckon this would do the job nicely.



It would. 

Can't wait for the release. 
Title: Album Art Downloader
Post by: blizeH on 2007-05-18 21:41:52
Hmm, just realised that other album art downloader requires .NET 1.1 too!

Random question, and sorry to be a pain, but is there any software at all that I can use for this without requiring the .NET framework?
Title: Album Art Downloader
Post by: Ran Sagy on 2007-05-18 23:26:49
Just out of curiosity, Whats the problem with just installing the .NET Framework? Not like it takes any resources when its not running.. And barely takes any when it is.
Title: Album Art Downloader
Post by: blizeH on 2007-05-19 14:03:48
Just out of curiosity, Whats the problem with just installing the .NET Framework? Not like it takes any resources when its not running.. And barely takes any when it is.

Oh really? Hmm, maybe I should just install it then. I dunno, I've just had so many problems with my PC over the past few weeks I'm really paranoid about putting stuff onto it, it's still not right now!
Title: Album Art Downloader
Post by: Ran Sagy on 2007-05-19 14:44:40
Well, I may be biased since I'm a developer (mainly in the .NET environment now), But I've yet to see issues caused by the framework itself. I'm sure Alex would agree
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-19 16:08:33
I guess I'm a bit biased too, being another .net developer. But I'd have to say it's unlikely to cause you any issues, it's a pretty flagship-type thing from Microsoft, they'll be making sure its at least as solid as Windows is. (OK so that might not be saying too much but hey, what can you do?)
Title: Album Art Downloader
Post by: urlwolf on 2007-05-20 18:06:28
Just to make sure I'm following this.
The latest version (.NET 3.0) cannot write the cover to the same album folder (as folder.jpg)?
Because I see no way o select that in the options...

Then it's back to .NET 2.0 for me...
Title: Album Art Downloader
Post by: Tich on 2007-05-20 21:03:27
Just to make sure I'm following this.
The latest version (.NET 3.0) cannot write the cover to the same album folder (as folder.jpg)?
Because I see no way o select that in the options...

Then it's back to .NET 2.0 for me...


Of course it can write the cover to any location you specify with any filename you wish.
The issue I was having is that I'm saving additional art files (Back, CD, Inlay, etc.) and thus would like to see some kind of preset system which would allow me to save different types of art with a single click instead of manually having to edit the standard-filename.

edit: foo_run
Code: [Select]
C:\<Path to AlbumArtDownloader>\AlbumArt.exe /ar "%album artist%" /al "%album%" /p "$replace(%_path%,%_filename_ext%,)<YOUR FILENAME HERE>.'%extension%'"
Title: Album Art Downloader
Post by: urlwolf on 2007-05-21 10:01:11
If I hit settings in the .NET 2.0 version i get an option for "default fille name" : (textbox) where I can fill in folder.jpg. By default, the art goes to the folder in which the music is.

In my system, that doesn't happen when I trigger the .NET 3 version. There is a hardcoded path (from last time used), and it doesn't go to the folder in which the music is.
I was assuming there is with the way foobar talks to AAD. Maybe not.

Can you post the exact args that you use to get it to reuse the folder where the music is (the way you have it configured in foo_run)?

Thanks
Title: Album Art Downloader
Post by: zheka on 2007-05-22 20:58:44
Looks like Google Image have changed format so Google search stopped working.

here is  link to tweaked google.boo file that works for me


http://repo.tap.tv:9005/ad_gen/google.boo (http://repo.tap.tv:9005/ad_gen/google.boo)
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-27 17:40:17
AlbumArt Downloader XUI v0.5 Preview Released

(http://www.byalexv.co.uk/foobar/AlbumArtDownloader/FileBrowser.gif)

Oh yes. That's right, the File Browser has finally made an appearance! Woo! Give it a try, and let me know your feedback on it. To get to the file browser, either use the menu, or from the command line, pass the arg: /fileBrowser (optionally followed by the path to start searching for files under).

Apart from the addition of the browser, this release also has the following changes made to it:Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: foo_peter on 2007-05-27 22:43:36
Thank you so much.
Title: Album Art Downloader
Post by: Big_Will on 2007-05-28 03:11:59
I cant get either of those new links to d/l do you have any mirrors
Title: Album Art Downloader
Post by: hal9001 on 2007-05-29 01:09:03
Great new look, but several questions/issues:
Code: [Select]
foo_run commandline:
albumart.exe -ae on -pf off -ar "%artist%" -al "%album%" -p "C:\#pix2\CD Covers\%artist% - %album% FRONT.jpg"

AlbumArt save to:
C:\#pix2\CD Covers\%artist% - %album% (%name%) FRONT.jpg


I also checked the new file browser. Looks great, but is it really necessary to have a window for every search? I sort of miss the old queue method. Much more efficient in any way. This new methos searches all missing covers simultaneously

2 more small file browser issues:
- 'search art in folder' should also ignore the filename, since this should be determined via commandline.
- Apparently the 'search art in' also determines where and how the newly found art will be saved. IMHO it should keep the previously set options in the main window (for filename).
- I sometimes add something after the usual %artist% - %album% in the filename. Can wildcards be used as well in searching for existing cover art?


Thanks for all the great work.
Title: Album Art Downloader
Post by: AlexVallat on 2007-05-29 08:49:27
Hi, thanks for your comments, let me see if I can give you some answers:
Load time has become significantly long (over 30sec on WinXP SP2, more than 3 times from the non-XUI versions).
The first run will be slow, as it is spinning up the WPF framework (although 30s is longer than I expected, I get about 15 here). Subsequent runs should be quick enough. If they aren't, then something is wrong. It is also worth noting that this slow load will just be for the first time any WPF app is run, and all other WPF apps will be quick after that until reboot. Not much consolation if this is the only one you use, I suppose.

Quote
Default options: search options will not save, for some reason.
Now that's just not right. I'm not sure why this isn't working for you, could you try just running the app without command line parameters, move the window around, change which sources are selected, then close the app, and run it again to see if it has remembered the window position or selected sources? If it hasn't, then for some reason it can't save its settings - I can try and work through this with you via PM if you like.

Quote
Command-line options: since I use the app from FooBar, I'm wondering about the new ability to pre-determine the filename by tags. At the moment, my foo_run commandline includes all necessary options as was for the previous versions. Has anything changed? Can I get rid of some switches now?
Code: [Select]
foo_run commandline:
albumart.exe -ae on -pf off -ar "%artist%" -al "%album%" -p "C:\#pix2\CD Covers\%artist% - %album% FRONT.jpg"

AlbumArt save to:
C:\#pix2\CD Covers\%artist% - %album% (%name%) FRONT.jpg
For your command line, -ae on and -pf off are obsolete and have no effect - the local files source will be on unless you turn it off, and will display local file art according to the pattern it is set. The rest is fine, but you might like to change your path to -p "C:\#pix2\CD Covers\%%artist%% - %%album%% FRONT.%%extension%%". Adding the extra % marks adds an additional level of reference to the artist and album placeholders, which means that they will be substituted at save time by album art downloader, rather than at run time by foo_run. Practically, that means that you can do additional searches just by changing the name and artist in the album art downloader search window, and the results will be saved to the right place automatically.

Using %%extension%% instead of jpg has the advantage that if the artwork found is not a jpeg, then it will have the appropriate extension when it is downloaded. The vast majority are jpegs, but some of the sources return the occasional png, I've found. If you prefer to just name it .jpg regardless of actual content, then leave this how you had it.

Quote
I also checked the new file browser. Looks great, but is it really necessary to have a window for every search? I sort of miss the old queue method. Much more efficient in any way. This new methos searches all missing covers simultaneously
Queuing has already been requested, and will eventually make it in, I hope.

Quote
2 more small file browser issues:
- 'search art in folder' should also ignore the filename, since this should be determined via commandline.
I'm not sure I understand this point, could you elaborate a little?

Quote
- Apparently the 'search art in' also determines where and how the newly found art will be saved. IMHO it should keep the previously set options in the main window (for filename).
That depends on what you have in the "Specify path to find images" path. If you have a relative path set, like just "Folder.jpg", for example, then the location the newly found art is saved has to be set relative to where the file was found. In your case, because you have a well-ordered system for organising where the art lives, you should set the path to find images to be "C:\#pix2\CD Covers\%artist% - %album% FRONT.jpg", rather than Folder.jpg. As it is an absolute path, the location the newly found art is saved to will not depend on the folder the music was in.

Finally, if you just want to get back to the previously set path to save to, it will always be the first entry in the drop down history list for the path to save to.

Quote
- I sometimes add something after the usual %artist% - %album% in the filename. Can wildcards be used as well in searching for existing cover art?
Yes. "C:\#pix2\CD Covers\%artist% - %album%*.*" should work just fine. Also
\**\ can be used for finding art in any depth of subfolders.

I hope this helps! Thanks again for your feedback,

Alex
Title: Album Art Downloader
Post by: Ryxxui on 2007-06-01 01:23:57
I just grabbed the new XUI and it looks sweet, and the file browser works nicely, but I am having some problems with it. 
1) My options are not staying.  Each time I run the program, the default image name reverts back to "Folder.jpg". 
2) I think this is tied in with the first problem, but I am not sure why or how to fix it.  None of my music folders come up as having album art, which they all do except for one or two out of 300+ albums.  Every album art I have is named "albumpicture.jpg". 
So, my options aren't staying the same and my album art is not found.  Any suggestions?
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-01 08:21:02
I just grabbed the new XUI and it looks sweet, and the file browser works nicely, but I am having some problems with it. 
1) My options are not staying.  Each time I run the program, the default image name reverts back to "Folder.jpg". 
2) I think this is tied in with the first problem, but I am not sure why or how to fix it.  None of my music folders come up as having album art, which they all do except for one or two out of 300+ albums.  Every album art I have is named "albumpicture.jpg". 
So, my options aren't staying the same and my album art is not found.  Any suggestions?

Heh, your definition of "works nicely" would not be mine! I'm sorry you are having such trouble with this, I don't know why your options are not staying. Please try running the program with no command line, just by double clicking on it, then go to File, New, Browser, click the Options link and replace Folder.jpg with albumpicture.jpg, then go to File Exit. Run the program again, and repeat the steps, only once you open the browser options, it should have remembered the new setting. If it hasn't, then something strange is going on, because it does for me.

If your art is not being found, then it might be due to the same problem, if it is actually looking for Folder.jpg instead of albumpicture.jpg. If you have successfully managed to change the images path to albumpicture.jpg and it still isn't finding anything, then please give me an example of the path to a music file and the path to the associated art file, and I'll see if I can figure out why it wouldn't be found.

Thanks,

Alex
Title: Album Art Downloader
Post by: HellSpam on 2007-06-02 19:42:18
I'm having a problem using AlbumArtDownloader XUL 0.5... It doesn't seem to find anything. I tried searching manually, tried using the file browser and the command line - nothing.
I think it has something to do with the fact that on the right panel, there is only Local Files. I'm using Vista, if that helps. And I used the installer to install the program.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-02 20:25:52
I'm having a problem using AlbumArtDownloader XUL 0.5... It doesn't seem to find anything. I tried searching manually, tried using the file browser and the command line - nothing.
I think it has something to do with the fact that on the right panel, there is only Local Files. I'm using Vista, if that helps. And I used the installer to install the program.

If you only see Local Files on the right panel then yes, it won't be searching any online sources. I don't have Vista, so I can't test on that, I'm afraid. If anyone else is using it under Vista and can chime in, feel free.

To try and figure out what is going wrong, look in the "Scripts" folder under the album art downloader folder. This should have a whole bunch of script files in it, ending in .boo. If you don't have any, or only have util.boo, then try running the installer again and making sure that at least some Image Download Scripts are checked on the "Choose components to install" step.

If the .boo files are already there, then see if there is a file called "boo script cache.dll" in that folder. If there is, delete it, and it will be regenerated next time you start the program. If that file is not present, and doesn't get created when you start the program, then can you let me know whether the "compiling scripts" splashscreen with progress bar appears, and if so, whether any error messages are displayed before it disappears?

If the .boo files are present, but the .dll one isn't, then you could try running the program with administrative privileges once, to see if that will allow it to generate the .dll file. Once it's been created, it won't need to be recreated unless you add, remove, or change any of the .boo script files, so you should be able to run it normally.
Title: Album Art Downloader
Post by: HellSpam on 2007-06-03 06:30:16
All .boo files are present, but like you guessed, no boo script cache.dll file. The "compiling scripts" did appear, and no message error appeared. After running it once with Admin privileges, the file is created, and the scripts appear fine in all subsequent runs.
Thanks for the help!

And, while I'm writing a post, I figure I'll ask something else. My music collection is in a folder structure like this:
Code: [Select]
C:\Music\<First Letter of Artist Name>\<Artist Name>\<Year> - <Album>\
For example:
C:\Music\A\A Perfect Circle\2000 - Mer Des Noms\


I know that the Artist and Album are available as parameters to pass to the program, but is there any chance to get the Year and First letter as well?
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-03 08:08:13
All .boo files are present, but like you guessed, no boo script cache.dll file. The "compiling scripts" did appear, and no message error appeared. After running it once with Admin privileges, the file is created, and the scripts appear fine in all subsequent runs.
Thanks for the help!

And, while I'm writing a post, I figure I'll ask something else. My music collection is in a folder structure like this:
Code: [Select]
C:\Music\<First Letter of Artist Name>\<Artist Name>\<Year> - <Album>\
For example:
C:\Music\A\A Perfect Circle\2000 - Mer Des Noms\


I know that the Artist and Album are available as parameters to pass to the program, but is there any chance to get the Year and First letter as well?

Great, I'm glad it's working now. Knowing that this was an Vista admin privileges issue I can try and put a workaround in for the next version.

For a path like the one you are using, I don't think Album Art Downloader will be able to save images to the right path automatically. For one thing, it won't have any information about the Year of the album! I suppose with titleformatting style scripting getting the first letter of the artist would be possible, but I have no intention to implement anything like that. In your case, you would be best off getting foo_run to just pass in the entire path to save the image to (/path $replace(%path%,%filename_ext%,)folder.%%extension%% for example). If you then search for another album from within Album Art Downloader rather than starting from a track in foobar, you will have to right click on the result, choose Save As, and find the folder to save it to manually.

If you are using the file browser, use a relative path for the image, like the default of just "folder.jpg", for example. The browser will then look for that relative to the folder the audio file was in, and automatically populate that as the Save To location if you launch a search for it from there.
Title: Album Art Downloader
Post by: DaSilva on 2007-06-03 12:55:53
What must I add in a foo_ui_panels skin code to autodownload a cover for the current playing song in the background without user interaction?
Thanks
Title: Album Art Downloader
Post by: HellSpam on 2007-06-03 20:29:39
Well, one thing I can say about the program (at least in Vista) is that it's a HOG.
Right now, I just searched through my music library using the file browser. In a folder with 72 albums, while it's searching, it's taking around 65-75% CPU, with 776MB of ram. Now, while idling with only the File Browser open (with the search results), the program is taking 776MB of ram, and barely any CPU.
I'm guessing there is a memory leak of some kind...
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-03 23:55:29
Well, one thing I can say about the program (at least in Vista) is that it's a HOG.
Right now, I just searched through my music library using the file browser. In a folder with 72 albums, while it's searching, it's taking around 65-75% CPU, with 776MB of ram. Now, while idling with only the File Browser open (with the search results), the program is taking 776MB of ram, and barely any CPU.
I'm guessing there is a memory leak of some kind...


nope thats not memory leak thats .NET... get used to it  coders tend to like it very much... not caring about memory or resources .net just eat anything he want and release it if its forced to. just believe the memory will be released if its have to as rest of us
Title: Album Art Downloader
Post by: HellSpam on 2007-06-04 00:20:04
LOL... so I guess that's just how it goes with .NET. I'm taking a course in college about it now, it IS easier to program, but I guess it's pretty inefficient.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-04 08:21:49
LOL... so I guess that's just how it goes with .NET. I'm taking a course in college about it now, it IS easier to program, but I guess it's pretty inefficient.

Depends on how you define inefficient, really. If the memory you want to free is in the middle of your allocated memory (and it usually is), then in order to free it, all the rest of the used memory must be shifted down to close up the hole. This is not an instant operation. If there is nothing else that needs memory at the present time, then it is more efficient to leave it where it is until it is needed.

Basically, the .NET garbage collection system is optimised towards having memory available when its needed, but preferring performance when it isn't. It is notably not optimised towards people watching the "Mem Usage" column in Task Manager (which is incidentally pretty meaningless data - the "Virtual Memory Size" column is slightly more useful).

On the other hand, 776 is not the sort of figure I would expect for browsing a folder with 72 albums - when testing on my PC I was getting less than 75 for 200 albums, so it's possible something is going wrong. If you check the Virtual Memory Size column, and it also shows a memory in the hundreds for just opening the app and doing a browse of 72 albums, and you would like me to investigate further, send me a PM with more details.
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-04 19:50:34
ive just download new versio and for the first time in my life ive tried XUI version and i like it pretty much... just one thing hits my eye... is it possible whne sorting by size to have largest images first? maybe i did something wrong or am i the only one who realy need to see the most promising results on first place?
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-04 20:29:26
ive just download new versio and for the first time in my life ive tried XUI version and i like it pretty much... just one thing hits my eye... is it possible whne sorting by size to have largest images first? maybe i did something wrong or am i the only one who realy need to see the most promising results on first place?

Thanks, glad you liked it.

Where it says "Sort by" in the top right, click on it and choose Size (if you haven't already). Then click on the arrow just to the right of that so that it points up. The tooltip will then say "Descending". Art should then be sorted by size with the largest first.
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-04 21:53:52
Thanks, glad you liked it.

Where it says "Sort by" in the top right, click on it and choose Size (if you haven't already). Then click on the arrow just to the right of that so that it points up. The tooltip will then say "Descending". Art should then be sorted by size with the largest first.


oh that arrow was nearly invisible in ma VS thanks no ive found it
btw tried file explorer on whole collection (around 350 albums) and it eats around 150mb of ram... (but ive measured it just with taskman)
Title: Album Art Downloader
Post by: masterrossi on 2007-06-05 12:10:55
i tried the File Browser...looks quite good to me, but i found an issue that when you select multiple albums it wants to save the album art of all albums in to one folder (the one on top of the search list)

So if you press the save button it asks to overwrite the already existing album art and you have to manually go to the correct folder.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-05 12:31:22
i tried the File Browser...looks quite good to me, but i found an issue that when you select multiple albums it wants to save the album art of all albums in to one folder (the one on top of the search list)

So if you press the save button it asks to overwrite the already existing album art and you have to manually go to the correct folder.

Oops, sorry. Thanks for pointing this out, I'll make sure its fixed in the next version.
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-06 17:00:51
question: is it somehow possible to control from commandline which scripts should run after albumart is launched? i dont need to run 15 searches for album covers when im looking only for artist pic (in that case i need only artis and google scripts to run)... and if its possible then how? i was trying to find some wiki or search this thread but only think i found was a msg that it should be possible but didnt find how
Title: Album Art Downloader
Post by: DaSilva on 2007-06-06 17:38:37
What must I add in a foo_ui_panels skin code to autodownload a cover for the current playing song in the background without user interaction?
Thanks


No help here?
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-06 17:58:01
question: is it somehow possible to control from commandline which scripts should run after albumart is launched? i dont need to run 15 searches for album covers when im looking only for artist pic (in that case i need only artis and google scripts to run)... and if its possible then how? i was trying to find some wiki or search this thread but only think i found was a msg that it should be possible but didnt find how

Yes, you can use the command line parameter /sources to do this. For example: /sources "Artists.Trivialbeing,GoogleImage" should do what you are asking.

For more command line parameter information, pass the parameter /?.

Hope this helps!
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-06 19:48:05
Yes, you can use the command line parameter /sources to do this. For example: /sources "Artists.Trivialbeing,GoogleImage" should do what you are asking.

For more command line parameter information, pass the parameter /?.

Hope this helps!


rly thx
Title: Album Art Downloader
Post by: ReginaldLinux on 2007-06-07 01:42:13
every time i play a track, fb2k displays the most recent cover that i downloaded in AAD for every file. Am i doing something wrong? (Im using CepiPerez's dark config btw)
Title: Album Art Downloader
Post by: GHammer on 2007-06-07 13:02:14
Excellent tool, thanks!
I never get a hit on Google Images for even 'The Beatles'. But other sources pick up the slack.

Regarding memory usage under Vista:


CMD              = "D:\Program Files\Album Art Downloader\AlbumArt.exe"
Curr Dir          = C:\Install\
Path              = D:\Program Files\Album Art Downloader\AlbumArt.exe
PID/Parent PID    = 5660 / 1536
Virtual KB        Curr = 233,352 Peak = 259,576
Working Set KB    Curr = 59,008 Peak = 77,124
Page File KB      Curr = 39,800 Peak = 59,312
System Pool KB    Paged = 349 Nonpaged = 16
Private KB        = 39,800
Handles Count    = 501
Faults Count      = 295,497
Objects          = USER = 81  GDI = 146
Windows          = 54
Reads            = 133  Read KB = 216
Writes            = 158  Write KB = 360
Other IOs        = 29,101  Other KB = 8,609
Title: Album Art Downloader
Post by: tool++ on 2007-06-07 16:27:32
What on earth, the new UI completely ignores the visual style

Could you please fix the bugs in 0.6 before you continue development with the other one? Thanks!
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-07 18:34:43
What on earth, the new UI completely ignores the visual style
I think this is a WPF thing. It doesn't use the old windows GDI controls, so if you've a custom visual style then it won't affect how WPF draws. I'm not sure whether MS plans to have custom themes for WPF or not, from what I can tell you can fairly easily change the style of a single application, but there doesn't appear to be any way that a system-wide theme could be done. Even if they did, the theme would have to be written for WPF, it certainly wouldn't support themes that were written for the old GDI system.

Bad news for custom theme users, I'm afraid, as WPF becomes more mainstream.

Could you please fix the bugs in 0.6 before you continue development with the other one? Thanks!
Um, no, sorry. I looked at the source for the original one, and even poked in a couple of small fixes, but basically I considered it to be unmaintainable. That's why I decided to start a new codebase from scratch. I think its gone rather well, personally, but the original version is still around for those who disagree.

If david_dl, or Marc Landis are still interested in fixing bugs with the original version, then you might have some luck with them.

Alex
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-10 09:53:39
AlbumArt Downloader XUI v0.6 Preview Released

This version features the addition of a basic queueing system. By default, 3 search windows can be open at a time, although this number can be changed. If an additional search is made before one of these windows are closed, then instead of opening a new search window the search is queued up to be started once an open search window is closed. Using File / New Search Window will bypass this and always open an additional window, though.

Also in this release, I've changed the behaviour of the Script Cache DLL generation to be more Vista-friendly. Instead of creating the dll in the Scripts subfolder of the program folder (which requires admin privileges on Vista), the dll is created in a Scripts subfolder the app's local settings folder. If you are installing this version over an old version, and you are not using the installer, you should manually delete your "boo script cache.dll" file from the application's Scripts folder, otherwise you will see duplicate sources listed. The installer will do this automatically.

Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: Lunks on 2007-06-11 19:55:36
I can't seem to run Album Art Downloader.
Crash log:
http://pastebin.ca/559361 (http://pastebin.ca/559361)

Edit: 0.4.1 seems to run fine.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-12 07:52:02
I can't seem to run Album Art Downloader.
Crash log:
http://pastebin.ca/559361 (http://pastebin.ca/559361)

Edit: 0.4.1 seems to run fine.

That is very strange. I have had a look at the crash log you provided (thanks!), and I can't see any reason why that would happen.

If anyone else has had this error when starting Album Art Downloader, or if anyone else has successfully had it run on Win 2003 Server SP2 (which I don't have, so can't test myself), then I'd appreciate it if you could let me know.

It might also be useful to know whether version 0.5 (http://www.byalexv.co.uk/foobar/AlbumArtDownloaderXUI-0.5.zip) works for you, Lunks.

Thanks,

Alex
Title: Album Art Downloader
Post by: askbollen on 2007-06-12 16:44:21
I love this plugin, thanks for creating and maintaning it

There are a few sites i find useful for finding coverart that arent included in the current set of scripts. I'd be delighted to see them added.

http://rateyourmusic.com/ (http://rateyourmusic.com/)
http://www.audiophileusa.com/ (http://www.audiophileusa.com/)
Title: Album Art Downloader
Post by: cuotos on 2007-06-12 18:57:04
Extremely usful plugin -thanks al lot.

-but I got some problems with 0.6 alpha2.

With this command line I get an error message (illegal charakters or someting)

C:\Programme\AlbumArtDownloader\albumart.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg

With 0.6 alpha1 the same line works fine.

Furthermore album art downloader fails to save images with a Space in name when using the following command line:

C:\Programme\AlbumArtDownloader\albumart.exe -ar "%artist%"  -p I:\Bilder\%artist%.jpg

The image is saved but is named only the with the first word and has no extension (.jpg)

For example: The artist-tag is "Frankie Goes To Hollywood" -so the image should be named "Frankie Goes To Hollywood.jpg" but its saved as "Frankie"

album art downloader also crashes when i doubleclick an image which is already in my folder (to easily rename it to folder.jpg)

Anyone else with such problems?
Title: Album Art Downloader
Post by: cartman(2vd) on 2007-06-12 22:33:00
Extremely usful plugin -thanks al lot.

-but I got some problems with 0.6 alpha 2

try XUI version its newer and its under development (version you are tryin is not) but if you dont want to use it here are some advise for you:
With this command line I get an error message (illegal charakters or someting)

C:\Programme\AlbumArtDownloader\albumart.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg

With 0.6 alpha1 the same line works fine.

try:

C:\Programme\AlbumArtDownloader\albumart.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,) -f "folder.jpg"

or skip -f paramter absolutly and setup "save to. toolbar" jast add new preset and name it "folder.jpg" teh save images through clicking on that icon in save to toolbar
Furthermore album art downloader fails to save images with a Space in name when using the following command line:

C:\Programme\AlbumArtDownloader\albumart.exe -ar "%artist%"  -p I:\Bilder\%artist%.jpg

The image is saved but is named only the with the first word and has no extension (.jpg)

For example: The artist-tag is "Frankie Goes To Hollywood" -so the image should be named "Frankie Goes To Hollywood.jpg" but its saved as "Frankie"

try to use double quotes around -p parameter like:
-p "I:\Bilder\%artist%.jpg"

edit: minor typos
Title: Album Art Downloader
Post by: cuotos on 2007-06-12 23:18:23
thanks a lot cartman  -my bad -i really thought i already git the latest version but now i see the difference. stupid me  I'll try your suggestions -thanks again.
Title: Album Art Downloader
Post by: tool++ on 2007-06-12 23:40:42
What on earth, the new UI completely ignores the visual style
I think this is a WPF thing. It doesn't use the old windows GDI controls, so if you've a custom visual style then it won't affect how WPF draws. I'm not sure whether MS plans to have custom themes for WPF or not, from what I can tell you can fairly easily change the style of a single application, but there doesn't appear to be any way that a system-wide theme could be done. Even if they did, the theme would have to be written for WPF, it certainly wouldn't support themes that were written for the old GDI system.

Bad news for custom theme users, I'm afraid, as WPF becomes more mainstream.

Could you please fix the bugs in 0.6 before you continue development with the other one? Thanks!
Um, no, sorry. I looked at the source for the original one, and even poked in a couple of small fixes, but basically I considered it to be unmaintainable. That's why I decided to start a new codebase from scratch. I think its gone rather well, personally, but the original version is still around for those who disagree.

If david_dl, or Marc Landis are still interested in fixing bugs with the original version, then you might have some luck with them.

Alex


Why does this WPF crap need to ignore the visual style? Why not just use windows GDI controls? Or reference parts of the visual style and get its own bloody handling of the visual style (I've seen this done in many nonstandard controls such as the dropdown button on gaim). If whoever created thinks ignoring UI standards is the way to go then I hope it dies a horrible death along with all Java apps that fail to integrate properly.

It is really anti-foobar ethic

</bad mood>

On a more positive note, I do like the new version, if a little unresponsive/slow.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-13 08:15:10
Why does this WPF crap need to ignore the visual style?

I think mostly because custom visual styles are bitmap based, and WPF controls are vector based. I might be mistaken, but I was under the impression that Microsoft never officially supported third party visual styles (in fact, didn't you used to have to hack a system dll to get them to work?), so they probably don't regard supporting them as a UI standard.

While it might still die a death, it looks unlikely, as Microsoft are pushing it quite hard. I would say it is more likely to become the underlying rendering system for the OS, with backwards compatible hosting of GDI content within it where required. Vista is already moving that way.
Title: Album Art Downloader
Post by: AlexVallat on 2007-06-15 15:25:32
I love this plugin, thanks for creating and maintaning it

There are a few sites i find useful for finding coverart that arent included in the current set of scripts. I'd be delighted to see them added.

http://rateyourmusic.com/ (http://rateyourmusic.com/)
http://www.audiophileusa.com/ (http://www.audiophileusa.com/)


RateYourMusic.boo (http://www.byalexv.co.uk/foobar/rateyourmusic.boo), as requested :-)

The other one looks a bit specialist, but I suppose I might get round writing a script for it, unless anyone else fancies having a go.

Alex
Title: Album Art Downloader
Post by: j8ee on 2007-07-11 14:30:14
When using the 0.6 alpha 2 version I get messages like this when trying to add the artless folders in the browse window:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\My Music\John Paul Jones - 1999 - Zooma\folder.jpg'.

If I clear the default art filename box, there's no errors, but then every single album folder is considered to not have any artwork...

The folder.jpg filename error also shows up when using foo_run, using -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"

Removing the default filename and configuring the save toolbar works fine however.

But I'm a little confused about these different versions - 0.6 and 0.6 alpha looks completely different?

That alpha version is much more convenient for downloading multiple files when using the save toolbar. Also the preview is better, handling large files. However, the 0.6 XUI(?) version looks better in general, seems more stable, and it works very well if you only want to dl one single folder pic even if previewing large pictures is a little awkward since they aren't resized.
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-11 15:54:02
But I'm a little confused about these different versions - 0.6 and 0.6 alpha looks completely different?

Yeah, I appreciate that while they are at the same version number, that's going to be a bit confusing, sorry about that. I'm currently investigating bug reports from a user which, if I can come up with fixes, will result in v0.7, which will make things a bit clearer!

In any case, there are two branches of Album Art Downloader, yes. They are:

Album Art Downloader (http://downloads.sourceforge.net/album-art/AlbumArtDownloader-0.6-alpha2-bin.zip) (currently at v0.6 alpha 2, last updated 2nd March 2007)
[a href='index.php?act=findpost&pid=515339']Album Art Downloader XUI[/a] (currently at v0.6, last updated 10th June 2007)

Album Art Downloader is a continuation of the original CoverDownloader application, with some bug fixes and some additional features added in. The development of it has been taken over by Marc Landis, and I have also contributed some towards it. Marc is busy with other personal matters at the moment, so there has been no development work on this for a while.

Out of the twin desires of continual frustration with working with the CoverDownloader code, and a desire to do something cool using WPF (makes pretty UIs, basically), I decided to re-write Album Art Downloader from the ground up. This project I called XUI (experimental user interface). At the moment it is just me working on it, though I am hoping Marc might join in when (if?) he has more time. Of course others are welcome too, this is an open source project.

I am hoping it will replace the main Album Art Downloader branch in time, but for the moment it lacks some of the functionality that the main branch has, most notably the foobar library browser and presets (like the toolbar save buttons). I don't want to be pushing anyone into taking a step backwards if they rely on these features, so for the moment I'm offering this XUI project as a Preview Release.

I haven't had much time to work on XUI myself recently, but I was happy it had reached a stable and useful plateau. Other than bug fixes, the next feature I want to put into it is [a href='index.php?act=findpost&pid=492762']Presets[/a]. No timetable for this yet, but I wouldn't expect to see anything for at least a few weeks, as I haven't started it yet.

So, in summary:

Album Art Downloader XUI: Newer, prettier, hopefully nicer to use, some new features, command-line compatibility with CoverDownloader (works with REACT2)
Album Art Downloader (0.6 alpha 2): Foobar Library Browser, Toolbar Save presets, less resource-intensive, follows custom Windows Visual Styles.

Hope this helps!

Alex
Title: Album Art Downloader
Post by: j8ee on 2007-07-12 01:21:35
Thanks, that clear things up, yes! I skimmed through this thread, but I got it mixed up... I thought the alpha version was the rewrite, and that development on the XUI one was supposed to be halted in practice. Looking closer at the XUI version, I start to realize the work behind it, and it's got some really nice features. The overview and sorting of pictures is especially good.
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-15 09:58:17
AlbumArt Downloader XUI v0.7 Released

This version is a stability release, with work mostly around memory management and bug fixing. I have also moved the releases to SourceForge (http://sourceforge.net/projects/album-art/), which should mean an end to any problems with downloading.

Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: SoleBastard on 2007-07-16 20:36:05
AlbumArt Downloader XUI v0.7 Released

This version is a stability release, with work mostly around memory management and bug fixing. I have also moved the releases to SourceForge (http://sourceforge.net/projects/album-art/), which should mean an end to any problems with downloading.


A very nice tool, it does exactly what I would like to have my dream album art find tool do, thank you! .
Too bad memory usage skyrockets to 1GB (!) and comes to a crawl after 20 albums or so (out of 200). I'm running a fully updated WinXP, any tips to prevent this? I'll be glad to help, just tell me
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-17 07:51:26
A very nice tool, it does exactly what I would like to have my dream album art find tool do, thank you! .
Too bad memory usage skyrockets to 1GB (!) and comes to a crawl after 20 albums or so (out of 200). I'm running a fully updated WinXP, any tips to prevent this? I'll be glad to help, just tell me


Damn, I thought I'd fixed the memory issues in 0.7. Does it slow to a crawl when you are using the file browser to search through your collection? Or is it only after you start to download them? If it's not too much hassle, could you check if you get the same problem if you download art for the albums individually, rather than using the queue? (you can double click on an album in the file browser to open a search window for it).

If it's still misbehaving I'll keep looking, and see if there are any other memory leaks I can track down.

Of course, needless to say, if you haven't upgraded to 0.7 yet, then do that!

Alex
Title: Album Art Downloader
Post by: SoleBastard on 2007-07-17 19:04:55
I have a fresh install of 0.7, never used any older version.

Searching with the file browser was not slowing down  although it was not very responsive while searching (tested with >1000 albums). Individual downloading of albums is no problem.

The problem was when downloading the album previews (queue lists says 3 simultaneously although I just get 2 search windows). I first tried with >1000 albums in the queue but that was completely impossible because the program went unresponsive (had to force end task). Then I stepped back to queuing around 200 albums which worked ok, a bit slow for my taste but certainly workable. but after I came to album 25 or something memory usage reached 1GB and the program started to slow down and became unresponsive again.

Then I decided to cancel everything in the queue but I saw that was not possible (no 'cancel all' button). So I closed the queue window and then search windows but they just came popping up. Closing down the main window didn't help either. The only way to stop the program was by end task it again.

Again, I really like the concept of the program and I don't like to complain about it. I just report my experiences and I hope you can do something with it .
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-17 21:30:38
I have a fresh install of 0.7, never used any older version.

Searching with the file browser was not slowing down  although it was not very responsive while searching (tested with >1000 albums). Individual downloading of albums is no problem.

The problem was when downloading the album previews (queue lists says 3 simultaneously although I just get 2 search windows). I first tried with >1000 albums in the queue but that was completely impossible because the program went unresponsive (had to force end task). Then I stepped back to queuing around 200 albums which worked ok, a bit slow for my taste but certainly workable. but after I came to album 25 or something memory usage reached 1GB and the program started to slow down and became unresponsive again.

Then I decided to cancel everything in the queue but I saw that was not possible (no 'cancel all' button). So I closed the queue window and then search windows but they just came popping up. Closing down the main window didn't help either. The only way to stop the program was by end task it again.

Again, I really like the concept of the program and I don't like to complain about it. I just report my experiences and I hope you can do something with it .

Thanks for your feedback, it is helpful to know how you've been using it. I'm afraid that having around a thousand albums in the queue is pretty much always going to be unworkable without a redesign of the queuing system. I had not considered that anyone would be willing to sit in front of this app searching for 1000 album covers, one after the other. To do a task of that magnitude, I'd be looking at designing an entirely different sort of UI, but I'm afraid for the moment, I'm considering it outside of the scope of this project.

I certainly agree that there should be a Cancel All button, I'll see that it gets in there for the next release. Perhaps some sort of warning when queuing large numbers of searches too.

To easily end the program, though, you ought to be able to just go to File/Exit, which avoids using End Task.

Alex
Title: Album Art Downloader
Post by: SoleBastard on 2007-07-17 22:59:39
Hehe, I guess queuing >1000 albums was a bit too much, to be true I hadn't considered how much time it would take to manually go through all the albums in a row 

File/Exit isn't really working when the program becomes unresponsive (or perhaps I was just too inpatient)

As I reported 200 albums in the queue is also not workable. I'll will try and figure out an optimum/maximum queue length somewhere in the future. What would be nice for that is to be able to select multiple folders at once using the browser in the file browser window using standard windows options like drawing a selection box, using ctrl/shift, etc. Or perhaps dragging it from explorer directly into the file browser window? Anyhow, I think I'm just proof that there's always a 'better' fool
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-18 07:59:03
Or perhaps dragging it from explorer directly into the file browser window?

I like that. Can't see any reason it wouldn't be possible, so that should make it in to the next release too.

As far as the queue goes, I'm thinking of popping up a warning if you try to queue more than 50. Nice round number, and fairly unlikely that anyone actually wanted to do 50 searches in a row, rather than just selecting everything and choosing "Search".
Title: Album Art Downloader
Post by: hal9001 on 2007-07-18 12:32:54
RateYourMusic.boo (http://www.byalexv.co.uk/foobar/rateyourmusic.boo), as requested :-)

Great site for covers, especially singles, but the script (under 0.6 alpha 2, as the XUI thingy takes the mojo off my pc) gives the following error :
Quote
Method 'AlbumArtDownloader.ScriptTask.EstimatedCount' not found.
Title: Album Art Downloader
Post by: Ignite339 on 2007-07-20 02:27:20
Could someone PLEASE make a script for revhq.com? I would do it myself but I'm pretty clueless.\

EDIT: Also, the RYM one works great for me, awesome job!
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-21 14:35:06
Could someone PLEASE make a script for revhq.com? I would do it myself but I'm pretty clueless.\

EDIT: Also, the RYM one works great for me, awesome job!

Hmm... they're a bit small. But I suppose they're probably not available anywhere else, they seem a little obscure. Still, the scripting was interesting, so here it is: revhq.boo (http://www.byalexv.co.uk/foobar/revhq.boo)

Alex
Title: Album Art Downloader
Post by: edwardar on 2007-07-23 15:53:15
First, thanks very much for this program - it's really great!

I have a small problem/request:
I use the AlbumArtDownloader with REACT 2 and it works ok - similarly to the old CoverDownloader - except that the default filename does not seem to be passed through the command line. Because of this, every time I rip a CD, I need manually to change the save location and filename to suit REACT.

Any chance you could incorporate the old command line switch which specified the default filename? Or am I doing something wrong?


Thanks again!

Ed

edit: my mistake, appears to be simply a problem with my REACT config.
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-23 17:21:59
--deleted-- no longer relevant, was a reply to above post.
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-28 12:54:28
AlbumArt Downloader XUI v0.8 Released

Another release, with some new features. I've added Drag and Drop support to drop files and folders on to the File Browser window, a Cancel All button in Queue Manager window, a warning if queueing a large number of searches from the File Browser, and finally the ability to force a Queued search to start immediately, by double clicking it in the Queue window.

Download:
[a href='index.php?act=findpost&pid=515339']See main post for latest version[/a]
Title: Album Art Downloader
Post by: dano on 2007-07-28 16:21:50
Thanks for this program.
I wonder why you are not making your own topic? Would be more clear. I also miss some sort of central documentation. ATM we must dig in this thread.

1. I hope you can add image dimensions to amazon scripts. If you use another query url you can get the resolutions:
Code: [Select]
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=XXXX
&Operation=ItemSearch&SearchIndex=Music&Keywords=BlaBla&ItemPage=1&ResponseGroup=ItemAttributes,Small,Images

something like that..

2. To see the full picture, you must click on it and hold the mouse button.
For me holding the mouse button down is not so comfortable.
I would prefer if I can click on it, then the image is loaded and I click a second time to close it.
Title: Album Art Downloader
Post by: AlexVallat on 2007-07-28 18:43:31
Thanks for this program.
I wonder why you are not making your own topic? Would be more clear. I also miss some sort of central documentation. ATM we must dig in this thread.
I didn't start a new topic, because this is the one everyone knows for Album Art Downloader. I suppose we could all migrate to a new topic, but I don't feel any pressing need to.

Some sort of documentation would be a good thing, yes. Not that I'm volunteering to write it, but I agree in principle that it wouldn't hurt. The wiki page (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components_0.9/AlbumArtDownloader_XUI) would probably be a good place for it - there is some info there already.

1. I hope you can add image dimensions to amazon scripts. If you use another query url you can get the resolutions
Oh, I like that. The amazon script wasn't one of mine, but getting the image dimensions is worth a re-write, certainly. Thanks for the query URL, I've put up a new amazon script that uses it here: amazon.boo (http://www.byalexv.co.uk/foobar/amazon.boo)

2. To see the full picture, you must click on it and hold the mouse button.
For me holding the mouse button down is not so comfortable.
I would prefer if I can click on it, then the image is loaded and I click a second time to close it.
Thanks for the feedback. I wasn't really expecting people to be looking at the images for long, just a quick check that it was the right thing, then release.

I'll probably add an option for click to close somewhere in the next version, but it won't be the default behaviour, as it's a bit non-obvious. In the meantime, if you are holding the button down while it downloads the full size image, you could try clicking and releasing once, then waiting until the 'downloading' icon disappears from the thumbnail before clicking and holding to preview.

Alex
Title: Album Art Downloader
Post by: dano on 2007-07-31 20:29:54
Thanks for the updated script, seems to be fine.
I also think an option for the click behavior is a good way.
Title: Album Art Downloader
Post by: Imperecedero on 2007-08-14 19:03:55
the last version works great even i dont quiet understan why this program is so heavy, my computer dies when i use this program, i takes too long to load....

Anyway great piece of code, but just one thing i think is missing, all my cover art is named "cover.jpg" but apparently AAD use "folder.jpg" format for the File browser function. So when i search inside my music directories AAD found zero album art because they are all named "cover". There is somewhere when i could change the default name from "folder" to "cover".

When i use AAD from foo_run i can tell it to use "cover", bue when i execute it alone, "folder" is the default thing.
Title: Album Art Downloader
Post by: AlexVallat on 2007-08-14 20:10:45
There is somewhere when i could change the default name from "folder" to "cover".
Yes. Click the "Options..." link in the file browser, just under the box where the search path is. This will expand the options for the file browser, one of which is what pattern to use for the image file search. Change this to cover.jpg, and you should be good to go.

For information, this pattern supports wildcards (*) and subfolders wildcards (\**\) too.
Title: Album Art Downloader
Post by: Imperecedero on 2007-08-15 05:22:15
i did exactly what you say but the File Browser is still searching for "folder.jpg" album art. Am i missing something?
Title: Album Art Downloader
Post by: AlexVallat on 2007-08-15 08:03:02
i did exactly what you say but the File Browser is still searching for "folder.jpg" album art. Am i missing something?
So, you start Album Art Downloader, you click File, New, File Browser, click Options and fill in cover.jpg in the image search box. You then click the "Search" button, and the results area fills with albums. The Artwork Status column show what, just "Not Present"? Or does it find a Folder.jpg that it shouldn't? Could you try copying one of your Cover.jpg to Folder.jpg, and see if it is found?

I'm not sure what else I can suggest, that is the way to do it, and it finds cover.jpg just fine for me here. You could try using *.jpg instead, I suppose, that might help.
Title: Album Art Downloader
Post by: Imperecedero on 2007-08-15 16:27:20
jajajajjaja this is why i always failed my english tests, i never read the questions so i never answer what i should.

The options button in the File Browser was always there, i just dont see it. 

Sorry for your time 
Title: Album Art Downloader
Post by: jenzore on 2007-08-15 18:32:55
Hey, the Artist, Trivialbeing isn't working for me. I don't find any artist's images. Is a the failure of the tool or the websites?

Ok, Temporarily Offline.


Are there any alternatives besides http://www.artisttrivialbeing.org/ (http://www.artisttrivialbeing.org/)? And did anybody design a script for it?
Title: Album Art Downloader
Post by: hal9001 on 2007-08-19 14:27:20
I love XUI version 0.8. It even seems to load faster than previous XUI builds.

1. I use FB2K via foo_run. My command line is:
Code: [Select]
albumart.exe -ar "%artist%" -al "%album% OR %title%" -p "C:\#pix2\CD Covers\%artist% - %album% FRONT (%name%).jpg"

while %name% refers to an internal switch within albumart.exe, and does not derive from foobar. It's great for multiple releases and accidental matches and such.
For some reason this switch is ignored while going to the app. Is there any workaround that could transfer %name% as-is to the app?

2. Wonderful job with the RateYourMusic script. Could anyone post a script for http://www.israel-music.com/ (http://www.israel-music.com/)? It's more or less the only source for Jewish/Israeli covers.

3. Could you add a command-line option for 'sort by' (name/size/source)?
Title: Album Art Downloader
Post by: mobyduck on 2007-08-20 09:25:43
Is there any workaround that could transfer %name% as-is to the app?
Have you tried '%name%'?

HTH.

Alessandro
Title: Album Art Downloader
Post by: pholzmann on 2007-08-20 10:50:51
Rev 0.8 crash report...

Code: [Select]
Album Art Downloader has encountered a fatal error, and has had to close.
If you wish to report this error, please include this information, which
has been written to the file: C:\apps\media\audio\REACT2\coverdownloader\errorlog.txt

App version: 0.8.0.0, running on Microsoft Windows NT 5.1.2600 Service Pack 2

System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\Pete\Local Settings\Application Data\AlbumArtDownloader\albumart.exe_Url_mu2psj2qqjbnx4e5zddnsbg4k1jy1e5q\0.8.0.0\user.config' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Configuration.Internal.WriteFileContext.FileIsWriteLocked(String FileName)
   at System.Configuration.Internal.WriteFileContext.ReplaceFile(String Source, String Target)
   at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
   at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.W
riteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
   at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
   at System.Configuration.ClientSettingsStore.ClientSettingsConfigurationHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
   at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
   at System.Configuration.Configuration.Save()
   at System.Configuration.ClientSettingsStore.WriteSettings(String sectionName, Boolean isRoaming, IDictionary newSettings)
   at System.Configuration.LocalFileSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
   at System.Configuration.SettingsBase.SaveCore()
   at System.Configuration.SettingsBase.Save()
   at System.Configuration.ApplicationSettingsBase.Save()
   at AlbumArtDownloader.Properties.WindowSettings.SaveWindowState()
   at AlbumArtDownloader.Properties.WindowSettings.window_Closing(Object sender, CancelEventArgs e)
   at System.Windows.Window.OnClosing(CancelEventArgs e)
   at AlbumArtDownloader.ArtSearchWindow.OnClosing(CancelEventArgs e)
   at System.Windows.Window.WmClose()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.UnsafeSendMessage(IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
   at System.Windows.Window.Close()
   at AlbumArtDownloader.ArtSearchWindow.AutoCloseOnSave(Object sender, PropertyChangedEventArgs e)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at AlbumArtDownloader.AlbumArt.NotifyPropertyChanged(String propertyName)
   at AlbumArtDownloader.AlbumArt.SaveInternal(Object sender)
   at AlbumArtDownloader.AlbumArt.RetrieveFullSizeImage(WaitCallback callback)
   at AlbumArtDownloader.AlbumArt.Save()
   at AlbumArtDownloader.ArtSearchWindow.SaveExec(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at AlbumArtDownloader.App.AlbumArtDownloader.IPriorInstance.Run()
   at AlbumArtDownloader.InstanceMutex.RunAppAsServiceHost(IPriorInstance instance, String channelUri)
   at AlbumArtDownloader.App.Main(String[] args)
Title: Album Art Downloader
Post by: pholzmann on 2007-08-20 11:14:35
0.8 bug report:

Several times now, the downloader has identified GIF or BMP files as valid album art... and renamed them as JPG files while downloading.

I'm not sure whether GIF or BMP's are good album art candidates (it certainly leads me to request file size in KB , and/or file type indicator, as a feature)... but I guarantee renaming to a different extension causes other software to get very confused!

Here's an example:
Artist: Keith Green
Album: The Ministry Years
Source: Google Image

Lots of stuff comes up. Look at the stylized face art, which is silver or green (disc 1, disc 2). The green face, 185x187 size, from Google Images, is a GIF file:
(http://goodtheology.com/images/covers/green_1980.gif)
Title: Album Art Downloader
Post by: AlexVallat on 2007-08-20 13:24:56
OK, I haven't checked here for a while, time for some answers:
Is there any workaround that could transfer %name% as-is to the app?
I think you use %% to escape a % sign in foo_run, so using %%name%% should do the job.

Could anyone post a script for http://www.israel-music.com/ (http://www.israel-music.com/)? It's more or less the only source for Jewish/Israeli covers.
Sorry, I don't have time at the moment. Perhaps someone else will take a look at it...

3. Could you add a command-line option for 'sort by' (name/size/source)?
Sounds reasonable. Should make it into the next version, whenever I get round to one.


Rev 0.8 crash report...
Thanks for reporting this. The error has occurred because AAD was unable to read its settings file: "C:\Documents and Settings\Pete\Local Settings\Application Data\AlbumArtDownloader\albumart.exe_Url_mu2psj2qqjbnx4e5zddnsbg4k1jy1e5q\0.8.0.0\user.config". It recieved an Access Denied error. Without being able to load its settings, it can't run. I don't know why your system has denied access to this file for AAD.


Several times now, the downloader has identified GIF or BMP files as valid album art... and renamed them as JPG files while downloading.
Make sure that the filename to save your images as ends in .%extension%, instead of .jpg, that way it will name them appropriately.

Alex
Title: Album Art Downloader
Post by: hal9001 on 2007-08-21 01:21:40
Is there any workaround that could transfer %name% as-is to the app?
I think you use %% to escape a % sign in foo_run, so using %%name%% should do the job.
Brilliant. It works now, only apparently I had to add '(' ')' for the parenthesis I wanted to add for the %name% value, otherwise the statement is completely ignored. Thanks for your help.

One more thing: Even though I have the "new window" option off on albumart.exe and "simultanious runs=1" on foo_run, the app still loads a new window everytime I run a new search from Foobar. Can there be an option to allow allow only one instance/window of the app run?
Title: Album Art Downloader
Post by: Poromenos on 2007-08-27 18:37:05
Hey, are you the Alex Vallat that has byalexv.co.uk? If so, we used to talk a lot on ICQ 10 years ago or so. I see you still have a VB module I wrote in your "Useful stuff library" part (again, assuming it's you).

Anyway, I downloaded your program but can't get it to run. I have .NET 2.0 runtimes installed but the program just crashes on startup... It's a fresh XP install, so I'm probably missing some other dependency.

Edit: Never mind, just noticed the 3 in ".NET 3.0 required"
Title: Album Art Downloader
Post by: phunkydizco on 2007-08-31 17:07:02
Are there any commandline options in the new xui version?
Title: Album Art Downloader
Post by: AlexVallat on 2007-08-31 18:04:37
Are there any commandline options in the new xui version?
Yes. It is command-line compatible with the original CoverDownloader, so should work with React2. The full list of command parameters is:

Code: [Select]
 /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.

 /localImagesPath
              Path to search for local image  (/localImagesPath "\Art\Unsorted\**\*.jpg")
              files in. If not specified, the
              path to save art in is used.
             
              The following variables can be used in paths:
              %artist%    Artist searched for
              %album%      Album searched for
              *            Wildcard, matches any characters
              \**\        Subfolder search. Any folders will match
                            at this point in the path. For example
                            "\Art\Unsorted\**\*.jpg" will match:
                              \Art\Unsorted\image.jpg
                              \Art\Unsorted\misc\image.jpg
                              \Art\Unsorted\misc\old\image.jpg
                           
                            "\Art\Unsorted\*\*.jpg" will match only:
                              \Art\Unsorted\misc\image.jpg

 /autoclose  Closes the search window after  (/autoclose)
              saving. To avoid closing, use
              Save As.
              May be abbreviated to /ac
             
              Append "off" to disable closing (/autoclose off)
              the search window after saving,
              if this option is on by default.

 /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".

 /fileBrowser                                (/fileBrowser "\Music")
              Opens a File Browser window. If
              a path is specified, starts
              searching that path immediately.
              If no path is specified, the
              browser window is just opened.  (/fileBrowser)
             
              If other parameters are not
              specified, then a search window
              will not be shown initially.
Title: Album Art Downloader
Post by: phunkydizco on 2007-09-01 14:13:04
When I search for album art the GUI freezes and I cannot minimize the window.

So my question to the developers: Are the album art downloads running in an own thread? It seems that they are not decoupled from the GUI.
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-01 15:52:39
When I search for album art the GUI freezes and I cannot minimize the window.

So my question to the developers: Are the album art downloads running in an own thread? It seems that they are not decoupled from the GUI.

Yes, the searches and art downloads are running in a non-UI thread, and should not be blocking you from minimising the window, or interacting with other window controls (such as the Stop All link, for example). Are you using the latest (0.8 XUI) version?
Title: Album Art Downloader
Post by: phunkydizco on 2007-09-01 16:17:23
I attached a screenshot of my settings. Perhaps you can test, if you have the same problems?

[attachment=3682:attachment]
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-01 19:09:19
I attached a screenshot of my settings. Perhaps you can test, if you have the same problems?

[attachment=3682:attachment]

Thanks for that. I tried running a search with those settings, and it was fine to start with. It does return a very large number of results, though, and as the number of results increased, the responsiveness decreased, unless the search was stopped first.

This is not a case of the search or download threads locking up the UI, but the UI thread itself doing too much work trying to resort, reflow and layout the results list when it has a large number of items in it. I'm currently working on some ideas for improving performance in this area, so hopefully next version will be better.

Until then, I'd generally suggest choosing a few sources you like rather than searching on all of them like that, or using the Stop All button, or setting a low limit on max number of results for the worst offenders like the Google and Amazon searches.

Alex
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-02 19:38:02
On the above point, also should point out that sorting by Size and having automatic downloading of Unknown Size albums, while admittedly useful, does cause the results list to constantly re-sort itself, which adds to the problem. Not that that excuses the poor performance, but until I can get this next version out, it's worth knowing that switching it to sort by name or source will give better performance with large numbers of results.

On a happier note, as part of the work I'm doing on the new version, I've updated a couple of scripts which have become broken by website updates. Here are:

coveralia.boo (http://www.byalexv.co.uk/foobar/coveralia.boo) v0.5
yes24.boo (http://www.byalexv.co.uk/foobar/yes24.boo) v0.3

PS: Foobar library browsing is now working on my dev build, so that will *definitely* be in 0.9

Alex
Title: Album Art Downloader
Post by: suamikim on 2007-09-05 15:18:28
Hi,

first of all: Great work! I haven't tried the new version for Framework 3.0 but at the moment i'm really satisfied with the one for 2.0.

There is only one thing i'm missing:

A plugin for one of the best cover-sites in the net (imho): www.darktown.to

Because i have no clou about writing such a plugin myself i would really appreciate if someone could do that for me if it's possible!

Thanks,

mik
Title: Album Art Downloader
Post by: jahpal on 2007-09-07 04:12:05
alex xcuse my dome question but if the scripts are not made i dont know how to use them. this scripts wont do me any good . and the other thing is im running v0.6 alpha2 .  THANK YOU AnyWay...
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-07 07:58:38
A plugin for one of the best cover-sites in the net (imho): www.darktown.to

Had a very brief look at that site. Not touching that with a barge pole. Someone else can, if they like.

alex xcuse my dome question but if the scripts are not made i dont know how to use them. this scripts wont do me any good . and the other thing is im running v0.6 alpha2 .  THANK YOU AnyWay...

Sorry, I don't understand what you are asking.

If you are asking how to write a script, then the first thing you're going to need is most likely a good knowledge of Regular Expressions, or some other way of automatically searching for patterns in a page. If you know this, then the easiest way to do a script is to start with an existing one and modify it.

If you are asking how to use a script (.boo) file that you have, then the answer is that you put it in the Scripts folder of wherever you installed album art downloader to ("c:\program files\album art downloader\scripts" for example). It will be picked up next time you run the program.

If you are asking for something else, then please try and explain more clearly what it is.

Alex
Title: Album Art Downloader
Post by: suamikim on 2007-09-07 08:41:46
Had a very brief look at that site. Not touching that with a barge pole. Someone else can, if they like.


Danke für die Antwort. Nachdem ich leider nicht selbst in der Lage bin den 2. Satz selbst zu übersetzen frage ich einfach mal nach, was das genau zu bedeuten hat (dass du es nicht machen wirst kann ich schon rauslesen, aber die genaue Bedeutung des Satzes erschließt sich mir nicht so ganz):

"Not touching that with a barge pole."??

Danke, mfg

ps.: Ich hoffe es stört hier niemanden, wenn ich dieses eine Post in Deutsch verfasse
Title: Album Art Downloader
Post by: david_dl on 2007-09-07 10:00:43
http://www.hydrogenaudio.org/forums/index....974#entry149483 (http://www.hydrogenaudio.org/forums/index.php?showtopic=3974#entry149483)

Quote
"Not touching that with a barge pole."??


Maybe it's the multiple pornographic pop ups, the site being in German, or that it looks orientated towards piracy?
Title: Album Art Downloader
Post by: foosion on 2007-09-07 10:41:12
"Not touching that with a barge pole."??

It means he doesn't want to get anywhere near it. Another variation of this saying uses the term "a (proverbial) 10 ft pole" (10 ft is approximately 3 m).

ps.: Ich hoffe es stört hier niemanden, wenn ich dieses eine Post in Deutsch verfasse

Don't make a habit of writing your posts in German unless you intend to provide a full English translation.
Title: Album Art Downloader
Post by: jahpal on 2007-09-07 16:21:30
Alex you did answer what i needed to know . i thin k pretty clear . thank you
Title: Album Art Downloader
Post by: fuffi on 2007-09-08 17:08:24
2Marc Landis
thank you, this program! works like a charme!


anyway, using it, lets me think, i have some problems with my eyes 8-)
the font, compared to all other windows, seems blurry.
is there a way to disable this?

keep up the good work!
thanks again.
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-08 18:52:13
2Marc Landis
thank you, this program! works like a charme!

anyway, using it, lets me think, i have some problems with my eyes 8-)
the font, compared to all other windows, seems blurry.
is there a way to disable this?

keep up the good work!
thanks again.


The blurry-fonted one would be my XUI version, I think, not Mark's original! :-) It's called anti-aliasing, is part of how the WPF framework draws itself, and as far as I can tell, there is no way to turn it off (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=319013&SiteID=1), sorry. Anti-aliasing and clear-type seems to be in fashion at the moment, although I've got to say I'm more in agreement with you that font-fuzzing is not the great step forwards it is made out to be.

Alex
Title: Album Art Downloader
Post by: fuffi on 2007-09-08 20:06:39
The blurry-fonted one would be my XUI version, I think, not Mark's original! :-) It's called anti-aliasing, is part of how the WPF framework draws itself, and as far as I can tell, there is no way to turn it off (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=319013&SiteID=1), sorry. Anti-aliasing and clear-type seems to be in fashion at the moment, although I've got to say I'm more in agreement with you that font-fuzzing is not the great step forwards it is made out to be.

Alex

thanks for that fast response and the clarification :-)

i originally came from a google search for "cover downloader for foobar", landed at the cover downloader-thead here, installed it and tested it, then, at the end of the thread, there was a new topic, which leads me to the album art downloader, which i downloaded and tested as well, and on sourceforge, where i wanted it to download, i saw the XUI version and now i'm totally confused, *but* have a working program for downloading covers *and* a wonderful crew, which helps here in the forum! :-) thanks for that, too!!

cheers,
Title: Album Art Downloader
Post by: AlexVallat on 2007-09-09 09:06:05
AlbumArt Downloader XUI v0.9 Released

It's been a while, I know, but I hope you find this latest release to be worth the wait. I've made some major improvements to performance, particularly when dealing with larger numbers of results, and using the Automatic Full-size Image download options.

I've also finally added a Foobar2000 library browser - to use this you will have to have the [a href='index.php?showtopic=39946']Foobar2000 COM Automation Server[/a] installed, though.

Another new addition is a persistent preview window. If, instead of holding down the mouse on a thumbnail, you right click on it and select "Preview..." then a new window is opened to preview that result, which will only be closed when you close it, and allows you to zoom and pan around the image.

As requested, there is now a command line parameter for sorting:

Code: [Select]
 /sort (name|size|source)[+|-]
              Sets the sorting to use for the (/sort size-)
              results.
              May be abbreviated to /o        (/o size-)
              
              The first character may be - to
              indicate descending search, or
              + to indicate ascending. If it
              is omitted, ascending is assumed.
              
              The field to sort by must be one
              of:
               name (may be abbreviated to n) (/o n+)
               size (may be abbreviated to s)
               source (may be abbreviated to o)

Changelog:Download:
I'm moving Album Art Downloader XUI to a new thread. This one is getting a little unwieldy, and not controlling the top post is becoming a hassle (it still links to 0.4!). I hope you'll all join me over here:

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

Where the first post has, and should always have, download links to the latest version.

Thanks,

Alex
Title: Album Art Downloader
Post by: Synthetic Soul on 2007-09-09 12:40:22
I have inserted a link to the new thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392) in the first post.
Title: Album Art Downloader
Post by: iElectric on 2007-09-16 16:22:13
I get error when processing 157 files in queue:

http://cl1p.net/downloadartalbum/ (http://cl1p.net/downloadartalbum/)
Title: Album Art Downloader
Post by: TedFromAccounting on 2007-09-29 16:45:40
Has anyone created a script for buy.com yet?
Title: Album Art Downloader
Post by: Totyo on 2008-02-06 07:28:20
please create a script for http://www.junodownload.com/ (http://www.junodownload.com/)
Title: Album Art Downloader
Post by: radi0n on 2008-02-17 13:44:11
I pun in Run services (Foobar):

C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe "%artist%" "%album%" "$replace(%path%,%filename_ext%,folder.jpg)"

and it dont work.Now i use vista 64bit system. but when i use xp 32bit script works fine.
Title: Album Art Downloader
Post by: Bollerkopp on 2008-02-29 14:13:39
hi,

i tried to use foo_run with this album art downloader: http://sourceforge.net/projects/album-art (http://sourceforge.net/projects/album-art)

but my code doesn't work. when i klick the foo_run-command, but nothing happens  .NET framework 2.0 is installed.

this is my code:

Quote
"D:\Programme\foobar2000\Coverdownloader\albumart.exe" -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)" -f "cover.jpg"


any ideas?

thx in advance.
Title: Album Art Downloader
Post by: LXtreme on 2008-02-29 19:49:13
any ideas?

i use the latest foo_run and the latest AAD...for me the following works...

Code: [Select]
D:\Programme\foobar2000\Coverdownloader\albumart.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)cover.jpg"
Title: Album Art Downloader
Post by: thuan on 2008-03-01 00:55:39
I don't know which version you use, but if it is of the XUI branch, you need .NET 3.5 to run its latest version.
Title: Album Art Downloader
Post by: sleepy_yellow on 2008-03-11 19:44:18
for some reason i cant see any other posts expect for the first one so i dont know if anybody asked this already.

i was able to figure it out a while back but i used album downloader a while back and awesome application love it.
however i was never able to figure out how to make the images save into the directory, i mean i saw this one scrip for a guy that had it in his theme for got his name he used foo_run and i somehow searched out the artist and title from foobar and then saved it into the location where the file is so i dont have to go look for the directory.
his code didnt work for me.

and if i look at your syntax could i use that like that
filepath[albumart.exe] [-ar %artist%] [-al %album] [-p %path]
is it wrong if i  would want it to work with foo_run?
Title: Album Art Downloader
Post by: Dreamless on 2008-03-21 03:07:23
sleepy yellow, use -p "$replace(%_path%,%_filename_ext%,)\"

I have a .boo request. Can someone make a amazon.jp version?
Title: Album Art Downloader
Post by: poisonborz on 2008-04-24 22:57:19
Hola again, AAD became an even more awesome tool since I've updated it...

I have a feature idea: with AAD it was always a bit tricky to manage albums that had more than one Artist (VA albums) Path pattern is one way to overcome this, but here is another idea: in the browser, there could be a new sorting column: Path - this would show the file path of the element. Elements from the same folder would have no thin white margin on top/bottom as they have by default (= or other non highly visible marking)

I know you don't like methods that assume a certain path structure, but this would have little to no impact on the general feel, and is a great help to everyone who stores files in album folders (95% of users  )

(And please, even if multi-windowed gui is hardcoded, couldn't you make one parent window to hold all the others? 3-4 open windows of the same app is not a good sight even on high resolution)
Title: Album Art Downloader
Post by: anonnamiss on 2008-04-25 20:42:31
Does this program allow you to embed art into a file?
Title: Album Art Downloader
Post by: d0ng on 2008-04-25 23:14:35
This thread is a bit outdated, might want to check out this thread instead.

http://www.hydrogenaudio.org/forums/index....7392&st=320 (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392&st=320)
Title: Album Art Downloader
Post by: kopf on 2008-05-16 19:15:34
just upgraded to the latest version. had to install .net framework 3.5 too.

now, when i try to search something, the program crashes, and the following error report is sent to microsoft:

EventType : clr20r3    P1 : albumart.exe    P2 : 0.10.1.0    P3 : 47090190
P4 : mscorlib    P5 : 2.0.0.0    P6 : 471ebc5b    P7 : 1295    P8 : 25   
P9 : system.typeloadexception
Title: Album Art Downloader
Post by: kanak on 2008-06-10 18:23:45
Hi Alex,

I noticed that the file browser reads "artist" tag instead of "album artist" tag, which makes it difficult to use with various artist albums. Is this a bug?
Title: Album Art Downloader
Post by: ladiko on 2008-07-11 07:15:25
works great! do you think you could add a script for last.fm? or another website with a lot of artist images? cause i prefer artist images instead of album covers.
Title: Album Art Downloader
Post by: dewey1973 on 2008-07-11 08:30:09
Anyone else not getting results from the Album Art Exchange script?  I go to the site and the cover is there but the search returns no results in the application.
Title: Album Art Downloader
Post by: Funkstar De Luxe on 2008-07-26 17:23:07
I pun in Run services (Foobar):

C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe "%artist%" "%album%" "$replace(%path%,%filename_ext%,folder.jpg)"

and it dont work.Now i use vista 64bit system. but when i use xp 32bit script works fine.



I have the same problem, can't get a script to work under Visya64 at all.
Title: Album Art Downloader
Post by: ladiko on 2008-07-26 20:02:46
AlbumArt.exe works on x64?

what about this script:
C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe
would show if the run component works on  x64

what about running this from cmd:
"C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe"
/ar "Beatles" /al "Help" /p "C:\Program Files (x86)\AlbumArtDownloader\covers\Beatles - Help.jpg"
would show if albumart.exe likes cmd parameters on x64
Title: Album Art Downloader
Post by: Funkstar De Luxe on 2008-07-26 22:26:56
AlbumArt.exe works on x64?

what about this script:
C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe
would show if the run component works on  x64

what about running this from cmd:
"C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe"
/ar "Beatles" /al "Help" /p "C:\Program Files (x86)\AlbumArtDownloader\covers\Beatles - Help.jpg"
would show if albumart.exe likes cmd parameters on x64


Seems to work perfectly from CMD
Title: Album Art Downloader
Post by: dano on 2008-07-27 09:17:37
Try '('x86')'
Title: Album Art Downloader
Post by: Funkstar De Luxe on 2008-07-29 00:52:21
Try '('x86')'


Perfect :-)
Title: Album Art Downloader
Post by: LTourist on 2008-10-17 16:17:37
Hi,

such a great tools, I was still on the previous alpha  One thing I noticed is that the foobar and file browsers don't detect when cover are named in an other way that cover.extension with default settings... I think that's too sad  You should take at least all the supported file image extensions and with not other filenames (*.png, %album%.%extension%, etc).

I would be also interested in your source code for one of my project that's will work with foobar, and I can't find it on sourceforge... Is this normal?

Ltourist

EDIT : the foobar and file browser should also take care of the args (like path for example) when showing a new search window. That would be perfect
Title: Album Art Downloader
Post by: rhumbus on 2009-05-16 10:22:45
Try '('x86')'


It doesn't seem to work for in Windows 7 x64

It does work from CMD, and accepts parameters and all.
but I get the problem that AlbumArtDownloader is not responding when run via Run services in Foobar.
Adding the '('x86')' didn't make a difference.

does anyone have an idea?
is anyone running this via foobar on Win7 x64?

Title: Album Art Downloader
Post by: eminn3m on 2009-05-19 16:40:30
Try '('x86')'

is anyone running this via foobar on Win7 x64?

Yup, no problems getting it to run from the run command for me. Use this version:
http://wiki.hydrogenaudio.org/index.php?ti...tDownloader_XUI (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components_0.9/AlbumArtDownloader_XUI)

This is my run script:
Code: [Select]
"c:\Program Files\foobar2000\coverart\albumart.exe" -ae on -pf -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg" /autoclose /localImagesPath
Title: Album Art Downloader
Post by: m00zikD00d on 2009-07-19 03:29:38
Try '('x86')'


It doesn't seem to work for in Windows 7 x64

It does work from CMD, and accepts parameters and all.
but I get the problem that AlbumArtDownloader is not responding when run via Run services in Foobar.
Adding the '('x86')' didn't make a difference.

does anyone have an idea?
is anyone running this via foobar on Win7 x64?



Did you ever resolve this issue?  I am having the exact same problem.  I can run other programs/commands from Run Services such as google artist.  I am able to run the aa downloader via command line with arguments as well.  I have updated the software and checked permissions...
Title: Album Art Downloader
Post by: Petru on 2009-08-27 11:55:48
Try '('x86')'

Thanks a lot!!! Works fine at Win7 x64!
My script:
Code: [Select]
"C:\Program Files '('x86')'\AlbumArtDownloader\AlbumArt.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"
Title: Album Art Downloader
Post by: ameliajune on 2009-09-02 02:55:16
Hi,
It seems the version on http://sourceforge.net/projects/album-art/ (http://sourceforge.net/projects/album-art/) has an error in it, I download and try to install it and I get the message:

Installer Integrity Check has Failed.

Where is the best place to download a copy of this software? Thank you!
Title: Album Art Downloader
Post by: muhsing on 2011-04-29 21:59:32
Hey,

I've got a problem. If I try to "Get Artwork Automatically", I will always see same problem. The program says me "Unexpected failure saving image to: "...path...." A generic error occured in GDI+" Why I take this error message and how can i fix it? If the program can't save automatically it is useless I think

Please help =) Thanks for interests.

Edit: Okey, I've found a problem. If the foobar in run, the program has got error message. I closed the foobar before get artwork.

Title: Album Art Downloader
Post by: SanMarc on 2013-05-05 12:12:51
Hello everybody
I'd like to get the script to 45worlds.com website (Magazines, 78s, 12" Singles and CD Singles). Is it possible?

Thanks in advance