Skip to main content

Topic: Album Art Downloader XUI (Read 1261947 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1975
Amazon scripts update
I've just uploaded an updated amazon-common.boo v0.9s, which means that all the Amazon scripts will show as updated in the online updates check. The new version includes contributions from ZOOT to download customer images as well as official images. (If you're curious, other than visiting the url for the result, you can also tell it's a customer image if it has size information available without downloading the full size image).

Finding customer images does take longer than official ones as it involves more page requests from the server, so official images will be downloaded first, followed by customer images if not enough official ones have been found to satisfy the "Limit to n results" setting for the source (10 by default). This behaviour can be changed by editing the  script, either amazon-common.boo to affect all Amazon sources, or by changing an individual country script to change the behaviour for just that one. To change the defaults, in amazon-common, change the values returned by IncludeCustomerImages and IncludeOfficalImages as required. To change a specific country script, add the lines:
Code: [Select]
    override IncludeCustomerImages:
        get: return true
    override IncludeOfficalImages:
        get: return true
and change true to false for whichever images you want to exclude.

@ZOOT: I've decided to keep it searching for the album name in title, rather than keywords, so just make the change from field-title to field-keywords in your local copy if you prefer that.

I'm going to work on making the auto-resorting when size changes optional, as it's clear that it's a source of irritation to some, but useful to others. This will likely take the form of a checkbox somewhere in the options area. If I can, I'll also try to fix it so that just having size filters on doesn't cause re-sorting when size changes in any case.

Alex

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1976
Version 0.42
This version improves the re-sorting behaviour in a couple of ways. Firstly, I've reduced the occasions on which a result is re-positioned to a minimum - for example, if filtering by size is turned on, but sorting isn't, then a result won't be re-positioned when it's size changes. Further, there is now a checkbox in the Options section which allows you to disable re-sorting altogether.

When this box is checked, once an item appears in the results, it stays where it is there. Of course, changing the filters, sorting or grouping will still cause the results to be filtered and sorted, but changes to the items themselves will have no effect.

The default is still the same old behaviour, to re-sort and re-filter an item whenever it changes, but for those who found this irritating the option to disable it is now available.

Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 SP1 (required, except for Windows 7)Donations

  • Akkurat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1977
New version doesn't work like it should be.

http://oi55.tinypic.com/12542yp.jpg

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1978
Version 0.42.1
Unfortunately a bug with 0.42 has been reported to me where with certain combinations of filters and sorting, a crash would occur when automatically downloading full sized images. This should be fixed by 0.42.1.

@Akkurat: I can't see that image (won't connect, for some reason), but I'm hoping it is related to the same bug that was reported to me by PM, and that this fixes it. If not, I'll get back to you when I can see the image.

Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 SP1 (required, except for Windows 7)Donations

Album Art Downloader XUI
Reply #1979
hey Alex
not sure if it's a bug or meant this way, but Deezer images are back to jpg instead of png in the new version

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1980
Deezer images are back to jpg instead of png in the new version
I haven't changed Deezer at all,
could you check that the version you have is 0.3?

Album Art Downloader XUI
Reply #1981
thanks, somehow I got most scripts in old versions. fixed now

  • spile
  • [*]
Album Art Downloader XUI
Reply #1982
Once again, this version crashes big time like all versions after 0.37.
I have tried repairing NET framework and uninstalling old versions but it still gives the same error when the browse option is selected from the File menu.
PLEASE DOES ANYONE HAVE ANY IDEAS?

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.42.1.0, running on Microsoft Windows NT 5.1.2600 Service Pack 3 (32 bit)

