strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.74k stars 191 forks source link

Where to find libdeezer and libdzmedia? #21

Closed eclipseo closed 6 years ago

eclipseo commented 6 years ago

pkg_check_modules(LIBDEEZER libdeezer) pkg_check_modules(LIBDZMEDIA libdzmedia)

I can't find these libraries anywhere. Where are the sources for them?

eclipseo commented 6 years ago

I should have read the Readme more carefully. Sorry for the noise.

jonaski commented 6 years ago

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.

jonaski commented 6 years ago

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.

FabioLolix commented 6 years ago

@jonaski I have a few question about libdeezer

jonaski commented 6 years ago

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

FabioLolix commented 6 years ago

Thanks for pointing out the things :) I have seen that issue yesterday and it indeed fails to link

FabioLolix commented 5 years ago

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
dimqua commented 4 years ago

Is it no longer possible to re-add Deezer support?

jonaski commented 4 years ago

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.