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

Re: Album Art Downloader XUI

Reply #3075
yeah, there appear to have been some changes to the fanart.tv site

Re: Album Art Downloader XUI

Reply #3076
Hello guys.

I would like to use the command line to automatically download cover arts.
I am able to get a couple correct results but I have to save it manually as the UI window opens up and wants me to select and save one of the images found. As far as I have tested it manually, I would be fine picking the first one of the list.

Is there any way to do this?

Best regards

EDIT:
Nevermind, found a solution. Here's an example call I make to do this:
"C:\Program Files\AlbumArtDownloader\aad.exe" /ar "Skindred" /al "Babylon" /p "XYZ:\MyMusicPath\Skindred\Babylon\folder.%extension%" /s "iTunes,Deezer" /mn 500 /mx 1400 /ma 1 /seq 1 /t f

Re: Album Art Downloader XUI

Reply #3077
How do I save the auto-downloaded files?
Downloaded is saved. They will be saved according to the "Specify path to find images" box in the Options for the browser. By default, this will save them as Folder.jpg, but you can change that to whatever you want. The path is relative to the path of the album the art is for.

the problem is that I want to save multiple files - the folder / cover, the back of the cd, the medium etc, all automatically using the 'type' of the image as the name - for example https://musicbrainz.org/release/58d54b37-e37d-3b53-87dd-09cc1590ed79/cover-art

Re: Album Art Downloader XUI

Reply #3078
Hi,
New to this app.  I figured out how to get new artwork individually - but I'd like to have the app go through my entire collection with the same basic settings:

- Grab the first result, and just put it in the folder
- Use "Folder" as the file name
- Use jpg as the file format

I find that this works for me for my FLACS and mp3's, using FooBar as my media app.

Any help, guidance, direction with this would be appreciated!
Thanks,
-bjk

Re: Album Art Downloader XUI

Reply #3079
Hi,
New to this app.  I figured out how to get new artwork individually - but I'd like to have the app go through my entire collection with the same basic settings:

- Grab the first result, and just put it in the folder
- Use "Folder" as the file name
- Use jpg as the file format

I find that this works for me for my FLACS and mp3's, using FooBar as my media app.

Any help, guidance, direction with this would be appreciated!
Thanks,
-bjk

Never mind.  Figured it out!

Re: Album Art Downloader XUI

Reply #3080
Hey all. New to the program and it's great. Really. Makes my ADHD/Obsessive brain happy to find a tool that makes fixing my album art easier.

Anyway, I was wondering if there was syntax for the "Save images to:" line that would move the word "the" in a band's name to after the name with a comma? Ex: "The Gossip" would become "Gossip, The". I did look in the forum and was not successful or if I did see it, I didn't recognize it. Thanks for the help in advance.

Re: Album Art Downloader XUI

Reply #3081
Anyway, I was wondering if there was syntax for the "Save images to:" line that would move the word "the" in a band's name to after the name with a comma? Ex: "The Gossip" would become "Gossip, The". I did look in the forum and was not successful or if I did see it, I didn't recognize it. Thanks for the help in advance.

I don't know of any option to do that within the AAD program itself. I usually just search for the band name without "The" and avoid that problem entirely. Then again I'm only semi-obsessive and don't bother with whether the artist's proper name contains "The", at least for album art searching purposes. When it comes to tagging the tracks, I do try to use the artist, album, and track names as they are printed on the album.

Re: Album Art Downloader XUI

Reply #3082
Alex, the Discogs script is no longer working for me. I tried debugging, and it looks like the format of the JSON for images in the release pages changed. The image info needed is no longer in the "release_schema" element, but rather in a "dsdata" element. If you need more detail or want me to attempt a fix, then send me a DM.

Re: Album Art Downloader XUI

Reply #3083
Yeah, looks like discogs is completely changed again. I'll have a go at it when I get some time, probably at the weekend. Or if you fancy it yourself, feel free to have a go! I can get the json block from the release page using Regex("id=\"dsdata\"[^>]+>(?<json>{.+?})</script>", RegexOptions.IgnoreCase | RegexOptions.Singleline)

But the json inside is totally different now too, and will need a lot more time to investigate.

Re: Album Art Downloader XUI

Reply #3084
Wow, discogs is getting complicated. I'm beginning to think they're doing it on purpose. I've uploaded discogs.boo v0.25 which should work again until they come up with something even more baroque.

Re: Album Art Downloader XUI

Reply #3085
Alex, thanks for the Discogs fix. I have been somewhat busy myself but could be enlisted in the future if needed.

It looks like Discogs is developing a new version of their release pages. If you visit a master release page on the site you'll see a "Master Release Beta Version" section with an input to toggle between the old and beta versions. Perhaps the JSON change was part of that, although it appears the same JSON is used on the old and beta pages.

Using their API would avoid having to play whack-a-mole like this but could lead to other problems such as rate limits.

Re: Album Art Downloader XUI

Reply #3086
I agree, it would be nice to use the API instead of scraping it out of the html. Rate limiting isn't an issue, or isn't more of an issue, as it already applies to this access too, but the killer issue is that downloading images requires authentication. Unless I require everyone to create an account on Discogs, generate a user token, and paste it into the script before it works, this will not work. Their intended solution is to register the app and obtain a consumer key and secret, but an open-source desktop application is not even in principle compatible with a secret that cannot be disclosed.

So, as they don't offer API access on the same terms as web access, we have to stick with web access.

Re: Album Art Downloader XUI

Reply #3087
Managed to get this installed with wine 7.0 stable using some of the hints in this thread - but the %extension% substitutions are not working properly. My existing folder.jpg files are not identified unless I specifically put `folder.jpg` in the path to find images, which would be fine except that all album covers downloaded are forced to have that extension (right or wrong). Any ideas on what might be happening here? If I leave %extension% in the output filename ends up being `folder.jpg;.jpeg;.jfif`, if that gives any clues.

Re: Album Art Downloader XUI

Reply #3088
Looks like a bug in Wine. Documentation for IWICBitmapCodecInfo::GetFileExtensions says "Receives a comma delimited list of file name extensions associated with the codec", but what you've apparently got there is a semicolon delimited list of extensions.

I'm not set up for verifying this under wine, but if anyone else is and can confirm that this function is returning ; separated instead of , separated strings then I'm sure the Wine team would appreciate a bug report.

Re: Album Art Downloader XUI

Reply #3089
Did anyone manage to get the fanart.tv script working again?

It seems to be broken again, I've tried fixing it to no avail. Not sure how to debug the script so I'm going at it blind :)

Re: Album Art Downloader XUI

Reply #3090
Unless I require everyone to create an account on Discogs, generate a user token, and paste it into the script before it works

At least on this front, instead of requiring editing the boo script could you treat it like the "Path to find images" option from the Local Files script and expose the option in the sources pane? Then if the option is not populated, return from the script.

Mind you, I've never written a boo script for a new source... so I defer to wiser minds. I just know that, for me at least, pasting something into the UI would NOT be a hindrance.

P.S. thank you thank you thank you thank you thank you for this tool! It has helped me clean up my collection SOOO much!

Re: Album Art Downloader XUI

Reply #3091
Did anyone manage to get the fanart.tv script working again?

It seems to be broken again, I've tried fixing it to no avail. Not sure how to debug the script so I'm going at it blind :)
This is Mordred's script, but I took a look and it's a very small tweak to get it working again. Try fanarttv.boo v0.8