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: foo_discogs (Read 1372079 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

foo_discogs

Reply #1475
I' don't think that deleting the cfg will do it, image download is something hardcoded.
looking at what the plugin grabs and comparing this with the image links on the discogs page i.e.  http://www.discogs.com/viewimages?release=897279 there is a difference:

Website:            http://s.pixogs.com/image/R-897279-1185381524.jpeg
Discogs Tagger: http://s.pixogs.com/image/R-150-897279-1185381524.jpeg

I did some tests with fiddler, replacing the URL within the static function OnBeforeRequest(oSession: Session) function in the fiddler script (Rules/Customize Rules...),
adding this at the end of the function)

Code: [Select]
        if (oSession.uriContains("http://s.pixogs.com/image/")) { 
            oSession.fullUrl = "http://s.pixogs.com/image/R" + oSession.fullUrl.Replace("R-","").Substring(oSession.fullUrl.Replace("R-","").IndexOf("-"));
        }


This replaces the first number after R ... and running fiddler as long as this problems persist should help you downloading the right images.

foo_discogs

Reply #1476
bubbleguuum, your plugin is a beauty.

foo_discogs

Reply #1477
I' don't think that deleting the cfg will do it, image download is something hardcoded.
looking at what the plugin grabs and comparing this with the image links on the discogs page i.e.  http://www.discogs.com/viewimages?release=897279 there is a difference:

Website:            http://s.pixogs.com/image/R-897279-1185381524.jpeg
Discogs Tagger: http://s.pixogs.com/image/R-150-897279-1185381524.jpeg

I did some tests with fiddler, replacing the URL within the static function OnBeforeRequest(oSession: Session) function in the fiddler script (Rules/Customize Rules...),
adding this at the end of the function)

Code: [Select]
        if (oSession.uriContains("http://s.pixogs.com/image/")) { 
            oSession.fullUrl = "http://s.pixogs.com/image/R" + oSession.fullUrl.Replace("R-","").Substring(oSession.fullUrl.Replace("R-","").IndexOf("-"));
        }


This replaces the first number after R ... and running fiddler as long as this problems persist should help you downloading the right images.


I just installed Fiddler, but it's telling me that "The variable 'oSesion' isn't declared".
What should I do?

foo_discogs

Reply #1478
I just installed Fiddler, but it's telling me that "The variable 'oSesion' isn't declared".
What should I do?



Try one more s in oSesion, if you copied that error message.

foo_discogs

Reply #1479
Discogs must have changed something with their image URLs.... I'll look into this tomorrow.


foo_discogs

Reply #1481
Please tell me what am I doing wrong. I've just installed foo_discogs and gave it a try. But I'm experiencing problem with cover art being saved inproperly. Here are my settings:

It saves cover in 90x90 px! And it doesn't save artist art at all, but I am not sure that I need it. I need album art in good resolution, 500x500 or something. What should I do? Can I set it up to download all available art to subfolder wit custom name or its too complicated?
Thanks in advance!

foo_discogs

Reply #1482
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z
Downloads full-sized images again.


foo_discogs

Reply #1484
Cheers for the update zoomorph, will give it a test now


foo_discogs

Reply #1486
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z
Downloads full-sized images again.


Looks like it still reports as v1.37.

Oops! Incremented, thanks: https://www.sendspace.com/file/w8ik5z

This reports v1.37. Should we use the above link to get v1.38? Or, wait for the component page to be updated?


foo_discogs

Reply #1488
thx, zoomorph. what was the cause? what did discogs change?


foo_discogs

Reply #1490
thx, zoomorph. what was the cause? what did discogs change?

http://www.discogs.com/forum/thread/540b1ef6aba9e84488bce31b

It looks like the change might've been accidental and Discogs might be reverting it now.... (but the fixed version, which uses the "resource_url" instead of "uri" field should continue to work).

foo_discogs

Reply #1491
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.

foo_discogs

Reply #1492
Seems to be workin' great.  Thanks once again zoomorph

foo_discogs

Reply #1493
thx again, zoomorph 

foo_discogs

Reply #1494
Answer my question please 


foo_discogs

Reply #1496
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.

I've added this feature for you: https://www.sendspace.com/file/p3e713

foo_discogs

Reply #1497
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.

I've added this feature for you: https://www.sendspace.com/file/p3e713


  thanks a lot, friend! now it works! 

foo_discogs

Reply #1498
v1.39 - https://www.sendspace.com/file/imuexw

Nothing essential here, but:
* Supports saving artwork to subdirectories.
* Performance improvement (especially when tagging compilations) by not loading unnecessary artist data.