Duplicate objects in response

Post here any issues with the API or feature requests
Post Reply
axa
Posts: 2
Joined: Fri Oct 16, 2015 8:55 pm

Duplicate objects in response

Post by axa »

Not sure what i might be doing wrong here or if a known problem... but if i make the request say for this particular mb rel grp id

Code: Select all

http://webservice.fanart.tv/v3/music/48117b90-a16e-34ca-a514-19c702df1158?api_key=redacted
I will seemingly get 2 duplicates for most of the images:

Code: Select all

{
    "name": "Daft Punk",
    "mbid_id": "056e4f3e-d505-4dad-8ec1-d04f521cbb56",
    "albums": {
        "48117b90-a16e-34ca-a514-19c702df1158": {
            "albumcover": [
                {
                    "id": "216364",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/albumcover/discovery-58e91ab55d92a.jpg",
                    "likes": "1"
                },
                {
                    "id": "216364",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/albumcover/discovery-58e91ab55d92a.jpg",
                    "likes": "1"
                }
            ],
            "cdart": [
                {
                    "id": "197955",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac7017343.png",
                    "likes": "1",
                    "disc": "1",
                    "size": "1000"
                },
                {
                    "id": "197955",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac7017343.png",
                    "likes": "1",
                    "disc": "1",
                    "size": "1000"
                },
                {
                    "id": "197956",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac7d0b9f4.png",
                    "likes": "1",
                    "disc": "2",
                    "size": "1000"
                },
                {
                    "id": "197956",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac7d0b9f4.png",
                    "likes": "1",
                    "disc": "2",
                    "size": "1000"
                },
                {
                    "id": "197957",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac8fe278e.png",
                    "likes": "1",
                    "disc": "3",
                    "size": "1000"
                },
                {
                    "id": "197957",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eac8fe278e.png",
                    "likes": "1",
                    "disc": "3",
                    "size": "1000"
                },
                {
                    "id": "197958",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eaca061224.png",
                    "likes": "1",
                    "disc": "4",
                    "size": "1000"
                },
                {
                    "id": "197958",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576eaca061224.png",
                    "likes": "1",
                    "disc": "4",
                    "size": "1000"
                },
                {
                    "id": "197787",
                    "url": "http://assets.fanart.tv/fanart/music/056e4f3e-d505-4dad-8ec1-d04f521cbb56/cdart/discovery-576acd796e748.png",
                    "likes": "1",
                    "disc": "1",
                    "size": "1000"
                }
            ]
        }
    }
}
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: Duplicate objects in response

Post by Kode »

Should be fixed now, will take a while to work itself through the cache though
axa
Posts: 2
Joined: Fri Oct 16, 2015 8:55 pm

Re: Duplicate objects in response

Post by axa »

thanks GOD...
btw, really awesome site for fan art, if i ever make any money (let alone ever finish my app) ill be sure to contribute.
Post Reply