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 2035634 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Album Art Downloader XUI

Reply #1925
can it possibly be because of my location? I'm in Russia. but I never experienced any limitations from discogs, and, again, the site itself works fine for me.
I suppose it could be a location thing. I can't really test that from here, though! What I can do is offer you a debug version of discogs.boo which will create a discogs.txt file in your temp folder and open it with notepad.exe every time you do a search. It's just the raw html that discogs sends back to the script, so if you PM me a copy of that I'll see if I can figure out why the script can't parse it.

I did that and I still get the same error .
That could be a problem, then. I'm not sure what else to suggest, really. If you try a different WPF application (blu, for example) to see if that works then that might give some clues. I'm not very optimistic, though.

I can't seem to launch the Foobar Browser for AAD correctly from my portable install of Foobar
The foobar browser relies on the Foobar COM Automation Server, which is very much non-portable. As far as I know, there is no way even theoretically for an external program to get access to the Foobar media library in a portable way, sorry.

Alex

Album Art Downloader XUI

Reply #1926
I did that and I still get the same error .
That could be a problem, then. I'm not sure what else to suggest, really. If you try a different WPF application (blu, for example) to see if that works then that might give some clues. I'm not very optimistic, though.


Still nothing unfortunately. Maybe you could release some new version that would get rid of that bug?

Best
// MK

Album Art Downloader XUI

Reply #1927
Still nothing unfortunately.
What do you mean by 'nothing'? Did blu work or not? If blu did not work, then it is a problem some problem with your system. If blu does work, but AAD does not, then my best guess would be some configuration problem. In which case uninstalling it, making sure that the %LOCALAPPDATA%\AlbumArtDownloader folder is deleted, and reinstalling it might help.

Alex

Album Art Downloader XUI

Reply #1928
No no, I tried everything you said and it still doesn't work, sorry for not explaining. And it's quite weird 'cause few weeks ago everything was perfect and I don't have any problems with the computer. Maybe new version of the program could solve the problem?

Best
// MK

Album Art Downloader XUI

Reply #1929
Maybe new version of the program could solve the problem?
So blu didn't work either, then? In that case, it's clearly a problem with your .NET Framework / WPF installation. If reinstalling the .net framework didn't work then I'm afraid I don't have any further suggestions. No new version of the program can possibly solve the problem, as it isn't a problem with Album Art Downloader.

Alex

Album Art Downloader XUI

Reply #1930
Hey Alex,

for your interest: i found another site with exceptional album art. the download store eclassical.com has mainly classical music for download. They have especially better image quality for some record companys (e.g. BIS), where other databases often result lousy scans.
i didn't figure out the search API, yet. But here you have an example:

http://www.eclassical.com/orchestras/bach-...-volume-47.html

you may open it in your browser. right click on the image leads to the resized thumbnail:

http://ecstatic.textalk.se/shop/thumbnails...0_250_250_0.jpg

if you remove the part "thumbnails/shop/" and the resizing part "_0_0_100_100_250_250_0.jpg" from the link, you'll get the original image (1418x1418):

http://ecstatic.textalk.se/shop/17115/art1...gpic-9a02f2.jpg

the picture size varies, but is mainly larger than 600px.
yours,
thomian

Album Art Downloader XUI

Reply #1931
i found another site with exceptional album art. the download store eclassical.com
Looks good, it's nice to have another Classical script. Please give eclassical.boo a go and let me know if you find any problems with it.

Alex

Album Art Downloader XUI

Reply #1932
let me know if you find any problems with it.

wow, you're really fast. the search engine of the website has problems with "points". for example searching for "J.S. Bach" returns only one album, whereas "J. S. Bach" returns 73 results. If you take a closer look you'll realize that most of these albums are named "J.S. Bach ..." and should therefore also be found on the first search.
Moreover the order of the returned items is absolutely unlogical, as the best fitting results sometimes occur at place 20+ and will not be shown in AAD unless you're setting the script to find more than 20 results. i think the results are sorted by popularity or something.

but these constraints have nothing to do with your script, as they also occur with the original website.
great work!

yours,
thomian

Album Art Downloader XUI

Reply #1933
but these constraints have nothing to do with your script, as they also occur with the original website.
Yeah, their search engine could use some work. Not something I can fix in the script, though, I'm afraid.

Thanks for the report.

Alex

Album Art Downloader XUI

Reply #1934
To test for image similarity... I put the two images to compare in two layers, then set the top layer to be "Difference" mode (or Subtract probably works just as well). That gives you what looks like just an all-black image, but to be sure I then use the Magic Wand (set to 0% tolerance) and click somewhere in the black. If there's any non-black pixels, they get highlighted by the selection boundaries, otherwise the selection is just the whole image.

Tried that with GIMP and Paint.NET, doesn't work like you describe it. I placed the same picture in 2 layers and did the mode & wand stuff, still random pixels get selected, not whole image. Anyways, this topic is about AAD, not image editing.

I did put in a change a while back, though (at your request, if I remember right), that if you have it set to automatically download new scripts, it doesn't set the "restart required" flag after doing so.

I don't remember that. Anyways, two restarts it is then if I get both new & updated scripts available in the future.

here is an example for a larger tif from the iTunes Store:
http://a4.mzstatic.com/us/r1000/048/Music/...zi.cyomhscs.tif

I tried to load that above tif image and I was greeted with this page:
Code: [Select]
Forbidden

You don't have permission to access /Music/b6/b3/d3/mzi.cyomhscs.tif on this server.

