Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Album Art Downloader XUI (Read 1555895 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Album Art Downloader XUI

Reply #3025
I confirm that fanart.tv script is broken again. I can't figure out why though, I tried to update the script myself, I removed the "search" prefix from musicbrainz because that one seems not to work, but even that didn't fix it.

Either there's a problem with the script while searching for the musicbrainz ID or I just don't know what I'm doing. Even tried the update in this thread from last July but still no dice. Changing the settings all over doesn't help either.

Testing the API itself it seems to work so I don't know why the results aren't showing up in AAD. Hoping someone here could help. Thanks!


Re: Album Art Downloader XUI

Reply #3026
I've updated discogs (v0.21) and Mordred's fanarttv (0.7), they should work again now. @jod773 the problem with fanarttv wasn't just the removal of search (although that was the correct first step), it was also that Musicbrainz was forbidding access without providing a meaningful identifying useragent.

Re: Album Art Downloader XUI

Reply #3027
it was also that Musicbrainz was forbidding access without providing a meaningful identifying useragent.
Hey! Thanks for clearing that up :) I really thought I did everything but I couldn't think of a way to test the script and see where the error happens.

Thank you for the fix!

Re: Album Art Downloader XUI

Reply #3028
Thanks, Alex!

Re: Album Art Downloader XUI

Reply #3029
Hey Alex, I just discovered today that discogs actually stores images greater than 600x600. For example, this is what discogs returns:
https://img.discogs.com/cTvdhiSkSuFI2Xq_oMJjzwTFLp4=/fit-in/600x609/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-629210-1495380053-6160.jpeg.jpg

And this is the full size image:
https://www.discogs.com/image/R-629210-1495380053-6160.jpeg

You'll notice all you need to do from the original image string is:
Code: [Select]
for image in images:
fullImageMatch = Regex("discogs-images/(?<filename>.*jpeg).jpg", RegexOptions.IgnoreCase).Match(image.full)
if fullImageMatch.Success:
imageName = "https://discogs.com/image/" + fullImageMatch.Groups["filename"].Value

However, when I updated discogs.boo to actually implement this, when attempting to retrieve the fullsize image, everything it returns is max 300x300. I can't figure out what's actually going wrong here and was hoping maybe you had some ideas. Being able to get images larger than 600x600 from discogs would be huge.

 
SimplePortal 1.0.0 RC1 © 2008-2021