inflatablefriends / lastfm

Portable .Net library for Last.fm
Other
100 stars 62 forks source link

artist image returns the same image #148

Closed ByteCollector closed 5 years ago

ByteCollector commented 5 years ago

It;s weird but I have been receiving the same kind of artist image. This is happening 2 days ago. Is it a bug on lastfm? Here's the pic that I've been receiving when i request of an artist image. lastfmImage

klinge commented 5 years ago

I can verify that I get the same image as you are. The lastfm Artist.GetInfo method returns what seems like proper image urls but when entering the image url in a browser you just get the image with a star on that you are seeing.

I don't really have time to troubleshoot but my guess is that this isn't a bug in the code but rather that artist images are missing on the content delivery network that lastfm is using..

Example of returned values from Artist.GetInfo

{
    "artist": {
        "name": "Steely Dan",
        "mbid": "e01c3376-15fa-40d7-b747-5f219bdefdd7",
        "url": "https://www.last.fm/music/Steely+Dan",
        "image": [
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/34s/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": "small"
            },
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/64s/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": "medium"
            },
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/174s/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": "large"
            },
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": "extralarge"
            },
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": "mega"
            },
            {
                "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png",
                "size": ""
            }
        ],
        "streamable": "0",
ByteCollector commented 5 years ago

Thank you for responding, I have already found also having the same problem https://stackoverflow.com/tags/last.fm. I have been using this api for almost 2 years now and I don’t have any problem. All we have to do is wait, maybe they are updating.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Johan Klinge notifications@github.com Sent: Monday, May 6, 2019 4:45:38 PM To: inflatablefriends/lastfm Cc: ByteCollector; Author Subject: Re: [inflatablefriends/lastfm] artist image returns the same image (#148)

I can verify that I get the same image as you are. The lastfm Artist.GetInfo method returns what seems like proper image urls but when entering the image url in a browser you just get the image with a star on that you are seeing.

I don't really have time to troubleshoot but my guess is that this isn't a bug in the code but rather that artist images are missing on the content delivery network that lastfm is using..

Example of returned values from Artist.GetInfo

{ "artist": { "name": "Steely Dan", "mbid": "e01c3376-15fa-40d7-b747-5f219bdefdd7", "url": "https://www.last.fm/music/Steely+Dan", "image": [ { "#text": "https://lastfm-img2.akamaized.net/i/u/34s/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "small" }, { "#text": "https://lastfm-img2.akamaized.net/i/u/64s/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "medium" }, { "#text": "https://lastfm-img2.akamaized.net/i/u/174s/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "large" }, { "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "extralarge" }, { "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "mega" }, { "#text": "https://lastfm-img2.akamaized.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png", "size": "" } ], "streamable": "0",

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/inflatablefriends/lastfm/issues/148#issuecomment-489549767, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG767SXQWRISD7S4MOAZRY3PT7V3FANCNFSM4HKY772Q.

rikkit commented 5 years ago

@ByteCollector weird! It doesn't seem to be caused by this project though, so I'm going to close this issue. Feel free to reopen if you discover otherwise! Cheers

ByteCollector commented 5 years ago

Thanks for responding!

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Rikki Tooley notifications@github.com Sent: Thursday, May 9, 2019 6:52:01 PM To: inflatablefriends/lastfm Cc: ByteCollector; Mention Subject: Re: [inflatablefriends/lastfm] artist image returns the same image (#148)

@ByteCollectorhttps://github.com/ByteCollector weird! It doesn't seem to be caused by this project though, so I'm going to close this issue. Feel free to reopen if you discover otherwise! Cheers

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/inflatablefriends/lastfm/issues/148#issuecomment-490855310, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG767SSJETSLVCPPSTAHGLTPUP65DANCNFSM4HKY772Q.