Use your fanart.tv username and password to login to this forum, if you don't have one, clicking on register will take you to the registration form on fanart.tv

Duplicate objects in response

Post here any issues with the API or feature requests

Duplicate objects in response

Postby axa » Fri Jun 30, 2017 3:28 pm

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"
                }
            ]
        }
    }
}
axa
 
Posts: 2
Joined: Fri Oct 16, 2015 8:55 pm

Re: Duplicate objects in response

Postby Kode » Sun Jul 02, 2017 2:39 am

Should be fixed now, will take a while to work itself through the cache though
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am

Re: Duplicate objects in response

Postby axa » Wed Jul 05, 2017 12:46 pm

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.
axa
 
Posts: 2
Joined: Fri Oct 16, 2015 8:55 pm


Return to API

Who is online

Users browsing this forum: No registered users and 1 guest