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 2047745 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Album Art Downloader XUI

Reply #2401
Why don't you add Microsoft Music Shop Site (Site : Microsoft Music Shop Site) and Google Play Music Site?

The Microsoft site didn't seem to be anything other than a list of internet radio stations for me - no album search. Maybe it's an IP geolocation thing, I don't know, but in any case if I can't access it, I can't do a script for it.

Google Play Music, on the other hand, does look quite promising, with good quality high res images. Here's a script for it, if you'd like to try it out and give me any comments before I make it available through online updates: google-play.boo. It would also be useful to know if you find any full-size images that are not 1448×1448 pixels - if I can be reasonably sure that they are all that size, I will have the script report them as such rather than "Unknown".

Alex

Album Art Downloader XUI

Reply #2402
most of my library, while in the artist/album directory setup has additional unique identifiers after most, but not albums:
How about: \%artist%\%album%"(?: \(\d+\) \([\dA-F]+\))?"\*

That should ignore the bit at the end of the album folder so long as: it starts with a space, has a number in brackets, followed by a space, followed by a hex code (digits 0-9, A-F) in brackets.


Alex


Alex, thank you for the formatting above. How can I also get the search to ignore (Disc #)?
Is this correct:

Code: [Select]
\%artist%\%album%"(?: \(\d+\) \([\dA-F]+\) \(Disc \d+\))?"\*


Thanks as always!

Album Art Downloader XUI

Reply #2403
Alex, thank you for the formatting above. How can I also get the search to ignore (Disc #)?

The code you suggested would work just fine if the disc number bit was always on the end. If you want to make it optional, though, you need it in it's own optional group:
Code: [Select]
\%artist%\%album%"(?: \(\d+\) \([\dA-F]+\))?(?: \(Disc \d+\))?"\*


Açex

Album Art Downloader XUI

Reply #2404
It would also be useful to know if you find any full-size images that are not 1448×1448 pixels - if I can be reasonably sure that they are all that size, I will have the script report them as such rather than "Unknown".


First album I searched for is 1200x1200 (David Bowie - Earthling).

Edit: Also got 900x896 for another.

Album Art Downloader XUI

Reply #2405
Hello,

I installaed in a new SSD (Windows 7 Professional 64 bit) the Album Art Downloader, but after reboot I cannot start the app successfully.

I may read this text:


Searching for scripts...
Found 41 files: [45cat.boo, 7digital.boo, allcdcover.boo, amazon-ca.boo, amazon-co-uk.boo, amazon-com.boo, amazon-common.boo, amazon-de.boo, amazon-fr.boo, amazon-it.boo, amazon-jp.boo, amazon-mp3-com.boo, archambault.boo, arkivmusic.boo, audiopreservationfund.boo, buy-com.boo, chartstats.boo, cover-paradies.boo, coveralia.boo, coverlandia-official.boo, coverlandia.boo, deejay.boo, deezer.boo, discogs.boo, djshop.boo, eclassical.boo, emusic.boo, fanarttv.boo, google.boo, hitparade.boo, hyperionrecords.boo, itunes.boo, lastfm-artist.boo, lastfm-cover.boo, maniadb.boo, medianet.boo, musicbrainz.boo, qobuz.boo, soundstation.boo, theclassicalshop.boo, util.boo]...
Loading references: [System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web]...
Compiling scripts...
(-1,-1): error BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.SaveAssembly': 'Zugriff verweigert (Ausnahme von HRESULT: 0x80070005 (E_ACCESSDENIED))'.



The most important message of this text is:

(-1,-1): error BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.SaveAssembly': 'Access denied (Ausnahme exception from HRESULT: 0x80070005 (E_ACCESSDENIED))'.



I do not understand the reason and I cannot use the Album Art Downloader. How to install and use the Album Art Downloader correctly.

I made the installation at the first installation to C:\Program Files, without success. After uninstalling to C:\Program Files (x86), but again without success.

What is to do for getting solution?

Thanks for your clear, considered and thoughtful response.

Thomas

Album Art Downloader XUI

Reply #2406
The most important message of this text is:

(-1,-1): error BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.SaveAssembly': 'Access denied (Ausnahme exception from HRESULT: 0x80070005 (E_ACCESSDENIED))'.

Hello,

The problem here is that Album Art Downloader no longer has permissions to write to the location where it saves the cached compiled scripts. This is probably because you are not running it as the same user account that created the folder initially. To fix this, please go to %LOCALAPPDATA% (you can paste that into windows explorer - it should take you to C:\Users\<username>\AppData\Local). Then find the folder called "AlbumArtDownloader" and delete it. This will reset your album art downloader settings, but will allow it to run again properly.

Of course, alternatively, you could reset the permissions for the folder so that the user that you run Album Art Downloader as has write permissions to it, but that's more complicated to explain, so simply deleting the folder is the easiest solution!

Regards,

Alex

Album Art Downloader XUI

Reply #2407
Thank you for this very good idea. I tried it as sser (named 'AndreaSchatz') with Admin-Rights and deleted the folder. Without reboot and again with reboot I started the application Album Art Downloader again and I got this following error-txt. As Admin I made the same and received the same result. Now I do not know, what to do.

error-txt:

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:\Users\AndreaSchatz\AppData\Local\Temp\AAD_errorlog.txt

App version: 1.0.0.0, running on Microsoft Windows NT 6.1.7601 Service Pack 1 (64 bit)

System.ArgumentException: Die SearchPathPatternHistory-Eigenschaft konnte nicht aus ihrem Standardwert erstellt werden. Fehlermeldung: Temporäre Klasse kann nicht generiert werden (result=1).
error CS0016: In die Ausgabedatei c:\Users\AndreaSchatz\AppData\Local\Temp\l914z1aw.dll konnte nicht geschrieben werden -- Zugriff verweigert .

  bei System.Configuration.SettingsPropertyValue.Deserialize()
  bei System.Configuration.SettingsPropertyValue.get_PropertyValue()
  bei System.Configuration.SettingsBase.get_Item(String propertyName)
  bei System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
  bei AlbumArtDownloader.LocalFilesSource.LoadPathPatternHistory(Settings localFilesSourceSettings)
  bei AlbumArtDownloader.ArtSearchWindow.LoadSourceSettings()
  bei AlbumArtDownloader.ArtSearchWindow.LoadSettings()
  bei AlbumArtDownloader.ArtSearchWindow..ctor()
  bei AlbumArtDownloader.App.ProcessCommandArgs(String[] args)
  bei AlbumArtDownloader.App.OnStartup(StartupEventArgs e)
  bei System.Windows.Application.<.ctor>b__0(Object unused)
  bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
  bei System.Threading.ExecutionContext.runTryCode(Object userData)
  bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Windows.Threading.DispatcherOperation.Invoke()
  bei System.Windows.Threading.Dispatcher.ProcessQueue()
  bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  bei System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
  bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  bei System.Windows.Application.RunInternal(Window window)
  bei AlbumArtDownloader.App.AlbumArtDownloader.IPriorInstance.Run()
  bei AlbumArtDownloader.InstanceMutex.RunAppAsServiceHost(IPriorInstance instance, String channelUri)
  bei AlbumArtDownloader.App.Main(String[] args)

Note:

System.ArgumentException: Die SearchPathPatternHistory-Eigenschaft konnte nicht aus ihrem Standardwert erstellt werden. Fehlermeldung: Temporäre Klasse kann nicht generiert werden (result=1).
error CS0016: In die Ausgabedatei c:\Users\AndreaSchatz\AppData\Local\Temp\l914z1aw.dll konnte nicht geschrieben werden -- Zugriff verweigert .

Translated with Google:
System.ArgumentException: The SearchPathPatternHistory property could not be created from its default value. Error message: Unable to generate a temporary class (result=1).
error CS0016: In the output file c:\Users\AndreaSchatz\AppData\Local\Temp\l914z1aw.dll could not be written - Access is denied.


I think, that I need a very big help.
Thank you for your help.

Thomas

Album Art Downloader XUI

Reply #2408
error CS0016: In die Ausgabedatei c:\Users\AndreaSchatz\AppData\Local\Temp\l914z1aw.dll konnte nicht geschrieben werden -- Zugriff verweigert .

That looks to me like your current user has no permissions to write to your temporary folder "c:\Users\AndreaSchatz\AppData\Local\Temp\" either! I am surprised not more programs on your computer are not working, if this is the case. I am not sure if you can just delete and recreate the "Temp" folder, but it is worth a try. If not, then try to give yourself full control permissions to that folder (and really, you should have it to all folders under c:\Users\AndreaSchatz) by right clicking on it, choosing Properties, then the Security tab, click Edit, Add then add your user (AndreaSchatz) to the list, and check the Allow box next to Full Control.

This is all a bit outside the scope of this thread - you should be able to find information on how to fix permissions through searching (probably even with the German names for the buttons and so on, that I don't know!), but if you are really stuck PM me and we can take this offline.

Alex

Album Art Downloader XUI

Reply #2409
error CS0016: In die Ausgabedatei c:\Users\AndreaSchatz\AppData\Local\Temp\l914z1aw.dll konnte nicht geschrieben werden -- Zugriff verweigert .

That looks to me like your current user has no permissions to write to your temporary folder "c:\Users\AndreaSchatz\AppData\Local\Temp\" either! I am surprised not more programs on your computer are not working, if this is the case. I am not sure if you can just delete and recreate the "Temp" folder, but it is worth a try. If not, then try to give yourself full control permissions to that folder (and really, you should have it to all folders under c:\Users\AndreaSchatz) by right clicking on it, choosing Properties, then the Security tab, click Edit, Add then add your user (AndreaSchatz) to the list, and check the Allow box next to Full Control.

This is all a bit outside the scope of this thread - you should be able to find information on how to fix permissions through searching (probably even with the German names for the buttons and so on, that I don't know!), but if you are really stuck PM me and we can take this offline.

Alex




Thank you, I will do my best and will try all. If this would be without success, I would come back to your kind offer of PM. Thank you for your PM-offer.

Kind regards

Thomas

Album Art Downloader XUI

Reply #2410
Now I can use the program. The reason was another owner of the explained temp-folder. Thank you again for your kind help.

Thomas

Album Art Downloader XUI

Reply #2411
Alex,

I was wondering if it might be possible for you to change the file dialogs that are used inside the program (when you click the ... buttons to manually choose a save location) to use the current Windows IFileDialog's. Obviously not a huge issue, but I often do a lot of saving in different locations and I miss the "Favorites" and "Libraries" folder shortcuts that the IFileDialog's provide. If my 2012 install wasn't screwing up, I'd take a look at doing this myself, but it's crashing whenever I try and open a file from this (or any) solution.

Album Art Downloader XUI

Reply #2412
I was wondering if it might be possible for you to change the file dialogs that are used inside the program

I've done a bit of research into this. It seems that WPF under .NET 3.5 does not support the vista-style dialogs. There is support for them in .NET 4, however I'm not sure I really want to require users to install the .NET 4 runtime just to get these dialogs...

Alex

Album Art Downloader XUI

Reply #2413
I was wondering if it might be possible for you to change the file dialogs that are used inside the program

I've done a bit of research into this. It seems that WPF under .NET 3.5 does not support the vista-style dialogs. There is support for them in .NET 4, however I'm not sure I really want to require users to install the .NET 4 runtime just to get these dialogs...

Alex

Didn't realize that was the case with WPF. Forcing 4.0 is kind of a hassle, but probably not the end of the world.

If you didn't want to force .NET 4 it looks like you can use the Ookii dialog classes in WPF instead to provide the updated dialogs. Sounds like it's a pretty easy transition, so it might be worth looking into.

Album Art Downloader XUI

Reply #2414
Didn't realize that was the case with WPF. Forcing 4.0 is kind of a hassle, but probably not the end of the world.

If you didn't want to force .NET 4 it looks like you can use the Ookii dialog classes in WPF instead to provide the updated dialogs. Sounds like it's a pretty easy transition, so it might be worth looking into.

Thanks for the tip, that Ookii library looks pretty good, I might include it in any next release. For the moment, if you have .NET 4 installed, you can make AAD use it with a config file like this one: AlbumArt.exe.config. Save it as AlbumArt.exe.config in your AAD program folder (next to AlbumArt.exe) and it will instruct it to run under CL4 if available. If you already have an AlbumArt.exe.config file, then you can edit it so that it ends with:

Code: [Select]
    <startup>
        <supportedRuntime version="v4.5" />
        <supportedRuntime version="v4.0" />
        <supportedRuntime version="v2.0.50727" />
    </startup>    
</configuration>

If you decide to try this, let me know if you notice any adverse effects. If not, I might try shipping a config file like that as part of the installer.

Alex


Album Art Downloader XUI

Reply #2416
as i have an XP virtual machine without .net4, i tested AAD with this new config file and it still works as normal.

and it works as expected giving the new dialog on my windows 7 pc which has .net4.5

Album Art Downloader XUI

Reply #2417
Using Windows 8.1 Pro, what do you think the problem is?

Code: [Select]
Loading references: [System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web.Extensions, System.Web]...
Error: Could not load file or assembly 'file:///D:\Program Files\AlbumArtDownloaderXUI\Boo.Lang.Parser.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Album Art Downloader XUI

Reply #2418
Using Windows 8.1 Pro, what do you think the problem is?
My best guess is that Windows thinks that dll is untrusted for some reason. This could be either because the folder its in is untrusted, or the dll itself is marked as untrusted. As it appears to be in Program Files\AlbumArtDownloaderXUI it's unlikely that the whole folder is untrusted, or AAD itself wouldn't be allowed to run. Try right clicking on the Boo.Lang.Parser.dll file in D:\Program Files\AlbumArtDownloaderXUI and choosing properties. If there is an "Unblock" button then you can click that and it should work next time you run AAD.

Alex

Album Art Downloader XUI

Reply #2419
Thanks for the reply.
Actually, it has to do with the AlbumArt.exe.config file.
I have the one that you posted in the directory and get the failure.
If I move AlbumArt.exe.config out of the directory, AAD runs as usual.
Here's the contents of the config file
Code: [Select]
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
      <startup>
        <supportedRuntime version="v4.5" />
        <supportedRuntime version="v4.0" />
        <supportedRuntime version="v2.0.50727" />
    </startup>
</configuration>

 

Album Art Downloader XUI

Reply #2420
Actually, it has to do with the AlbumArt.exe.config file.
In that case, I'm afraid I haven't a clue. Presumably you have .NET 4 runtime installed, so with the config file present it will be running AAD using that - but why .NET 4 should consider the Boo.Lang.Parser.dll to be blocked but .NET 3.5 does not, that's a mystery. I should just stick with .NET 3.5, not using the config file.

Alex

Album Art Downloader XUI

Reply #2421
Actually, it has to do with the AlbumArt.exe.config file.
In that case, I'm afraid I haven't a clue. Presumably you have .NET 4 runtime installed, so with the config file present it will be running AAD using that - but why .NET 4 should consider the Boo.Lang.Parser.dll to be blocked but .NET 3.5 does not, that's a mystery. I should just stick with .NET 3.5, not using the config file.

Alex



I think Windows 8/8.1 does not have .NET 3.x and you must follow a procedure to install it.
In any event, the .config file will fail on Windows 8/8.1
This is from MSDN

Code: [Select]
If you are using the Windows operating system, the .NET Framework may  already be installed on your computer. Specifically, the .NET Framework  4.5 is included with Windows 8 and installed on your computer with the  Windows 8 operating system. Similarly, the .NET Framework 4.5.1 is  included with Windows 8.1                                                                                           
Important
There is no download for the .NET Framework 3.5 for  Windows 8 or Windows 8.1. You must enable the .NET Framework 3.5 in  Control Panel by following the instructions provided in this article.

Album Art Downloader XUI

Reply #2422
I think Windows 8/8.1 does not have .NET 3.x and you must follow a procedure to install it.
Hmm... interesting, so without the config file it won't run at all, then? Or does Windows 8.1 somehow automatically run it under .NET 4 anyway (giving you the vista-style save dialogs)? Either way, probably safest not to include the config in the installer, I think.

Alex

Album Art Downloader XUI

Reply #2423
Windows 8.1 Pro 64-bit here, with the above mentioned config file, Album Art Downloader works fine.

Album Art Downloader XUI

Reply #2424
I think Windows 8/8.1 does not have .NET 3.x and you must follow a procedure to install it.
Hmm... interesting, so without the config file it won't run at all, then? Or does Windows 8.1 somehow automatically run it under .NET 4 anyway (giving you the vista-style save dialogs)? Either way, probably safest not to include the config in the installer, I think.

Alex



No, with the config file, AAD does not launch. Without the file, runs as usual.
I see someone else reports success so I have no idea. This is a plain vanilla, fresh install of Windows 8.1 Pro x64.
But, as long as AAD works, I'm a happy camper.