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

Album Art Downloader XUI

Reply #1775
Would it be possible to, when time allows, make a script for this site http://progg.se/band.asp?ID=148&skiva=629&cover=629. It has 500x500 Front album art for obscure old Swedish prog music that is not available elsewhere. They say that they have higher quality art and Back and Inside art as well upon request so there might be some hidden files on the web site.

Album Art Downloader XUI

Reply #1776
7digital shows a default "not found" image
Hah, I knew it was worth testing first! I've updated 7digital.boo so it treats a redirect to that "not found" image as if it didn't exist, and falls back on the next size down. In this case, 500x500. Have you spotted any that fall back on 300x300? I think the music I know isn't obscure enough, as everything I tried has an 800 image available :-/

Alex

Album Art Downloader XUI

Reply #1777
Yeah yeah, testing is wise, enough with the gloating.  Works now.

No, I haven't found any 350px (that was what you meant?) only covers. Were you thinking of dropping the 350px away completely? Or what were you thinking about?

Album Art Downloader XUI

Reply #1778
No, I haven't found any 350px (that was what you meant?)
Yes, 350 was what I meant. According to their API docs, about 10% of their catalogue don't have 500 or 800 sized images, so I assume they fall back to 350. Oh well, I guess I'll stick with what I've got and hope that if anyone does find a 350, and it doesn't work, they'll report it!

I'm going to start the release process for 0.40 now.

Album Art Downloader XUI

Reply #1779
Version 0.40
This version adds some requested features, most notably the ability to customise the pattern used to suggest new names for files that would otherwise be overwritten. To do this, click the Options link in the Overwrite warning dialog that appears when you try to overwrite an existing file by saving a result.

Other added features:
  • Added "Booklet" as one of the standard types. Currently, Cover-Paradies is the only source that uses it.
  • Added ability to sort and group by the URL associated with results (generally the page the result was found on).
  • Added the file size and dimensions of the existing file to the Overwrite confirmation dialog.
  • Added button to easily toggle all filters (size and cover type) on and off - it's just to the left of the Group settings above the search results.
Bugs fixed:
  • When using a preset to save a result, the default path pattern to save to is now always used (rather than any specific filename already assigned to that result)
  • Fixed performance/memory issue when running the File Browser over very large collections (during the post-scan various artists detection stage)
  • Archambault script is fixed
New scripts:
  • EB Reggae, for Reggae music
  • GigaCrate, for DJ music
  • eMusic (partially depends on Google)
  • Qobuz
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)


Album Art Downloader XUI

Reply #1781
I just got an idea (that will not benefit me though). I was talking with someone at another forum that I guess had only embedded album art (and, yes, I did recommend checking out AAD...).

Why not use the file browser capabilities to read embedded images in the search window like an "embedded local files" script? (Sorry if this has been suggested before.)

Another thing I wondered about after extensive use of AAD: AAD is much based on the use of many windows you have to close to get new ones to appear, so why is it not possible to close a window with Esc, or even Ctrl+W?

Thanks again for the new version!

Album Art Downloader XUI

Reply #1782
Why not use the file browser capabilities to read embedded images in the search window like an "embedded local files" script?
That already happens. The default setting for the local files source is to search for "%folder%\%filename%|%folder%\*<*>", which means look in the folder where results will be saved for, and look for either files which are named the same as the result will be saved to, or any images embedded within any files in that folder. (In AAD, embedded images are referenced in paths with <> syntax, so "track.mp3<0>" means the first embedded image within the file track.mp3, and here *<*> means any embedded image, in any file.)

why is it not possible to close a window with Esc, or even Ctrl+W?
Esc, because that is to close modal dialog boxes, or otherwise to cancel something. Ctrl+W is usually close tab, or close document in an MDI interface (like Ctrl+F4). Neither of which apply to AAD windows, which aren't tabs, or contained within an MDI frame. What's wrong with Alt+F4 for closing a window? It's pretty standard...

Alex

Album Art Downloader XUI

Reply #1783
Thanks for the prompt reply!

Aha, the "or" part explains why I have never seen any embedded search results since here should also always be a folder.jpg file with the same content as the embedded image. I thought AAD was not doing this since you were so reluctant to consider implementing a consistency check regarding the image file in the folder and the image files embedded in the music files.

The image viewing program I use - Irfan View - which relies on multiple windows as well, closes on Esc which I find very handy. But this is probably just handy, not Windows standard.

Album Art Downloader XUI

Reply #1784
I think it ought to be finding both embedded images and folder.jpg (sorry, using 'or' in the programming sense, mathematically the union of the two - hard to remember that the English use can mean almost exactly the opposite). If it isn't finding embedded images for you there's probably some reason for that. The first thing to check would be to make sure that the path in the local files source does actually include the *<*> search pattern. If it does, then hover the mouse over the pattern to get a tooltip showing what it resolves to, and check that it is actually looking in the right place.