I then immediately tried "metallica / load" search in AAD and iTunes API & iTunes Google worked just fine.

~10 minutes later, while writing this post, I'm able to download that tif image.    Just reporting this anomaly.

P.S. That Anibal Troilo guy in the cover totally looks like Ricky Gervais.

i just tried the robbie williams search on discogs only and it was fine (10 results).

Tried it too, 15 results for me.

Album Art Downloader XUI

Reply #1935
I don't know if it's been addressed, mostly because I cant figure out how to sure this particular post.

It seems when I auto download, it will find album art from album's it designated as "Not Found", and then stick it in other album's folders. Is this a common problem?

(Example)
Search for both Wish You Were Here and DSOTM

Wish you were here says 'not found'
An image for Wish You Were Here is saved as DSOTM's album art

I'm using the foobar loader if that matters

Album Art Downloader XUI

Reply #1936
~10 minutes later, while writing this post, I'm able to download that tif image.    Just reporting this anomaly.

P.S. That Anibal Troilo guy in the cover totally looks like Ricky Gervais.
Weird, but I don't think it's anything to do with the script. If .tif images stop working permanently then I'll change the script not to bother with them, but if it's only a temporary fault it's not worth changing anything. And yes, he does look a lot like Gervais!

It seems when I auto download, it will find album art from album's it designated as "Not Found", and then stick it in other album's folders. Is this a common problem?
I've never heard it reported before. Could you try right clicking on one of the column headers in the foobar browser, and checking the "Folder" entry. That will give you a column which shows which folder it thinks each album is in, and it should be into that folder that it saves images for each album.

Alex

Album Art Downloader XUI

Reply #1937
Quote
It seems when I auto download, it will find album art from album's it designated as "Not Found", and then stick it in other album's folders. Is this a common problem?
I've never heard it reported before. Could you try right clicking on one of the column headers in the foobar browser, and checking the "Folder" entry. That will give you a column which shows which folder it thinks each album is in, and it should be into that folder that it saves images for each album.

Alex


This solved itself when I started using discogs for searching. Before I was only using Last.fm covers, which works when i go one by one, but somehow does this odd misplacing when i autodownload.

Album Art Downloader XUI

Reply #1938
Weird, but I don't think it's anything to do with the script. If .tif images stop working permanently then I'll change the script not to bother with them, but if it's only a temporary fault it's not worth changing anything.

Nothing to do with the script, only the server. I just reported it in case some other user reports something wrong with the iTunes script.. might save some time bughunting. That's all.. just a "good to know" thing.

Album Art Downloader XUI

Reply #1939
is it just me (again), or did discogs script stopped working again?



 

Album Art Downloader XUI

Reply #1942
Hi, I've noticed that buy.com has changed the way they serve cover images in the product page. Now every picture is embedded in a 500x500 white canvas, even if it is smaller than that size:



I've modified the script so that it detects this unwanted whitespace and trims it.
Unfortunately now it is necessary to download the full size images every time, so I've also added threading to improve responsiveness somewhat.

Here is the code: buy-com.boo v0.8

Album Art Downloader XUI

Reply #1943
Now every picture is embedded in a 500x500 white canvas

Thanks, alsaan. It does mean that the buy.com images are now pretty tiny, most thumbnails are bigger than they are! Do you think it is even worth keeping the script any more?

If we are going to keep the script, I'm not entirely convinced by removing thumbnails support from it. There is already the facility in AAD to specify (even on a per-script basis) that only full-sized images should be downloaded, so it seems to me that leaving thumbnails in can only be a benefit. The downloading and cropping of the image can be done when (and if) a full size image is requested. The threading can then be left to AAD (which allocates one thread per script, and a separate thread for downloading full sized images).

Alex

Album Art Downloader XUI

Reply #1944
Thanks, alsaan. It does mean that the buy.com images are now pretty tiny, most thumbnails are bigger than they are! Do you think it is even worth keeping the script any more?


Most images are really 500x500, it's just that those which are smaller than that show up with that annoying white border. This is how AAD looks with the current version of the script:

http://i.imgur.com/uoqPf.png

If we are going to keep the script, I'm not entirely convinced by removing thumbnails support from it. There is already the facility in AAD to specify (even on a per-script basis) that only full-sized images should be downloaded, so it seems to me that leaving thumbnails in can only be a benefit. The downloading and cropping of the image can be done when (and if) a full size image is requested. The threading can then be left to AAD (which allocates one thread per script, and a separate thread for downloading full sized images).


The problem is that it's no longer possible to determine the size of the cover without downloading and processing the full image. Should I just specify -1 as the width/height? (Or 500, even if it's not always true?)

Album Art Downloader XUI

Reply #1945
Should I just specify -1 as the width/height? (Or 500, even if it's not always true?)

The ones I tried were all tiny images with huge white borders, but I could have just been unlucky. Anyway, yes, if the size can't be determined without downloading the full sized image, specify -1. There's an option in AAD specifically to download full size images only when the size is unknown which takes advantage of this.

edit: removed paragraph of stupidity.

Alex



Album Art Downloader XUI

Reply #1948
@Spile:
That looks like a problem I had some pages back. For me the problem appeared to be in Windows XP's environment variables. If you go to Control panel --> System --> Advanced --> Environment variables you'll see "Path" under system variables. Double click on it and check the line for anything put there by 3rd party programs. Delete those parts and try again.
Thanks for the response and I deleted the system variable for path.
Installed version 0.41
Upgraded scripts
Chose browse option which resulted in...

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.41.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.41.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)