Skip to main content

Notice

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

Album Art Downloader XUI

Reply #200
<snip> /ar %artist%" <snip>

Looks like you're missing a " mark there, that should be "%artist%". If that was just a typo copying to the forum, then please copy the first 3 or 4 lines of the error popup which should contain the command line passed to it and the error message.

Can you use it to query the contents of a playlist in foobar (instead of querying the media library)?

Yes, that sounds like a good idea. I'll add that into the next version. The foobar browser will have a drop-down for picking either All Media, or one of the playlists.

Alex

Album Art Downloader XUI

Reply #201
<snip> /ar %artist%" <snip>

Looks like you're missing a " mark there, that should be "%artist%". If that was just a typo copying to the forum, then please copy the first 3 or 4 lines of the error popup which should contain the command line passed to it and the error message.


Woooooooooooooooooow, I was missing a quotation mark, thanks for proof reading. I feel terrible.

edit:
Great program !

Album Art Downloader XUI

Reply #202
A crash just occured while running from foo_run (latest version) with the following arguments:

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

The first time this crash appeared.

edit: on album Fresh Cream by artist Cream

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:\Program Files\AlbumArtDownloader\errorlog.txt

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

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Input string was not in a correct format.
  at System.Text.StringBuilder.FormatError()
  at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
  at System.String.Format(IFormatProvider provider, String format, Object[] args)
  at AlbumArtDownloader.ArtSearchWindow.AlbumArtDefaultFilePathPatternSubstitution.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
  at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
  at System.Windows.Data.BindingExpression.Activate(Object item)
  at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
  at System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
  at System.Windows.Data.BindingExpressionBase.OnAttach(DependencyObject d, DependencyProperty dp)
  at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
  at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
  at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
  at AlbumArtDownloader.ArtSearchWindow.BindAlbumArtDefaultFilePath(AlbumArt art)
  at AlbumArtDownloader.ArtSearchWindow.OnResultsChanged(Object sender, NotifyCollectionChangedEventArgs e)
  at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
  at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
  at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
  at System.Collections.ObjectModel.Collection`1.Add(T item)
  at AlbumArtDownloader.Sources.OnSourceResultsChanged(Object sender, NotifyCollectionChangedEventArgs e)
  at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
  at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
  at System.Collections.ObjectModel.Collection`1.Add(T item)
  at AlbumArtDownloader.Source.ScriptResults.<>c__DisplayClass9.<Add>b__7()
  --- End of inner exception stack trace ---
  at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
  at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
  at System.Delegate.DynamicInvokeImpl(Object[] args)
  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.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  at System.Threading.ExecutionContext.runTryCode(Object userData)
  at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  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 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)


Album Art Downloader XUI

Reply #203
A crash just occured <snip />

From that error log, I suspect I know what the problem is - could you check if the path to that album includes { or } characters please? If it does, then there is currently a known bug with paths including those characters, a fix for which will be included in the next version. If not, then please let me know the full path to the album so I can figure out if something else has gone wrong.

Thanks,

Alex

Album Art Downloader XUI

Reply #204
You are right, the path includes { and }:
Code: [Select]
U:\Cream - Fresh Cream (1966) [FLAC] {DCC Gold Steve Hoffman remaster}

Thanks for the quick reply, I was probably too stoned to search the forum thread for the answer if you had given it already.

Album Art Downloader XUI

Reply #205
Crash report: I had one instance of AlbumArtDownloader XUI then I launch another using foobar. Before the new instance show up, I closed the old one and it crashed. Here's the error log:
Code: [Select]
App version: 0.13.0.0, running on Microsoft Windows NT 5.1.2600 Service Pack 2

System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

Server stack trace:
  at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
  at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
  at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
  at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
  at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
  at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
  at AlbumArtDownloader.IPriorInstance.Signal(String[] parameters)
  at AlbumArtDownloader.InstanceMutex.QueryPriorInstance(String[] args, String channelUri)
  at AlbumArtDownloader.App.Main(String[] args)