The reason behind my reluctance to implement a consistency check is not the finding of artwork, AAD is all about finding artwork, it's the 'consistency' aspect. I don't want to get into library management. To me, making sure the Image tag is the same for all tracks in an album, and matches the external image file, is the same class of task as making sure that the album name tag is the same for all the tracks, and matches the folder name that they are in. Both these tasks should be done by the same software, and that isn't going to be AAD.

Alex

Album Art Downloader XUI

Reply #1785
Thanks for the reply! I will reply tomorrow since I will be busy now.

Album Art Downloader XUI

Reply #1786
If it isn't finding embedded images for you there's probably some reason for that. The first thing to check would be to make sure that the path in the local files source does actually include the *<*> search pattern. If it does, then hover the mouse over the pattern to get a tooltip showing what it resolves to, and check that it is actually looking in the right place.

For an album with embedded images in each file and a folder.jpg of the same image in the same folder AAD reports only folder.jpg. The path in the Local files script is:
%folder%\%filename%|%folder%\*<*>

I do not think I have changed it. It seems to resolve nicely to the correct folder but the last item ends with: \*<*>
and the first one ends with: \*.*

I am happy with things as how they are now and would not want to find 20 identical images, one from each music file. I am, however, willing to help you test if you think what I am seeing could be a bug. Just let me know.

I was not at all questioning your prerogative to determine the scope of your own program, or demanding any explanation from you in this regard. Sorry if it came out that way.

Album Art Downloader XUI

Reply #1787
Version 0.40
  • When using a preset to save a result, the default path pattern to save to is now always used (rather than any specific filename already assigned to that result)

If you choose a preset that will overwrite a file and then cancel the overwrite dialog, the file path is changed to that preset and will not change even if you change image type. Is this the intended behaviour?

Album Art Downloader XUI

Reply #1788
If you choose a preset that will overwrite a file and then cancel the overwrite dialog, the file path is changed to that preset and will not change even if you change image type. Is this the intended behaviour?
If you choose a preset, it will clear any existing custom filename. It will also set the current %preset% value to whatever the value of the preset selected was. This all occurs before the overwrite dialog is shown.

Cancelling the overwrite dialog will prevent the file from being saved, and will not apply any custom filename, but nothing else. If you want to change to a different preset you'll still need to pick one from the list. Changing the image type will not affect which preset is selected, but should update any %type% placeholders.

(Note that if the text of the filename is black and bold then it is set as a custom filename, and will no longer be affected by changing the type, or any other variable, until cleared. It is cleared either by clicking on it and deleting all the text, or by applying any preset (which is the new behaviour just added in 0.40))

Oh yes, and as for the embedded art thing, if you're happy with it as it is then there's no need to start messing about with it on my account, I know the functionality works at least for me!

Alex

Album Art Downloader XUI

Reply #1789
Thanks for the reply!

Changing the image type will not affect which preset is selected, but should update any %type% placeholders.

Aha, I have %preset%.%extension% set as the filename and the default preset set to %type% (which is then not updated).

Album Art Downloader XUI

Reply #1790
Hello!

I have a suggestion how the overwrite window can be improved in the next version of AAD. I like the option of saving the file as front2.jpg and I'd like to suggest doing the same choices for back, inside, cd and booklet. I will explain why that would be convenient.

To get my covers, I am using the command line parameter found here: http://eolindel.free.fr/foobar0.9/covers.php. With the overwrite window of the latest AAD I can save for example the back cover without overwriting the front AND my command line parameter. With the abovementioned improvement it would be much more comfortable and a lot faster to get all the necessary covers.

If there is another way to do what I'd suggested (without modifying the original command line parameter), could anyone tell me how to do it? Step by step please

I'm sorry if that has been suggested before.

Great work on AAD!! Keep it up. So far it's the best way to get covers for the entire music collection

Darcorn

Album Art Downloader XUI

Reply #1791
Hello!

I have a suggestion how the overwrite window can be improved in the next version of AAD. I like the option of saving the file as front2.jpg and I'd like to suggest doing the same choices for back, inside, cd and booklet. I will explain why that would be convenient.

To get my covers, I am using the command line parameter found here: http://eolindel.free.fr/foobar0.9/covers.php. With the overwrite window of the latest AAD I can save for example the back cover without overwriting the front AND my command line parameter. With the abovementioned improvement it would be much more comfortable and a lot faster to get all the necessary covers.

If there is another way to do what I'd suggested (without modifying the original command line parameter), could anyone tell me how to do it? Step by step please

Have you tried this? Change the Cover.jpg part in the command line parameter in foobar to %type%.%extension%. In the new overwrite dialog choose options and type %filename%%n2%.%extension% as the pattern.

Album Art Downloader XUI

