Full track streaming is only available thru the SDKs (JS, iOS, Android), so you'll have to launch a web browser. You can't get the full mp3s from the API directly.
Desktop non-HTML player for Premium+ users?
-
13-07-2023 - |
Question
I have a headless PC connected to my stereo system. I would like to create a command-line Deezer player for it. Is it possible without launching web browser? Does the API always return only 30s previews, even for Premium+ users?
EDIT: To clarify the question: I'm looking for a way to get URL of a full-length MP3 using Deezer API. I only see references to 30s previews in Deezer API Specification. Does it mean that I can't get URL to full-length MP3?
Solution
OTHER TIPS
See the API Specifications Deezer API.
You can implement it to a own software. If you would like to create an player, you need mostly MP3-Librarys to play the File.
You dont specific in which language you need to implement a Player. We can't give you special answers to that, only global informations: The API.
Here are the URL's from Preview and Full-Song:
var SOUND_STREAM_GATEWAY = 'http://proxy-{0}-v3.deezer.com/stream/{1}/';
var SOUND_PREVIEW_GATEWAY = 'http://cdn-preview-{0}.deezer.com/stream/{1}-{2}.mp3';