System.Windows.Markup.XamlParseException: Cannot create instance of 'BrowserResults' defined in assembly 'AlbumArt, Version=0.42.1.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation.  Error at object 'System.Windows.Controls.Grid' in markup file 'AlbumArt;component/filebrowser.xaml'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'AlbumArtDownloader.BrowserResults' threw an exception. ---> System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException (0x88982F50): Exception from HRESULT: 0x88982F50
   --- End of inner exception stack trace ---
   at System.Windows.Media.Imaging.BitmapEncoder.EnsureUnmanagedEncoder()
   at System.Windows.Media.Imaging.BitmapEncoder.get_CodecInfo()
   at AlbumArtDownloader.BrowserResults.<GetSupportedCodecs>d__8.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at AlbumArtDownloader.BrowserResults..cctor()
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
   at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId)
   at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
   at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
   at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at AlbumArtDownloader.FileBrowser.InitializeComponent()
   at AlbumArtDownloader.FileBrowser..ctor()
   at AlbumArtDownloader.Common.NewFileBrowser(IAppWindow existingWindow)
   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.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(DependencyObject sender, 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 System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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(DependencyObject sender, 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.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.Dispatcher.WrappedInvoke(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.WrappedInvoke(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.RunDispatcher(Object ignore)
   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)
  • Last Edit: 28 September, 2011, 12:47:31 PM by db1989

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1983
The problem is still the same:
Code: [Select]
No imaging component suitable to complete this operation was found.

  • erehwon
  • [*]
Album Art Downloader XUI
Reply #1984
I'm having an issue where the program will come up as just a white screen.    Moving my cursor over the program window, the cursor will change  to the text cursor in the appropriate spot.  It's just not displaying anything.

I'm using the latest version of this software on Windows 7.  I have the latest version of .NET Framework 4 installed.

  • erehwon
  • [*]
Album Art Downloader XUI
Reply #1985
I'm having an issue where the program will come up as just a white screen.    Moving my cursor over the program window, the cursor will change  to the text cursor in the appropriate spot.  It's just not displaying anything.

I'm using the latest version of this software on Windows 7.  I have the latest version of .NET Framework 4 installed.

I fixed my problem.  I uninstalled and reinstalled my graphics drivers.  That appears to have fixed my issue.  I remembered that I didn't have a good install that last time that I updated.

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1986
I fixed my problem.  I uninstalled and reinstalled my graphics drivers.

Thanks for letting us know!

Alex

  • spile
  • [*]
Album Art Downloader XUI
Reply #1987
Re Crash on browse...
The author has asked for bugs to be placed at http://sourceforge.net/tracker/?func=detai...amp;atid=919575
which I have done but to date no response so far. Interesting to note that others are having the same problem. It would appear that a change to the applicaiton was made (around 0.37) that has caused all the problems. I wonder why this change was done and if there is a way around it?
  • Last Edit: 10 October, 2011, 01:28:41 PM by spile

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1988
Re Crash on browse...

I've actually answered you several times on this issue, and the answer has not changed since then, I've just stopped repeating it.

There is something wrong with your Windows Imaging Components (WIC) install. These are an integral part of Windows since Windows Vista, which makes it difficult to suggest any easy fixes; those which have been suggested to you by myself and others have apparently not helped.

Previous to version 0.38, AAD used GDI+ for image processing. This is a legacy API, and has various technical disadvantages compared to WIC. I appreciate that for you, any possible advantage of WIC over GDI+ is outweighed by the fact that WIC isn't working, so I recommend you stick with version 0.37.1.

As far as I'm aware, the only other person to report the same error was MC Escher. He did follow my recommendation to try WICExplorer to investigate the error, and later agreed that there was something amiss with his system as he couldn't play any videos either.

Thanks for pointing out the sourceforge issue you raised - for some reason I didn't get email notification from sourceforge of that, I'll have to figure out why that's broken.

Alex

  • spile
  • [*]
Album Art Downloader XUI
Reply #1989
Re Crash on browse...

I've actually answered you several times on this issue, and the answer has not changed since then, I've just stopped repeating it.

I also responded here to say that when I tried to install the Windows Imaging component, I was given a message that I had the latest version installed.
I would be happy to investigate and possible WIC issues I may have on my XP client , I just don't know how to do this.
  • Last Edit: 12 October, 2011, 12:00:17 PM by spile

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1990
I would be happy to investigate and possible WIC issues I may have on my XP client , I just don't know how to do this.
As you are running Windows XP, then please try uninstalling WIC by running %windir%\$NtUninstallWIC$\spuninst\spuninst.exe, then reinstalling them using the wic_x86_enu.exe installer I think you already downloaded.

Alex

Album Art Downloader XUI
Reply #1991
ok, I hope this is not another of stupid questions.
I stopped getting results from Deezer, despite the site being on and active. no idea why. the service itself wasn't and still isn't available in my country, but it was never a problem

  • spile
  • [*]
Album Art Downloader XUI
Reply #1992
I would be happy to investigate and possible WIC issues I may have on my XP client , I just don't know how to do this.
As you are running Windows XP, then please try uninstalling WIC by running %windir%\$NtUninstallWIC$\spuninst\spuninst.exe, then reinstalling them using the wic_x86_enu.exe installer I think you already downloaded.

Alex


Attempting to run the file above results in a message that a newer version of WIC exists on my system.
No such folder ($NtUninstallWIC$) exists in my Windows folder.
  • Last Edit: 14 October, 2011, 11:26:56 AM by spile

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1993
I stopped getting results from Deezer
It looks like Deezer have started doing geo-ip restriction on their API as well as their main site now. Shame, it was good while it lasted. If they ever do start accepting connections from my IP, I can update the script if it needs it. I'd be interested to know if anyone is successfully using it in a Deezer-supported country, though.

No such folder ($NtUninstallWIC$) exists in my Windows folder.
That's a shame. According to the documentation I found on the web, that's where it goes when it's properly installed. You may well just be out of luck, but here are some other things that just might be worth a shot:
  • Check if there is WIC or Windows Imaging Component or anything similar in the Add / Remove Programs list
  • Try running "wic_x86_enu.exe /uninstall"
  • Try uninstalling and reinstalling the whole .NET Framework 3.5 (might take WIC with it)
  • Try extracting the contents of wic_x86_enu.exe with 7zip or similar, then running spuninst.exe in the extracted folder
That's about all I can think of, so if none of those help then I'm out of ideas, and would class your installation as unrecoverable.

Alex

  • alsaan
  • [*]
Album Art Downloader XUI
Reply #1994
I've used a few times the .NET Framework Cleanup Tool to repair corrupted .NET installations with success. I don't know if it will help with WIC problems but it's worth a try if everything else fails.

  • max1234
  • [*]
Album Art Downloader XUI
Reply #1995
Hello,
my first message here.
I'm writing because I'm experiencing an annoying issue: here's what happens.

I'm using AlbumArt Downloader v 0.42.1 (but the problem was present in earlier versions too); If I enable several filters together (let's say 10-12 or so) then I run a search (i.e. "Pink Floyd" / "The Wall"), the program starts great but after a few seconds my ADSL router  (Dlink DSL-2542B) stops working and there's no way to connect to internet nor to the router itself; The only way to bring it back to life is to turn it off/on. :-(

I think that's because so many TCP requests at the same time have the same effect as a Denial Of Service attack on my poor router.
Maybe a firmware update could solve that but unfortunately, until now, i'm not been able to find any FW version which was recognized as "compatible" by the router... Most probably another bug in that buggy device :-/

OK, my opinion is that the router is guilty, and i'm planning to replace it in a short time; However, I think that would be useful for other users too having an option which allows to set the maximum number of requests that the scripts can issue to remote servers (or the maximum number of scripts that can be run at the same time).
Could it be implemented?

Thanks for your attention!

Max - Italy

  • dano
  • [*][*][*][*]
  • Members (Donating)
Album Art Downloader XUI
Reply #1996
Is it possible to display the file size of the covers somewhere?

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1997
Hi Max, please see my reply to the tracker you raised for this issue: 3427693

Is it possible to display the file size of the covers somewhere?
If you mean the file size of the search results, then no, that isn't possible yet. It has been requested, though: 2890572, so it may eventually happen. The file size of existing images is available in the File Browser.

Alex

  • vagskal
  • [*][*]
Album Art Downloader XUI
Reply #1998
Would it be possible to add a script for this site?
http://audiopreservationfund.org/index.php

They have some really nice scans of old LPs and singles.

  • AlexVallat
  • [*][*][*][*][*]
  • Developer
Album Art Downloader XUI
Reply #1999
Would it be possible to add a script for this site?
Hmm... could be a tricky one, I can't see any way of searching for a specific artist and album at the same time, which makes it harder. Once the page for the album is found, it wouldn't be hard to get the images for it though. I'm off on holiday for a week now, so won't be able to take a look at this until later.

Alex