Soundcloud search api ignoring duration filter?

I am experimenting a bit with soundcloud api ... Cool stuff, however:

It seems that when I try to apply a filter to search for tracks, api ignores the duration ...

See snapshot below. The goal is to search for (10) trance tracks over the past 2 months, ranked by popularity, and lasting more than an hour ... To my knowledge, the duration should be indicated in milliseconds (hence * 100) Btw, soundcloud object - SC initialized with my API key

I am doing something wrong, because then I look at the console, most of the tracks are less , and then an hour?

Thank!

Sander

Soundcloud.get("/tracks", {
   genres: "Trance,trance",
   order: "hotness",
   limit: 10,
   created_at: {
       from: moment().subtract(2, 'months').format("YYYY-MM-DD") 
   },
   duration: {
       from: 3600 * 1000 // seconds * 1000
   }
}, function(tracks) {
   console.log('tracks', tracks);
});
+4
1

"duration[from]" . , , SoundCloud .

-, created_at .format("YYYY-MM-DD HH:mm:ss").

0

All Articles