Album Art Downloader XUI

Reply #206
Crash report: I had one instance of AlbumArtDownloader XUI then I launch another using foobar. Before the new instance show up, I closed the old one and it crashed. Here's the error log:

Thanks for reporting this. It seems to be a case of extremely unlucky timing, but I'll see what I can do about mitigating it so it won't crash under those circumstances.

Alex

Album Art Downloader XUI

Reply #207
I am finding more and more use of this excellent app: Album Art Downloader XUI. In iTunes I got iTSfv to pass Artist and Album information to Album Art Downloader XUI to search for Artwork. AAD saves it as Folder.jpg and when you validate the album in iTunes, the artwork is detected and embedded to tracks.

Thanks again Alex!

Looking forward to a release from you with the previous folder name fixes.

Album Art Downloader XUI

Reply #208
AlbumArt Downloader XUI v0.14 Released

Some fairly big new features added this time round. As has been much requested, it is now possible to use a file path pattern to determine Artist and Album information instead of using tags. Another request was to be able to search just a specific playlist from Foobar, rather than the whole library, so I've added a playlist picker to the Foobar browser. Of course, you can still choose Entire Library there.

To use the file path pattern thing, start the File Browser as usual, and click the Options link. There are now two additional options, which you can use to choose between Tags or File Path Pattern Matching. If you choose the pattern matching option, there is also a box where you can enter the pattern your files are named by, for example \%artist%\%album%\* would match against c:\music\muse\showbiz\01. Sunburn.mp3 as Artist = muse, Album = showbiz. Or, to use an example from a few posts earlier, U:\Cream - Fresh Cream (1966) [FLAC] {DCC Gold Steve Hoffman remaster} could be matched by \%artist% - %album% (*\*. If you've got a really freaky naming scheme which can't be covered by just * and ? wildcards, then you can include literal regular expression code in the pattern in between " marks. For example, the previous pattern could be improved as \%artist% - %album% ("\d{4}")*\* to avoid problems with albums with ( characters in. If you don't want to use the built-in %artist% substitutions, any regex capturing group named artist (or album) can be used.

If you have a freaky naming scheme, and you don't know regular expressions, and you really don't want to use tags, then post some examples of your paths here and someone who does know regular expressions can probably help you out.

The file path pattern matching is generally much, much faster than tag matching, but may be less reliable, depending on how well organised your collection is.

I've also fixed the following bugs:
  • Fixed bug with paths with {} characters
  • Characters which can not be part of filenames are now automatically replaced by underscores when substituting placeholders.
  • Fixed bug when closing a prior instance while a new one was starting up
Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 (required)

Album Art Downloader XUI

Reply #209
Wow. Thanks for the excellent release! The playlist browser is a godsend. 

Album Art Downloader XUI

Reply #210
Crash report: when I open up a preview and foobar browser then I turn off the preview window and foobar browser in order, it crashed. Foobar Com Automation component is not installed on my computer. Here's the errorlog:
Code: [Select]
App version: 0.14.0.0, running on Microsoft Windows NT 5.1.2600 Service Pack 2

System.NullReferenceException: Object reference not set to an instance of an object.
  at AlbumArtDownloader.FoobarBrowser.OnClosed(EventArgs e)
  at System.Windows.Window.WmDestroy()
  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.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  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)

Also, when I open more than 2 albumartdownloader window and close the older ones sometimes make the currently running one hang. On some occasion it recovers after a while and most of the time not. All albumartdownloader instances I launch are from foobar run service component.

Album Art Downloader XUI

Reply #211
Crash report: when I open up a preview and foobar browser then I turn off the preview window and foobar browser in order, it crashed. Foobar Com Automation component is not installed on my computer.

Thanks for that report. I can confirm that with 0.14, closing the foobar browser window when the foobar com automation component is not installed will cause this crash. The preview window and order of closing does not affect this, and of course foobar itself is unaffected. I will have a fix for this in the next release, but until then I'd recommend either installing the com automation component, or not using the foobar browser (which doesn't do much without it installed anyway).

