Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find libdeezer and libdzmedia? #21

Closed
eclipseo opened this Issue Oct 21, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@eclipseo
Copy link
Contributor

eclipseo commented Oct 21, 2018

pkg_check_modules(LIBDEEZER libdeezer)
pkg_check_modules(LIBDZMEDIA libdzmedia)

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

@eclipseo

This comment has been minimized.

Copy link
Contributor Author

eclipseo commented Oct 21, 2018

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

@eclipseo eclipseo closed this Oct 21, 2018

@jonaski

This comment has been minimized.

Copy link
Owner

jonaski commented Oct 21, 2018

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

This comment has been minimized.

Copy link
Owner

jonaski commented Oct 21, 2018

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

This comment has been minimized.

Copy link

FabioLolix commented Nov 11, 2018

@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?

@jonaski

This comment has been minimized.

Copy link
Owner

jonaski commented Nov 11, 2018

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

@jonaski jonaski self-assigned this Nov 11, 2018

@FabioLolix

This comment has been minimized.

Copy link

FabioLolix commented Nov 11, 2018

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

@FabioLolix

This comment has been minimized.

Copy link

FabioLolix commented Feb 7, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.