Help - Search - Members - Calendar
Full Version: Album Art Downloader XUI
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
AlexVallat
QUOTE(poisonborz @ Jan 20 2008, 18:09) *

Thanks, I'm glad you liked the changes. In answer to your additional notes:

All the progress information that is available to me is displayed in the sources list to the right. Each source which is capable of determining the number of images available before actually downloading them will display a progress bar as they are being downloaded. Until a source responds with this information (usually as a result of parsing the search results it retrieves) there is no progress information to be reported.

I'll probably add a queue count to the next release, but it might not be for a while. The number of windows should be being saved. If it is not, there might be a bug. I'll look into it.

Alex
Heliologue
I used this tool successfully last month (0.10.1) to download a bunch of album art. I just came back to it today and suddenly started getting this error whenever I load the File Browser. The error occurs in both 0.10.1 and 0.11.0. I'm running Vista x64, up to date, and .NET 3.5.

CODE

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: G:\Utilities\album art xui 0.11.0\errorlog.txt

App version: 0.11.0.0, running on Microsoft Windows NT 6.0.6000.0

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at MediaInfoLib.MediaInfo.MediaInfo_New()
   at MediaInfoLib.MediaInfo..ctor()
   at AlbumArtDownloader.FileBrowser.OnIsVisibleChanged(Object sender, DependencyPropertyChangedEventArgs e)
   at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
   at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.UIElement.UpdateIsVisibleCache()
   at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Window.SetRootVisual()
   at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at AlbumArtDownloader.FileBrowser.AlbumArtDownloader.IAppWindow.Show()
   at AlbumArtDownloader.Menu.NewFileBrowserExec(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.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(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 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at AlbumArtDownloader.App.AlbumArtDownloader.IPriorInstance.Run()
   at AlbumArtDownloader.InstanceMutex.RunAppAsServiceHost(IPriorInstance instance, String channelUri)
   at AlbumArtDownloader.App.Main(String[] args)
thuan
Thank you, your program works fine on my computer. Just that, on first run, the start up time is very slow, and it appears with no theme when I use custom theme on Windows. Other than those, usability this program is great, better than any others I have tried.
AlexVallat
QUOTE(Heliologue @ Jan 21 2008, 00:11) *

From the error log you posted, it looks like MediaInfo can't be loaded on x64. Looking at the MediaInfo site, they have an x64 version available too. Please download MediaInfo_0.7.5.7_DLL_Windows_x64.7z and extract MediaInfo.dll into the Album Art Downloader program folder.


QUOTE(thuan @ Jan 21 2008, 04:45) *

On first run, the program must compile all the .boo scripts for downloading art. It will only do this again if you add, remove, or change any of the scripts.

Custom themes are not supported by WPF. I suspect this is because WPF is a vector-based system, and the old Win32 themes are a bitmap-based system.

Thanks for your comments!

Alex
Heliologue
QUOTE(AlexVallat @ Jan 21 2008, 01:52) *

From the error log you posted, it looks like MediaInfo can't be loaded on x64. Looking at the MediaInfo site, they have an x64 version available too. Please download MediaInfo_0.7.5.7_DLL_Windows_x64.7z and extract MediaInfo.dll into the Album Art Downloader program folder.


Alex


I could have sworn I ran it successfully on Vista x64 before, but I've been switching operating systems a lot lately, so I guess my memory failed me. In any case, it all seems to work ok with the x64 version of MediaInfo. Much obliged; also, wonderful little program you have here.
radi0n
Great program!

It is possible to select album in foobar then in context menu IN foo download the album art via Album Art Downloader?
mobyduck
@radi0n: try searching for foo_run inside this thread.

HTH.

Alessandro
Wirrunna
Great work - thank you AlexVallat !

(I use Album Art Aggregator to list the albums without art work and Album Art Downloader to find the missing coves)
plinni
QUOTE(AlexVallat @ Jan 20 2008, 09:38) *

QUOTE(plinni @ Jan 15 2008, 12:03) *
When an album is exactly called like the band It doesn't find any cover. The only field filled is the artist one. Is there a solution for this problem?

I haven't been able to reproduce this. Could you be more specific about what you are doing? Are you starting from the file browser, or the foobar browser, or the command line?



Hi,

I'll show you what I mean. I'm using the foo flow design and this path:
QUOTE
"C:\Programme\foobar2000\AlbumArtDownloader\AlbumArt.exe" "%artist%" "%album%"


1. Push the button:
IPB Image

2. AlbumArtDownloader opens:
IPB Image

I don't know what to do with that.
AlexVallat
QUOTE(plinni @ Jan 22 2008, 20:18) *
I'll show you what I mean. I'm using the foo flow design and this path: "C:\Programme\foobar2000\AlbumArtDownloader\AlbumArt.exe" "%artist%" "%album%"

Thank you for reporting this bug, plinni. I can confirm it, and it will be fixed for the next version.

Until then, you can work around it by changing your path to:
"C:\Programme\foobar2000\AlbumArtDownloader\AlbumArt.exe" /artist "%artist%" /album "%album%"

Alex
plinni
Thx for the quick help. Amazing!
phunkydizco
I have updated from 0.9 to 0.11 and the first thing I disliked is that the font is very blurred instead of the default windows font. In the screenshot the font of foobar2000 is very clear and album art downloader totally blurred.

IPB Image

I suppose that album art downloader now is a WPF application and that causes this effect. I haven't developed with WPF yet, but I think that there is a possibility to fix that.
AlexVallat
QUOTE(phunkydizco @ Jan 26 2008, 12:02) *
I suppose that album art downloader now is a WPF application and that causes this effect. I haven't developed with WPF yet, but I think that there is a possibility to fix that.

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, sorry. The best I can offer is that it doesn't look so bad if you have ClearType turned on for the system, which isn't really a solution, I know.

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
Nii2
Hi,

I hace a little issue with scrolling, it's very very slow. I don't understand why, any help would be appreciate.
Thanks in advance
phunkydizco
QUOTE(AlexVallat @ Jan 26 2008, 18:09) *
The best I can offer is that it doesn't look so bad if you have ClearType turned on for the system, which isn't really a solution, I know.

I have already turned ClearType on. Also the screenshot was made with activated ClearType. I think this anti-aliasing thing is very strange. Perhaps WPF should not be used for a classic window based application. For a theme based application like the new Yahoo! Messenger it could make sense.
AlexVallat
AlbumArt Downloader XUI v0.12 Released

Another new version of Album Art Downloader XUI, coming sooner than usual on the heels of the last release. I've added a couple more suggested improvements that were requested on this thread, plus a new feature I've been thinking about for a while, a pure command line interface.

As proud as I am of the UI I've created for Album Art Downloader XUI, I appreciate that sometimes it just gets in the way. That's why, as of version 0.12, I've included a command-line only interface, called aad.exe. This is an optional part of the install, but if you choose to use it then it supports mostly the same parameters as the full AlbumArt.exe. It will download a single result and save it without any further interaction. A /sequence parameter can be used to tell it to download a result other than the first. This can be used to implement "try again" type behaviour, in case the first result was no good.

I'd recommend using it with the /sources parameter to specify the sources to search (and the order to search them), as if the first source searched returns a result, that's the one that will be used.

A couple of additional parameters to help get that first result right have been added, /minSize and /maxSize allow the restriction of results by image (pixel) size.

As it is an initial release of the command line UI, I hope you give it a try and let me know if you find it useful, or how it might be improved to be more useful.

Also, note that I've upgraded to .NET Framework 3.5. If you still only have 3.0 installed, now's the time to download the update from the link provided below.

Ful llist of changes:
  • Upgraded to .NET Framework 3.5
  • Added queue length indication to Queue Manager
  • Added /minSize and /maxSize parameters to control image size filtering
  • Fixed bug where multiple identical un-named parameters would be ignored
  • Added command line interface (aad.exe)
Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 (required)
Jonas Nyrup
Can Album Art Downloader XUI automatically search a folder for artists and download album art to the respective album folders?
I haven't found a function so far.

Heliologue
QUOTE(Jonas Nyrup @ Jan 27 2008, 15:56) *

Can Album Art Downloader XUI automatically search a folder for artists and download album art to the respective album folders?
I haven't found a function so far.



I don't think it downloads the art automatically because it searches many different sources. You can, however, launch the "File Browser," point it to a folder, and it will search all the subfolders a return a list of artists/albums, and you can select them for searching. If you "save" a picture in this manner, it should be saved to the appropriate folder.
IAmSoBald
After downloading the cover, exactly what do I do to make it show up in my playlist? Also, how do I get it to work with AAC files? Sorry, but I'm a total noob at this and I don't want to go through 7 pages at 11:00.
AlexVallat
QUOTE(IAmSoBald @ Jan 28 2008, 05:01) *
After downloading the cover, exactly what do I do to make it show up in my playlist? Also, how do I get it to work with AAC files? Sorry, but I'm a total noob at this and I don't want to go through 7 pages at 11:00.

It depends on which UI you are using for foobar. The following threads might help:

Album art support in 0.9.5 (thread split)
updated foo_uie_albumart
PanelsUI and the Single Column Playlist can also make use of album art.

There shouldn't be any specific issue with AAC files, unless you mean you want to embed the image within them. If so, then that is not supported, sorry.

Alex
thuan
You should be able to show album art if you use Default UI of foobar 0.9.5 (there's an album art UI element provided) or with foo_uie_albumart that provides Album art panel if you use Column UI or a few lines of code if you use Panel UI. For specifically how to do it in each way, please use search. There're threads for them already.

EDIT: WOW, Alex was faster.
IAmSoBald
I use Radecke with Panel UI, but I don't know how to add album art after downloading. Right-clicking the columns doesn't give me any options regarding the album art besides downloading it with Coverdownload. It doesn't load automatically. I really can't find anything related to this, the search tool is poor. Here's the URL for the skin I'm using.

http://www.neugablonz.de/index.php?seite=foobar1
teNtiOn
Is this plugin only works for amazon.com? Do it works for other country's amazon like amazon.co.jp?
AlexVallat
QUOTE(teNtiOn @ Jan 29 2008, 10:15) *
Is this plugin only works for amazon.com? Do it works for other country's amazon like amazon.co.jp?
Scripts for amazon web services (US based, I think) and amazon.de are included. This guy wrote an interesting multi-threaded amazon.co.jp one, you might like to try out.

IAmSoBald: Are you sure you've put the path in correctly in the foo_run command, modifying it to where you have foobar 2000 installed? For example, if you have it at c:\program files\foobar2000, then according to http://www.neugablonz.de/foobar2000/foo_run.jpg it should end in: "c:\program files\foobar2000\albumart\%artist%.%album%.folder.jpg"

Alex
Useless Warrior
Sorry if this has already been posted, but since I don't see it mentioned anywhere I noticed that Clamwin is reporting adware when I scan the installer of 0.12, is this a known issue?
AlexVallat
QUOTE(Useless Warrior @ Feb 3 2008, 04:48) *
Sorry if this has already been posted, but since I don't see it mentioned anywhere I noticed that Clamwin is reporting adware when I scan the installer of 0.12, is this a known issue?

No, not a known issue. I can assure you that I have not put any adware in it, if that's any help. I think it's a false positive with ClamWin, and have submitted it to them for analysis. Meanwhile, I've uploaded a repackaging of the installer (which also includes a minor uninstall bugfix) and ClamWin seems happy with it.

Thanks for reporting it,

Alex
vader897
I have run into a little problem with using album art downloader and foo run. I have set up my run command to be.
CODE

P:\Program Files '('x86')'\foobar2000\AlbumArtDownloaderXUI-0.12\AlbumArt.exe "%artist%" "%album%" "$replace(%path%,%filename_ext%,folder.jpg)"

The problem is that some of my songs are tagged with " " (quotation marks) in the title, artist or album tags.
Can you guess what the problem is? For example a song with

album : Wishes In The Night "Part Two: Of Passion and Serenity"

When i run the script the Album Art Command Line Parameters window opens up and says
QUOTE

>"P:\Program Files (x86)\foobar2000\AlbumArtDownloaderXUI-0.12\AlbumArt.exe" "Nightwish" "Wishes In The Night "Part Two: Of Passion and Serenity"" "U:\Audiopholder\Metal, Rock, Alternative etc\__Metal\_Symphonic Power Metal\Nightwish\Of Passion and Serenity\folder.jpg"

Album Art Downloader XUI version 0.12.0.0

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


The problem is that albumart.exe thinks part of the album is a paremeter.

Any ideas on how I can solve this to make my albumart.exe handle these cases properly?
AlexVallat
QUOTE(vader897 @ Feb 4 2008, 03:54) *
The problem is that some of my songs are tagged with " " (quotation marks) in the title, artist or album tags.

If parameters have " marks in them, then those marks must be escaped. I think this can be done by using $replace(%artist%,",\"), but someone with better titleformatting skills might be able to give you a better answer. In any case, you are looking to add a \ before every " in the artist and album.

Alex
kanak
Alex,

thank you very much for this wonderful utility... it's very useful and it's saved me countless hours. The integration with foobar through COM Automation is fantastic (I can't believe I just discovered it), but i have a couple of suggestions which would make it even better:

1. It'd be better if the utility checks "album artist" instead of artist. This will help prevent Various artist albums from appearing multiple times on the same list.

2. Would it be possible for you to cache the results so that the next time the foobar browser is run, it doesn't recheck all the albums for which art exists?


Thanks again for this wonderful utility.
AlexVallat
QUOTE(kanak @ Feb 5 2008, 05:01) *

Alex,

thank you very much for this wonderful utility... it's very useful and it's saved me countless hours. The integration with foobar through COM Automation is fantastic (I can't believe I just discovered it), but i have a couple of suggestions which would make it even better:

1. It'd be better if the utility checks "album artist" instead of artist. This will help prevent Various artist albums from appearing multiple times on the same list.

2. Would it be possible for you to cache the results so that the next time the foobar browser is run, it doesn't recheck all the albums for which art exists?


Thanks again for this wonderful utility.

Good suggestions. I'm not sure how well populated Album Artist is, but if I can get it in a way that will fall back to Artist if it isn't, it's probably safe to use that instead. I can't think of a good reason to prefer Artist over Album Artist if both are populated.

I'll look into caching, but it would probably not make a huge amount of difference if you have a strict image path format, as it would still have to check for the existence of the last known image file (to see if it had been moved or deleted since caching), and that would take just as long as checking for 'folder.jpg', for example. It would help a lot for fuzzy image path formats, like c:\art\unsorted\**\*.jpg, though...

Alex
thuan
QUOTE(AlexVallat @ Feb 4 2008, 15:50) *
QUOTE(vader897 @ Feb 4 2008, 03:54) *
The problem is that some of my songs are tagged with " " (quotation marks) in the title, artist or album tags.

If parameters have " marks in them, then those marks must be escaped. I think this can be done by using $replace(%artist%,",\"), but someone with better titleformatting skills might be able to give you a better answer. In any case, you are looking to add a \ before every " in the artist and album.

Alex


I have the same problem but with hyphen "-". Using the same trick it passes \- over too, any idea?
AlexVallat
QUOTE(thuan @ Feb 5 2008, 11:19) *
I have the same problem but with hyphen "-". Using the same trick it passes \- over too, any idea?

Hyphens should not need any escaping. Could you give me an example of a command line that fails, and I will look into it.

Alex
alwaysdub
QUOTE(AlexVallat @ Feb 5 2008, 08:50) *

QUOTE(kanak @ Feb 5 2008, 05:01) *


1. It'd be better if the utility checks "album artist" instead of artist. This will help prevent Various artist albums from appearing multiple times on the same list.


Good suggestions. I'm not sure how well populated Album Artist is, but if I can get it in a way that will fall back to Artist if it isn't, it's probably safe to use that instead. I can't think of a good reason to prefer Artist over Album Artist if both are populated.



Alex,

By default in titleformatting if %album artist% is not populated it will fall back to %artist%, so I would assume this will be no problem, and would be a useful enhancement.

Thanks for all your work on this component.
thuan
Here you are:
CODE
"D:\Program Files\AlbumArtDownloader\AlbumArt.exe" /artist "-zann-" /album "Samurai from East" /path "D:\Music\Game Music\01\_Touhou_related\-zann-\Samurai from East\front.jpg"


and your program gave this error "**** Unexpected command line parameter: zann- ****"

EDIT: It crashes with this command line
CODE
D:\Program Files\AlbumArtDownloader\AlbumArt.exe /artist "一青窈" /album "受け入れて" /path "***\front.jpg"
and here's the log in event log
CODE
EventType clr20r3, P1 albumart.exe, P2 0.12.0.0, P3 479cc933, P4 system, P5 2.0.0.0, P6 471ebf0d, P7 1be, P8 15, P9 system.argumentoutofrange, P10 NIL.

Well this is likely AmazonJPMultithread fault though as it doesn't crash when I disable it.
AlexVallat
QUOTE(thuan @ Feb 5 2008, 13:46) *

Thanks. I can confirm this bug as occurring with parameter values starting with a hyphen, or a /. Hyphens elsewhere are not a problem. I will fix this for the next release.
Bimbo Frogger
Is there a way to handle compilations with different track-artists?

IMO the file-browser should look first if album-artist is present, and if not, than take the artist.

BTW: Great application
Max Spicer
QUOTE(Bimbo Frogger @ Feb 8 2008, 19:32) *

Is there a way to handle compilations with different track-artists?

IMO the file-browser should look first if album-artist is present, and if not, than take the artist.

BTW: Great application


I don't think I tag any of my various artist albums to indicate that they are various artists. I mainly use SlimServer against my music, and it manages to work out that all the tracks belong to one album. I'm guessing it does this either by the fact that the album name is the same (could easily go wrong) or by the fact that the tracks all live in the same directory. Could Album Art Downloader employ similar logic?

By the way, would it be possible to add a mode that ran simply from the directory structure, rather than the files within it? I'm running across a wireless network, so the program is having to pull all my flac files across to examine their tags. However, the information it needs is mainly in the directory structure. For example:

Music
- CDs
- - The Beatles
- - - Revolver
- - - - 01.flac
- - - - 02.flac

From the above, you can deduce that I have Revolver by The Beatles without having to examine the flac files themselves. The presence of flac files in a directory shows that it's an album. There are obviously situations when the user would want you to look at the tags themselves, but this option would greatly speed things up for me at least, as well as opening up currently unsupported formats a bit.

Max
AlexVallat
QUOTE(Bimbo Frogger @ Feb 8 2008, 19:32) *
IMO the file-browser should look first if album-artist is present, and if not, than take the artist.
I've already got this on the list to look into. It seems certainly possible for the foobar browser, but it isn't looking likely for the file browser. There does not appear to be any standard Album Artist tag.

QUOTE(Max Spicer @ Feb 8 2008, 21:26) *
Would it be possible to add a mode that ran simply from the directory structure, rather than the files within it?
I've posted earlier about the possibility of adding a new browser which works on pattern matching the file paths rather than reading the tags from them. You would specify something like "%artist%\%album%\*.flac", for example. It gets trickier if you have paths which include other data, like the year. You might need "%artist%\(*) %album%\*.flac", for example. I'm really hoping not to have to extend it to regular expressions, hopefully wildcards would suffice.

It would be a fairly large piece of work, though, so I probably won't get round to it for a while - I'd rather get all the little things (like the album artist stuff, and hyphen parameter bug) sorted and released before considering a new feature like that.

Alex
AlexVallat
AlbumArt Downloader XUI v0.13 Released

This release is mostly a bug-fixing update. The following issues have been fixed:
  • Changed foobar browser to use %album artist% instead of %artist%
  • Fixed bug with parameter values starting with -
  • Upgraded to MediaInfo version 0.7.5.9
  • Fixed rare GUI freezing bug
  • Fixed minor uninstaller bug (not removing aad.exe cached script file)
Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 (required)
~*McoreD*~
Thanks for the great program Alex. The latest version and also the last few versions have been working beautifully. %AlbumArtist% organization is a nice change. That way it will not scatter for a multi-artist disc. I believe this is how the Folder.jpg is also saved in My Pictures, in Album Art\%AlbumArtist%\%Album% structure?

In an attempt to show my appreciation of the program, I have added support in iTSfv to look for AAD saved artwork so iTunes/iTSfv users have another automatic artwork source for adding Artwork to iTunes.

5.40.1.0 iTSfv will look for artwork saved using Album Art Downloader

CODE
20080211T094900 Job Started: VALIDATE_TRACKS_SELECTED
20080211T095116 Found 1 sources of Artwork
20080211T095121 Artwork from AAD as G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg with 1620x1579
20080211T095129 Choosing G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg as the best Artwork
20080211T095131 Added Artwork to D:\Music\Da Buzz\Greatest Hits\01 Alive.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095133 Added Artwork to D:\Music\Da Buzz\Greatest Hits\02 Take All My Love.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095135 Added Artwork to D:\Music\Da Buzz\Greatest Hits\03 Dangerous.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095136 Added Artwork to D:\Music\Da Buzz\Greatest Hits\04 Do You Want Me.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095138 Added Artwork to D:\Music\Da Buzz\Greatest Hits\05 Tonight (Is The Night).mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095139 Added Artwork to D:\Music\Da Buzz\Greatest Hits\06 Wonder Where You Are.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095141 Added Artwork to D:\Music\Da Buzz\Greatest Hits\07 Without Breaking.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095143 Added Artwork to D:\Music\Da Buzz\Greatest Hits\08 Last Goodbye.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095144 Added Artwork to D:\Music\Da Buzz\Greatest Hits\09 Wanna Be With Me.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095146 Added Artwork to D:\Music\Da Buzz\Greatest Hits\10 How Could You Leave Me.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095148 Added Artwork to D:\Music\Da Buzz\Greatest Hits\11 Paradise.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095149 Added Artwork to D:\Music\Da Buzz\Greatest Hits\12 Let Me Love You.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095151 Added Artwork to D:\Music\Da Buzz\Greatest Hits\13 Baby Listen To Me.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095152 Added Artwork to D:\Music\Da Buzz\Greatest Hits\14 Take A Chance.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095154 Added Artwork to D:\Music\Da Buzz\Greatest Hits\15 Don't You Ever Leave Me.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095156 Added Artwork to D:\Music\Da Buzz\Greatest Hits\16 Da Buzz Club Mix.mp3 from G:\Users\McoreD\Pictures\Album Art\Da Buzz\Greatest Hits\Folder.jpg
20080211T095156 Saved Track Artwork as D:\Music\Da Buzz\Greatest Hits\Folder.jpg
20080211T095156 Saved Track Artwork as D:\Music\Da Buzz\Greatest Hits\Artwork.jpg
20080211T095157 Saved Track Artwork as D:\Music\Da Buzz\Greatest Hits\AlbumArtSmall.jpg
20080211T095157 Saved Track Artwork as D:\Music\Da Buzz\Greatest Hits\Da Buzz - (2007) Greatest Hits.jpg
20080211T095157 Export Artwork Pass 2 Finished.
20080211T095158 .
20080211T095158 Log saved in G:\Users\McoreD\Documents\iTSfv\Logs\tracks-200802-artwork-added.txt
20080211T095158 Duration: 0 Hours 02 Minutes 58.025715 Seconds
20080211T095158 Cleaning Temporary Files... in G:\Users\McoreD\AppData\Roaming\iTSfv\
20080211T095159 Job Finished: VALIDATE_TRACKS_SELECTED


Keep up the great work!

Cheers,
McoreD
drbeachboy
Hi Alex,



If AAD is supposed to work with fb2k, then why are you using "albumartist" instead of "album artist", which is a fb2k tag? Is there any chance of adding it, along with "date"? Thanks for all of your work on AAD, it is much appreciated.

AlexVallat
Hi McoreD, thanks for your comments, and for adding support to your excellent iTSfv! I should point out that the syntax for specifying where to save images to hasn't changed, though, it is still just %artist%, meaning the artist that was searched for in Album Art Downloader (which may or may not be an album artist, no distinction is made).

QUOTE(drbeachboy @ Feb 11 2008, 03:49) *
If AAD is supposed to work with fb2k, then why are you using "albumartist" instead of "album artist", which is a fb2k tag? Is there any chance of adding it, along with "date"? Thanks for all of your work on AAD, it is much appreciated.

I'm not. The foobar browser reads the result of titleformatting "%album artist%". Date is not read - what would you want it to do with it, just display it in a column in the browser?

Alex
cartman(2vd)
the newst version 0.13 just refuses to start for me sad.gif (0.12 worked fine with same settings)

this error msg i get (but there are some localized strings in it so it will be probably hardly readable sad.gif)

CODE
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:\Program Files\___mp3\foobar2000\albumart\errorlog.txt

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

System.IO.FileNotFoundException: Nelze načíst soubor nebo sestavení System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 nebo jeden z jejich závislých prvků. Systém nemůže nalézt uvedený soubor.
Název souboru: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
v AlbumArtDownloader.Arguments..ctor(String[] args, IEnumerable`1 valuedParameters)
v AlbumArtDownloader.App.ProcessCommandArgs(String[] args)
v AlbumArtDownloader.App.OnStartup(StartupEventArgs e)
v System.Windows.Application.<.ctor>b__0(Object unused)
v System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
v System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
v System.Windows.Threading.DispatcherOperation.InvokeImpl()
v System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
v System.Threading.ExecutionContext.runTryCode(Object userData)
v System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
v System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
v System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
v System.Windows.Threading.DispatcherOperation.Invoke()
v System.Windows.Threading.Dispatcher.ProcessQueue()
v System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
v MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
v MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
v System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
v System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
v System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
v System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
v MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
v MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
v System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
v System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
v System.Windows.Threading.Dispatcher.Run()
v System.Windows.Application.RunInternal(Window window)
v System.Windows.Application.Run(Window window)
v System.Windows.Application.Run()
v AlbumArtDownloader.App.AlbumArtDownloader.IPriorInstance.Run()
v AlbumArtDownloader.InstanceMutex.RunAppAsServiceHost(IPriorInstance instance, String channelUri)
v AlbumArtDownloader.App.Main(String[] args)

WRN: Protokolování vazeb sestavení je VYPNUTO.
Chcete-li povolit protokolování chyb vazeb sestavení, nastavte hodnotu registru [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) na hodnotu 1.
Poznámka: Protokolování chyb vazeb sestavení ovlivňuje výkon systému.
Chcete-li tuto funkci vypnout, odeberte z registru hodnotu [HKLM\Software\Microsoft\Fusion!EnableLog].


ive tried windows update but there arent any .net updates i dont have... any help?
AlexVallat
QUOTE(cartman(2vd) @ Feb 11 2008, 18:52) *
ive tried windows update but there arent any .net updates i dont have... any help?

This looks a lot like not having .net framework 3.5 installed - perhaps you have only 3.0? Try installing 3.5 from here.

Alex
cartman(2vd)
QUOTE(AlexVallat @ Feb 11 2008, 19:44) *

This looks a lot like not having .net framework 3.5 installed - perhaps you have only 3.0? Try installing 3.5 from here.

Alex


thx for quick help. i was almost sure that i have .net 3.5 installed so i tried to reinstall it and now everything is working thx.
probably i smehow damaged it and didnt even know about it.
~*McoreD*~
Hi Alex,

I discovered some unexpected behavior which you can easily fix.

I searched:

Artist: Raff
Album: Self Control / Running Away


The results are fine. I managed to find the artwork!

The folder path where the Folder.jpg is saved is however

Pictures\Album Art\Raff\Self Control\Running Away\Folder.jpg

Expected Output:

Pictures\Album Art\Raff\Self Control _ Running Away\Folder.jpg



So it seems to me the illegal characters in Album Name string are not replaced to File System friendly characters.

Double checked with another test:

---------------------------
Album Art Downloader
---------------------------
Could not save image 'G:\Users\McoreD\Pictures\Album Art\ABBA\Gold: Greatest Hits\Folder.jpg':

The given path's format is not supported.
---------------------------
OK
---------------------------

Here is a function that you could use for the Album Name, (may be also for Artist Name) just prior to saving the Image to File System.

CODE
     public string mfGetLegalTextForDirectory(string txt)
{
    
     txt = txt.Replace("/", "_");
     txt = txt.Replace(":", "_");
     txt = txt.Replace("*", "_");
     txt = txt.Replace("?", "_");
     txt = txt.Replace(Strings.Chr(34), "_");
     txt = txt.Replace("<", "_");
     txt = txt.Replace(">", "_");
     txt = txt.Replace("|", "_");
    
     return txt;
    
}


iTunes replaces all the illegal characters to "_" so to maintain interoperability could you also please use underscore to replace illegal characters?

Thanks,
McoreD
Bimbo Frogger
QUOTE(AlexVallat @ Feb 10 2008, 12:24) *

[*]Changed foobar browser to use %album artist% instead of %artist%

Great improvement. Thank you.
AlexVallat
QUOTE(~*McoreD*~ @ Feb 14 2008, 00:01) *
illegal characters in Album Name string are not replaced to File System friendly characters.
<snip/>
iTunes replaces all the illegal characters to "_" so to maintain interoperability could you also please use underscore to replace illegal characters?

Yes. I'll do that this weekend.

Thanks,

Alex
eldust
I can't seem to figure out why after updating my album art, my previously working foo_run command doesn't seem to work:

"C:\Program Files '('x86')'\AlbumArtDownloader\AlbumArt.exe" /ar %artist%" /al "%album%" /p "$replace(%_path%,%_filename_ext%,)cover.'%extension%'"


Every time I do that the "Album Art download command parameters" pops up.
kanak
Hi Alex,

thanks for adding album artist support smile.gif.

I have one question regarding COMServer: Can you use it to query the contents of a playlist in foobar (instead of querying the media library)? If this was possible, i could just have it query the contents of the "new albums" playlist and automatically get art for them.

If this is not possible (or is too much work to implement), please disregard the request. biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.