Alex

 

Album Art Downloader XUI

Reply #212
Well, I was just playing around. After that crash somehow it still crashes with this error a bunch of times until I restart. I didn't use the foobar browser again:
Code: [Select]
App version: 0.14.0.0, running on Microsoft Windows NT 5.1.2600 Service Pack 2

System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
  at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
  at System.ServiceModel.Channels.CommunicationObject.Close()

Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
  at System.ServiceModel.ICommunicationObject.Close()
  at AlbumArtDownloader.InstanceMutex.QueryPriorInstance(String[] args, String channelUri)
  at AlbumArtDownloader.App.Main(String[] args)

Album Art Downloader XUI

Reply #213
Well, I was just playing around.

Yes, fair enough, and it should absolutely not crash under those circumstances, I know. It was my own mistake that crept in while adding the playlist functionality, and I'll fix it as soon as possible.

The other crash you report is related to trying to communicate with an existing instance of the app which is not responding (possibly because of the earlier crash? Only a guess). If it happens again, please check Task Manager to see if there is an AlbumArt.exe entry in the processes list. If there isn't, then please let me know as something else strange is going on and I'll need to investigate. If there is, then you can End Process on AlbumArt.exe and avoid having to restart to clear the error.

In either case, I'll see what I can do about adding some automatic recovery for this situation.

Alex

Album Art Downloader XUI

Reply #214
Before I restarted the computer I did check for AlbumArt.exe ghost process using Process Explorer, but there's none. That's why I had to restart my computer.

EDIT: I encounter the 2nd crash again and this time, indeed there's a ghost AlbumArt.exe in my process list. It makes me doubt my memory.

Album Art Downloader XUI

Reply #215
Before I restarted the computer I did check for AlbumArt.exe ghost process using Process Explorer, but there's none. That's why I had to restart my computer.

OK; good to know. I've tried adding some additional robustness to the single instance code, hopefully faced with the same situation now it would automatically recover itself (although potentially having two instances running, if one could not be communicated with).

I've uploaded 0.14.1 which should hopefully resolve these issues - If you could give it a try and let me know if you encounter them again (or any others, of course!), then that would be appreciated. Download links remain the same:

AlbumArtDownloaderXUI.exe, or AlbumArtDownloaderXUI.zip

Thanks,

Alex

Album Art Downloader XUI

Reply #216
I can only get 0.14 with your links, please check them again.

Album Art Downloader XUI

Reply #217
-Can you update the Amazon.de script with the image dimensions like the .com version?

-When the option Automatically download full sized images (x) Only when size is unkown
is selected, the size is not updated when the image was loaded, only if you preview the image

Album Art Downloader XUI

Reply #218
I can only get 0.14 with your links, please check them again.

Just checked, they are downloading 0.14.1 when I try them here. The filename doesn't include the extra .1 part of the version number, perhaps that is the source of confusion?

-Can you update the Amazon.de script with the image dimensions like the .com version?

-When the option Automatically download full sized images (x) Only when size is unkown
is selected, the size is not updated when the image was loaded, only if you preview the image

I didn't write Amazon.de, that's one of Marc's. Looking at it, though, I don't think it can determine the image dimensions without downloading the image. The .com one uses the Amazon web services API, which does give that information. The .de one relies on reading the Amazon html pages, and the information just isn't there.

I'm not sure why you aren't seeing the size being automatically updated. Are you saying that the full size image has loaded, but the size for it is not updated? Or that the full size image is not being downloaded at all?

Alex

Album Art Downloader XUI

Reply #219
I didn't write Amazon.de, that's one of Marc's. Looking at it, though, I don't think it can determine the image dimensions without downloading the image. The .com one uses the Amazon web services API, which does give that information. The .de one relies on reading the Amazon html pages, and the information just isn't there.

