NEGATIVE duration for mixes in a collection

22 views
Skip to first unread message

AV

unread,
Aug 26, 2015, 6:36:28 PM8/26/15
to 8tracks public API
I am making a simple call to retrieve all mixes in a collection.

First question is - which one of the calls below is more accurate?


Either way, the number of mixes being returned (in any collection) is correct. However, their durations are incorrect. More importantly, some mixes return a NEGATIVE duration (when they clearly have lots of songs) 
E.g. - the mix below has a duration - duration": -3478.
          

{
          "id": 6183523,
          "path": "/mixes/6183523",
          "web_path": "/twochenz_/this-time-i-m-serious-7",
          "name": "this time i'm serious #7",
          "user_id": 10129888,
          "published": true,
          "unlisted": false,
          "cover_urls": {
            "cropped_imgix_size": 498,
          },
          "description": "compilation of my favorite songs\n\n5 MINUTE AB CIRCUIT:\n2 minute forward plank\n1 minute side plank (each side)\n1 minute forward plank again\n\n",
          "plays_count": 5293,
          "tag_list_cache": "dance, workout, motivation, pump up, electronic",
          "first_published_at": "2015-04-25T03:44:25Z",
          "first_published_at_timestamp": 1429933465,
          "likes_count": 165,
          "certification": "gold",
          "is_promoted": false,
          "duration": -3478,
          "tracks_count": 11,
          "color_palette": [
            "#aab94b",
            "#544b49",
            "#7e7a6c",
            "#afaca4"
          ],
          "artist_list": [
            "DJ Fresh",
            "Zedd",
            "Leviathan",
            "You Know you like it",
            "Deorro",
            "Diplo",
            "Flume",
            "Krewella",
            "Jack U",
            "DJ Snake",
            "Major Lazer",
            "Martin Garrix"
          ]

Is this an API bug? What am I missing? 
Reply all
Reply to author
Forward
0 new messages