Closed eclipseo closed 6 years ago
I should have read the Readme more carefully. Sorry for the noise.
The official supported way is through the SDK, you can find it here: https://build-repo.deezer.com/native_sdk/deezer-native-sdk-v1.2.10.zip DZMedia can't be released as it would break Deezers rules.
If I knew that the API didn't provide full-length streams other than through flash when I started it I would have never bothered, but I only found that out when I had already finished it. It still allows preview streams which can be useful for discovering new music, and you can through the use of deezers own SDK select Deezer engine and play full streams.
@jonaski I have a few question about libdeezer
in which folder cmake expect to find deezer sdk? I have libdeezer.so in /usr/lib and the headers in 3 folders deezer, deezer-sdk, deezer-native-sdk under /usr/include but is not found
Strawberry use only the library or require also the headers at build time?
cmake uses pkgconfig to find it, so it needs a pc file. it also require the headers You can use my pc file here if you want: https://files.jkvinge.net/packages/strawberry/libdeezer.tar.bz2 However it wont link on most distros, because deezer have built it on debian or ubuntu and it uses specialized symbols, see my comments on: https://github.com/deezer/native-sdk-samples/issues/26 I'm only keeping the support in for now since I spent a lot of time on it, and it works on windows. If deezer doesn't bother making a new version, I will probably remove it in time. When you package you may just disable all of deezer streaming using: -DENABLE_STREAM_DEEZER=off That way it's completely gone from the UI
Thanks for pointing out the things :) I have seen that issue yesterday and it indeed fails to link
deezer-native-sdk is no longer supported and https://github.com/deezer/native-sdk-samples/ where were tracked compiling & linking issues (23 and 26) has been deleted. Below the last message posted before deletion
Hello,
I am sorry to announce that the Deezer Native SDK is no more available and supported.
This project is not maintained and is now closed.
We don't have any other alternative to propose than those already available here: https://developers.deezer.com/
I am very sorry for the inconvenience.
Best regards,
Cyril
Is it no longer possible to re-add Deezer support?
Not easily, they only provide preview streams in their API. No URL's at all for full songs. It is possible to figure out the URL's, but they use encryption too, so the player needs to decrypt data while streaming. It's a lot of hassle to implement, and I'm not sure it's even legal.
pkg_check_modules(LIBDEEZER libdeezer) pkg_check_modules(LIBDZMEDIA libdzmedia)
I can't find these libraries anywhere. Where are the sources for them?