Tracks for “The Hives” are not streaming via the api

空扰寡人 提交于 2019-12-21 02:27:08

问题


Tracks for "The Hives" claims to be streamable, but are returning 404s.

Here's the JSON response for Civilization's Dying id 3644317 (http://api.soundcloud.com/tracks/3644317.json?client_id=):

{
    "kind": "track",
    "id": 3644317,
    …
    "sharing": "public",
    "streamable": true,
    "embeddable_by": "all",
    "downloadable": false,
    "title": "Civilization's Dying",
    …
    "stream_url": "http://api.soundcloud.com/tracks/3644317/stream"    
}

the streamable is true and it gives a stream_url, when trying to access it with my client_id (like I've done with other tracks) it returns 404.

Edit: Sharing is public. Added the info back to the payload and a link to the api page with the full response for reference.


回答1:


There's currently a bug affecting some artists whose tracks are not actually streamable any more, but the API response not showing that fact. This should be fixed very shortly.




回答2:


Make sure this song has "sharing" set to "public" in the returned track get request. If not, you will need to authenticate with Soundcloud.

http://developers.soundcloud.com/docs#authentication




回答3:


I encountered this issue as well when I tried to stream Lorde's (Royals) tracks. (Soundcloud userid: 27622444)

After examining the track properties returned from the API I noticed that the streamable property had been set to false

API return data:

(...)
sharing: "public"
state: "finished"
streamable: false
tag_list: ""
title: "Swingin' Party"
(...)

Hope that helps!

Cheers, T



来源:https://stackoverflow.com/questions/15211538/tracks-for-the-hives-are-not-streaming-via-the-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!