Reply #1792
Thanks for the suggestion vagskal. I'll try it now and post back

One more thing. I use foo_run to run AAD from within Foobar

I changed this: "C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"   

into this: "C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%type%.%extension%"   

Is this what you wanted me to do exactly?

Edit 2: Doing what you suggested vagskal causes AAD to display an error about illegal characters in the path. Unless I'm doing it wrong

Album Art Downloader XUI

Reply #1793
Two separate items of note:

  • Bug in version 0.40: in the Art Preview window, when I go to "Save As..." all the preset items are grayed out and cannot be selected.
  • The Buy.com script is no longer working. Going to the store's web site, I noticed that their search result pages now use an AJAX loader to display the results, so making the Buy.com script work could be difficult if not impossible. A pity, as the site has been a good alternative to Amazon for 500-pixel art.

 

Album Art Downloader XUI

Reply #1794
Thanks for the suggestion vagskal. I'll try it now and post back

One more thing. I use foo_run to run AAD from within Foobar

I changed this: "C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"   

into this: "C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%type%.%extension%"   

Is this what you wanted me to do exactly?

Edit 2: Doing what you suggested vagskal causes AAD to display an error about illegal characters in the path. Unless I'm doing it wrong

I do not use foobar with AAD, but I thought that the change in foobar would send [the folder path]\%type%.%extension% to AAD (like with the command line interface). If it does not, you had better wait for a reply from someone using foobar. Sorry if I mislead you.

Album Art Downloader XUI

Reply #1795
Edit 2: Doing what you suggested vagskal causes AAD to display an error about illegal characters in the path. Unless I'm doing it wrong
Vagskal had it almost right, but because you are using Foobar, you need to enter %% instead of % where you want the % to go to AAD, otherwise Foobar tries to replace it itself. So:

"C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%%type%%.%%extension%%

ought to do the job. However, that will name results as "Front.jpg", "Back.jpg" and so on. If you would rather the Front or Unknown images were still called "cover.jpg", you can do that with:

"C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%%type(cover,cover)%%.%%extension%%

in the Art Preview window [...] all the preset items are grayed out
Oops, my fault, sorry. Thanks for reporting it, that will be fixed in the next version.

The Buy.com script is no longer working
I've updated the script, it should be available through online updates, or directly here: buy-com.boo

Alex


Album Art Downloader XUI

Reply #1797
WORKS LIKE A CHARM!! AAD just got MUCH MORE awesome!!! THANK YOU ALEX!!! ))


Album Art Downloader XUI

Reply #1799
AAD crashed on startup. Here is the crash log:

Code: [Select]
App version: 0.40.0.0, running on Microsoft Windows NT 6.1.7601 Service Pack 1 (64 bit)

System.Reflection.TargetInvocationException: Ett undantagsfel har uppstått i målet för en aktivering. ---> System.InvalidOperationException: Must call LoadScripts() before using this property
   vid AlbumArtDownloader.App.get_Scripts()
   vid AlbumArtDownloader.ArtSearchWindow..ctor()
   vid AlbumArtDownloader.App.ProcessCommandArgs(String[] args)
   vid AlbumArtDownloader.App.<>c__DisplayClass3.<Signal>b__2()
   --- Slut på stackspårning för interna undantag ---
   vid System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   vid System.Delegate.DynamicInvokeImpl(Object[] args)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   vid System.Windows.Threading.DispatcherOperation.InvokeImpl()
   vid System.Threading.ExecutionContext.runTryCode(Object userData)
   vid System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   vid System.Windows.Threading.DispatcherOperation.Invoke()
   vid System.Windows.Threading.Dispatcher.ProcessQueue()
   vid System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   vid System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
   vid MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   vid MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   vid System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
   vid System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   vid System.Windows.Window.ShowHelper(Object booleanBox)
   vid System.Windows.Window.Show()
   vid System.Windows.Window.ShowDialog()
   vid AlbumArtDownloader.Splashscreen.ShowIfRequired()
   vid AlbumArtDownloader.App.OnStartup(StartupEventArgs e)
   vid System.Windows.Application.<.ctor>b__0(Object unused)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   vid System.Windows.Threading.DispatcherOperation.InvokeImpl()
   vid System.Threading.ExecutionContext.runTryCode(Object userData)
   vid System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   vid System.Windows.Threading.DispatcherOperation.Invoke()
   vid System.Windows.Threading.Dispatcher.ProcessQueue()
   vid System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   vid MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
   vid System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
   vid MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   vid MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   vid System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
   vid System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   vid System.Windows.Application.RunInternal(Window window)
   vid AlbumArtDownloader.App.AlbumArtDownloader.IPriorInstance.Run()
   vid AlbumArtDownloader.InstanceMutex.RunAppAsServiceHost(IPriorInstance instance, String channelUri)
   vid AlbumArtDownloader.App.Main(String[] args)