Jump to content

Discogs plugin not retrieving images


wordlover

Recommended Posts

wordlover

Discogs problems continue. Album Artist/Artist "Search for images" does not search and retrieve from Discogs, even though I have Discogs enabled in Music Library settings as final Artist metadata/image downloader, and the correct Discogs ID has been found and added to Artist records.

Examples: "Jay Hoggard" is properly identified at MusicBrainz (https://musicbrainz.org/artist/1c140b6e-d166-4576-b6b6-5c28a7c8f4f5) but there is no image there to retrieve. He also is properly identified in Discogs (https://www.discogs.com/artist/299482) but the image that does appear there is NOT downloaded and added. Ditto for "Jerry Lawson" (https://www.discogs.com/artist/775225) - image is there but not retrieved by Emby. Multiple Scan Library Files and Refresh Metadata never retrieve images from Discogs for these artists (and others). 

Link to comment
Share on other sites

Happy2Play

Guess I need to test in 4.8.1.0 as it is getting authenticated Discogs resource in my test.  Where 4.9 doesn't appear to be doing anything on my test system

4.8.1.0

image.png.a3be5749b387250fed601e846716b2f2.png

4.9

image.png.190d88ee03c461bfea82c73f70e83f51.png

Edited by Happy2Play
version numbers
Link to comment
Share on other sites

Right but there are some images through the discogs artists api, so if we take those away then we're taking everything away. We could at least just keep what it has so that we can offer something through it.

Link to comment
Share on other sites

wordlover

I haven't seen any artist images come from Discogs at all - I gave a few examples above, and I have found a half dozen (artist image on Discogs, not retrieved by Emby) more whilst trying to polish my new 4.8 database this evening. How could some be getting retrieved but not others?

Link to comment
Share on other sites

Happy2Play
5 minutes ago, Luke said:

Right but there are some images through the discogs artists api, so if we take those away then we're taking everything away. We could at least just keep what it has so that we can offer something through it.

Not sure where the disconnect is at but I see api calls and image requests in 4.8.1.0 but not 4.9.0.1.

I would assume we need to see a server log from @wordloverto see if the server is actually making any calls\requests for a specific example.

Link to comment
Share on other sites

5 minutes ago, wordlover said:

I haven't seen any artist images come from Discogs at all - I gave a few examples above, and I have found a half dozen (artist image on Discogs, not retrieved by Emby) more whilst trying to polish my new 4.8 database this evening. How could some be getting retrieved but not others?

Very simply, there's no image available through the discogs api. happy2play is proposing just eliminating it altogether which in turn would eliminate the troubleshooting of why do i get it for some artists but not others.

Link to comment
Share on other sites

Just now, Happy2Play said:

Not sure where the disconnect is at but I see api calls and image requests in 4.8.1.0 but not 4.9.0.1.

I would assume we need to see a server log from @wordloverto see if the server is actually making any calls\requests for a specific example.

They are working for me in 4.9. Just tested with britney spears. Is it enabled for you in the library options?

Link to comment
Share on other sites

wordlover

Yes, it's enabled in Library options, and appears when I open the "ALL" sources choice drop down in search screen. And each of the examples I gave has correct Discogs ID in the Metadata screen for each Artist. I click the "open window" icon and it properly jumps right to the Discogs page, where at least one Artist image appears. But that image is not retrieved.

Link to comment
Share on other sites

Just now, wordlover said:

Yes, it's enabled in Library options, and appears when I open the "ALL" sources choice drop down in search screen. And each of the examples I gave has correct Discogs ID in the Metadata screen for each Artist. I click the "open window" icon and it properly jumps right to the Discogs page, where at least one Artist image appears. But that image is not retrieved.

Why do you think the image isn't retrieved?

Link to comment
Share on other sites

Happy2Play
Just now, Luke said:

They are working for me in 4.9. Just tested with britney spears. Is it enabled for you in the library options?

As you can see above with Alanis Morissette images above no api call even though enabled on library for this 4.9.

4.8.1.0 see the calls, can ignore various artist error.

	Line 10207: 2024-02-11 17:11:07.172 Info HttpClient: GET https://api.discogs.com/artists/102789
	Line 10212: 2024-02-11 17:11:07.972 Debug Server: http/1.1 GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
	Line 10217: 2024-02-11 17:11:07.972 Info HttpClient: GET https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
	Line 10220: 2024-02-11 17:11:08.264 Debug Server: http/1.1 Response 200 to ‌‍‍192.168.151.16‌. Time: 292ms. GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
Search "discogs" (23 hits in 1 file of 1 searched)
  Y:\Emby-Server\programdata\logs\embyserver.txt (23 hits)
	Line    24: 	Discogs 1.0.2.0
	Line  4744: 2024-02-11 04:26:33.773 Debug App: Running DiscogsArtistProvider for Various Artists
	Line  4745: 2024-02-11 04:26:34.084 Info HttpClient: GET https://api.discogs.com/artists/194
	Line  4746: 2024-02-11 04:26:34.435 Error App: Error in Discogs
	Line  4760: 	   at Discogs.Plugin.GetResponse(HttpRequestOptions request, String method)
	Line  4761: 	   at Discogs.Plugin.GetDeserializedResponse[T](HttpRequestOptions request, String method)
	Line  4762: 	   at Discogs.DiscogsArtistProvider.GetMetadataResponse(ArtistInfo id, CancellationToken cancellationToken)
	Line  4763: 	   at Discogs.DiscogsArtistProvider.GetMetadata(ArtistInfo id, CancellationToken cancellationToken)
	Line  9859: 2024-02-11 16:26:33.067 Debug App: Running DiscogsArtistProvider for Various Artists
	Line  9860: 2024-02-11 16:26:33.388 Info HttpClient: GET https://api.discogs.com/artists/194
	Line  9861: 2024-02-11 16:26:33.553 Error App: Error in Discogs
	Line  9875: 	   at Discogs.Plugin.GetResponse(HttpRequestOptions request, String method)
	Line  9876: 	   at Discogs.Plugin.GetDeserializedResponse[T](HttpRequestOptions request, String method)
	Line  9877: 	   at Discogs.DiscogsArtistProvider.GetMetadataResponse(ArtistInfo id, CancellationToken cancellationToken)
	Line  9878: 	   at Discogs.DiscogsArtistProvider.GetMetadata(ArtistInfo id, CancellationToken cancellationToken)
	Line 10207: 2024-02-11 17:11:07.172 Info HttpClient: GET https://api.discogs.com/artists/102789
	Line 10212: 2024-02-11 17:11:07.972 Debug Server: http/1.1 GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
	Line 10217: 2024-02-11 17:11:07.972 Info HttpClient: GET https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
	Line 10220: 2024-02-11 17:11:08.264 Debug Server: http/1.1 Response 200 to ‌‍‍192.168.151.16‌. Time: 292ms. GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg

 

Link to comment
Share on other sites

wordlover

Here is emby server log - rotated it, then tried to retrieve artist image for Jay Hoggard. All metadata is correct, doing manual image retrieval came up empty, clicking Discogs link in Metadata window jumps correctly to his Discogs page, where an image appears. using Server 4.8.1 and web interface.

embyserver.txt

Link to comment
Share on other sites

6 minutes ago, wordlover said:

Here is emby server log - rotated it, then tried to retrieve artist image for Jay Hoggard. All metadata is correct, doing manual image retrieval came up empty, clicking Discogs link in Metadata window jumps correctly to his Discogs page, where an image appears. using Server 4.8.1 and web interface.

embyserver.txt 3.08 kB · 2 downloads

They may have an image on their website but it's not in their api data. So this goes back to happy2play's suggestion that maybe it would be better to just not offer any discogs at all.

Link to comment
Share on other sites

10 minutes ago, Happy2Play said:

As you can see above with Alanis Morissette images above no api call even though enabled on library for this 4.9.

4.8.1.0 see the calls, can ignore various artist error.

	Line 10207: 2024-02-11 17:11:07.172 Info HttpClient: GET https://api.discogs.com/artists/102789
	Line 10212: 2024-02-11 17:11:07.972 Debug Server: http/1.1 GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
	Line 10217: 2024-02-11 17:11:07.972 Info HttpClient: GET https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
	Line 10220: 2024-02-11 17:11:08.264 Debug Server: http/1.1 Response 200 to ‌‍‍192.168.151.16‌. Time: 292ms. GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
Search "discogs" (23 hits in 1 file of 1 searched)
  Y:\Emby-Server\programdata\logs\embyserver.txt (23 hits)
	Line    24: 	Discogs 1.0.2.0
	Line  4744: 2024-02-11 04:26:33.773 Debug App: Running DiscogsArtistProvider for Various Artists
	Line  4745: 2024-02-11 04:26:34.084 Info HttpClient: GET https://api.discogs.com/artists/194
	Line  4746: 2024-02-11 04:26:34.435 Error App: Error in Discogs
	Line  4760: 	   at Discogs.Plugin.GetResponse(HttpRequestOptions request, String method)
	Line  4761: 	   at Discogs.Plugin.GetDeserializedResponse[T](HttpRequestOptions request, String method)
	Line  4762: 	   at Discogs.DiscogsArtistProvider.GetMetadataResponse(ArtistInfo id, CancellationToken cancellationToken)
	Line  4763: 	   at Discogs.DiscogsArtistProvider.GetMetadata(ArtistInfo id, CancellationToken cancellationToken)
	Line  9859: 2024-02-11 16:26:33.067 Debug App: Running DiscogsArtistProvider for Various Artists
	Line  9860: 2024-02-11 16:26:33.388 Info HttpClient: GET https://api.discogs.com/artists/194
	Line  9861: 2024-02-11 16:26:33.553 Error App: Error in Discogs
	Line  9875: 	   at Discogs.Plugin.GetResponse(HttpRequestOptions request, String method)
	Line  9876: 	   at Discogs.Plugin.GetDeserializedResponse[T](HttpRequestOptions request, String method)
	Line  9877: 	   at Discogs.DiscogsArtistProvider.GetMetadataResponse(ArtistInfo id, CancellationToken cancellationToken)
	Line  9878: 	   at Discogs.DiscogsArtistProvider.GetMetadata(ArtistInfo id, CancellationToken cancellationToken)
	Line 10207: 2024-02-11 17:11:07.172 Info HttpClient: GET https://api.discogs.com/artists/102789
	Line 10212: 2024-02-11 17:11:07.972 Debug Server: http/1.1 GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
	Line 10217: 2024-02-11 17:11:07.972 Info HttpClient: GET https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg
	Line 10220: 2024-02-11 17:11:08.264 Debug Server: http/1.1 Response 200 to ‌‍‍192.168.151.16‌. Time: 292ms. GET http://‌‍‍homeserver‌:8096/emby/Images/Remote?api_key=‌0fd36922d8804cc7b4525fa31f5eca40‌&imageUrl=https://i.discogs.com/QBA77L00FGdGnm9mO_i7vPloxEvQmYH3IR49YHJx0D0/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEwMjc4/OS0xNjQ4OTk5OTg2/LTcxNDEuanBlZw.jpeg

 

Not necessarily a problem. Could just be that artist info was already previously retrieved.

The answer is probably the same as my answer to wordlover - that the api data just doesn't have any images for that artist.

Link to comment
Share on other sites

Happy2Play
4 minutes ago, Luke said:

Not necessarily a problem. Could just be that artist info was already previously retrieved.

The answer is probably the same as my answer to wordlover - that the api data just doesn't have any images for that artist.

No I can't get any discogs queries at all but will look at building a new portable later to see if I get different results as both image should be the same on returned images but are not as beta does not show the discogs image for Artist. per images above.

  • Thanks 1
Link to comment
Share on other sites

Happy2Play

@Lukefound my issue as having multiple audio books (music) and music libraries with different setting does not work properly as configs for one affect all.  So adjusting all libraries corrected my issue with no Discogs calls.

But not sure why some Discogs Artist images work and others do not, but the majority do now.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...