Oh ok, so the best would be to drop the html version (it also gets images with white borders) and replace it with a web api version. I figured I just have to replace .com with .de in url request but not in the namespace to make me a .de version. It seems to work fine.
Quote
I'm not sure why you aren't seeing the size being automatically updated. Are you saying that the full size image has loaded, but the size for it is not updated?

Yes. Some scripts don't get the image size, so I thought they would show it if I let them download the complete images.

Album Art Downloader XUI

Reply #220
Oh ok, so the best would be to drop the html version (it also gets images with white borders) and replace it with a web api version. I figured I just have to replace .com with .de in url request but not in the namespace to make me a .de version. It seems to work fine.
Quote
I'm not sure why you aren't seeing the size being automatically updated. Are you saying that the full size image has loaded, but the size for it is not updated?

Yes. Some scripts don't get the image size, so I thought they would show it if I let them download the complete images.
If that web api version of the .de script works, that's good news, it could replace the html one. Do you know of any test albums to search for that the .de version returns differently from the .com version?

The automatic image downloading thing is a mystery, I can't see why that wouldn't be working for you. To test this, try deselecting all scripts except Coveralia (a slow source that doesn't have sizes). With the automatically download fullsize images option on Never, search for an album. You should get around 3 images back, usually front cover, back cover and CD. The image size should be "Unknown", and the thumbnails fuzzy (make the thumbnails larger if you can't tell). Then, click on the "Only when size unknown" option, and one of the results should show a little browse globe icon in the top left of the thumbnail, indicating it is downloading. After a few seconds, the thumbnail should become sharp and the image size filled in (usually around 1000 x 1000). Another of the results should then get the globe icon indicating it is being downloaded, and so on until all are completed.

Alex

Album Art Downloader XUI

Reply #221
Quote
If that web api version of the .de script works, that's good news, it could replace the html one. Do you know of any test albums to search for that the .de version returns differently from the .com version?

I don't think that's an issue, quite some albums return different covers, but the code works for both versions.

The automatic image downloading works now, thanks. Was my fault.

I have a new question:
Can the file browser recognize compilation albums (e.g. a tag like Album Artist) when it scans in ID3 tag mode so that it doesn't return 20 albums instead of one?

Album Art Downloader XUI

Reply #222
Can the file browser recognize compilation albums (e.g. a tag like Album Artist) when it scans in ID3 tag mode so that it doesn't return 20 albums instead of one?

No. I did look into this back in version 0.13, but while the Foobar library has the %album artist% titleformatting value for this, there appears to be no standard ID3 tag for compilation albums.

Alex

Album Art Downloader XUI

Reply #223
Thanks, Alex. I can confirm that the foobar COM crash problem is fixed. Here's a bunch of endpoint values that you can change the URL request to, to get your version of Amazon cover search:
Code: [Select]
CA:    http://ecs.amazonaws.ca/onca/xml
DE:    http://ecs.amazonaws.de/onca/xml
FR:    http://ecs.amazonaws.fr/onca/xml
JP:    http://ecs.amazonaws.jp/onca/xml
UK:    http://ecs.amazonaws.co.uk/onca/xml
US:    http://ecs.amazonaws.com/onca/xml


Alex, what is the namespace in your Amazon.boo does anyway. That link is dead I think, it redirects to another page.

Album Art Downloader XUI

Reply #224
Alex, what is the namespace in your Amazon.boo does anyway. That link is dead I think, it redirects to another page.

It isn't exactly a link, it is a namespace. They look like links, for uniqueness reasons, but don't actually have to even be resolvable.

The important thing about it is that it must exactly match the namespace of the returned xml data. If you look at the XML data returned from amazon, it starts like this:

<?xml version="1.0" encoding="UTF-8"?><ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05">...

The xmlns bit defines the namespace, and it is this that the namespace in the .boo file must match.

Thanks for the list of domain suffixes too. I'm not sure what the best way to deal with this is, whether to bundle a script for each domain, or have one script and come up with some way of setting the domain to use in the UI. I'll do some experimenting, anyway.

Alex