Moode Forum

Full Version: deezer?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
TL;DR
Now, when spotify is supported* how about deezer?

LONG VERSION
*Tim’s argument about not implementing one of the streaming services, because there are many of them  (like pointed out here: https://www.computeraudiophile.com/forum...ent-493770 , but also in other places) seems a bit outdated, doesn’t it? Wink

if not native support, any kind of plugin/addon/app would do. 

Please note however, that I don’t mean airplay, upnp, bluetooth or any other way of „cast”. Using any (mobile or stationary) device for that:
1. would drain the battery even when I’m at home (It’s actually supposed to be charged at this time in my case)
2. would make the device difficult to use at the same time (for calls or websurfing etc)
3. in case of PC, means letting it on, making noise, consuming energy etc.
4... many other reasons Wink

as a matter of fact, I tried it and it works, but it’s far from something I would call „clean solution” no to speak about „user friendliness”.
Anyways, I’d love to help to develop a solution, but I haven’t found the way to add a plugin/addon/app to moode. Is there any?
At Deezer, there is an API available, sadly I don’t even know where to start to implement it. Not a programmer, you see... Sad

As it is my first post here, I’d like to mention, that I like moode very much and prefer it over other similar solutions. A possibility to use Deezer from moOde directly would be a cherry on that delicious cake Wink
(12-15-2018, 10:35 AM)lsmeusod Wrote: [ -> ]TL;DR
Now, when spotify is supported* how about deezer?

LONG VERSION
*Tim’s argument about not implementing one of the streaming services, because there are many of them  (like pointed out here: https://www.computeraudiophile.com/forum...ent-493770 , but also in other places) seems a bit outdated, doesn’t it? Wink

if not native support, any kind of plugin/addon/app would do. 

Please note however, that I don’t mean airplay, upnp, bluetooth or any other way of „cast”. Using any (mobile or stationary) device for that:
1. would drain the battery even when I’m at home (It’s actually supposed to be charged at this time in my case)
2. would make the device difficult to use at the same time (for calls or websurfing etc)
3. in case of PC, means letting it on, making noise, consuming energy etc.
4... many other reasons Wink

as a matter of fact, I tried it and it works, but it’s far from something I would call „clean solution” no to speak about „user friendliness”.
Anyways, I’d love to help to develop a solution, but I haven’t found the way to add a plugin/addon/app to moode. Is there any?
At Deezer, there is an API available, sadly I don’t even know where to start to implement it. Not a programmer, you see... Sad

As it is my first post here, I’d like to mention, that I like moode very much and prefer it over other similar solutions. A possibility to use Deezer from moOde directly would be a cherry on that delicious cake Wink

I, for one, am not going to sign up for a Deezer developer account just so I can peek at their API. So I looked for open-source projects which have implemented it. A quick scan of github on "deezer api" turned up this gem on an open project to connect Google Alexa with Deezer which halted a year ago:

Quote:After a bit of playing with Deezer's REST API it has been discovered that it does not return the URL to the full stream (versus a 30 seconds sample). This is so by design and Deezer development team had confirmed that. It is only possible to access the full stream through one of their SDKs - Android/iOS/Native. The SDKs however 'force' you to use the Player abstraction that incapsulates the not only of the details of the stream security but also the audio playback on the device which indeed makes it impossible to be leveraged in Alexa.

This subtle nuance was not quite obvious from their documentation so I decided to keep the suspended project here at Github versus removing it as someone might stumble up on the same issue in the future - it would save him/her some time and nerves which is cool!

If there isn't a Deezer-equivalent to librespot (for Spotify) then I don't see Deezer coming to moOde except by the mechanisms you have disallowed.

Just my 2-cents worth.

Regards,
Kent
Thank you for your answer and the info,


Quote:TheOldPresbyope



I, for one, am not going to sign up for a Deezer developer account just so I can peek at their API. 


to have the access to that API (and the SDKs for that matter) you just need to register at deezer, which is basically free (in terms of money at least). As a matter of fact I got few months subscription to premium for free and I kind of like it, the more that they have also HiFi option, which means flac files instead of mp3s. I know for sure it's possible to listen to deezer through a Sonos system, which I'm not really keen to buy. 


Quote:It is only possible to access the full stream through one of their SDKs - Android/iOS/Native. The SDKs however 'force' you to use the Player abstraction that incapsulates the not only of the details of the stream security but also the audio playback on the device which indeed makes it impossible to be leveraged in Alexa.


I don't have any experience with Alexa either, and I'm not sure I got the point of the "encapsulation of stream security and audio playback". Is Alexa not able to read the stream? is metadata disturbing in some way? or is she not allowed to access/transmit the "security details"? There is - somewhere on github - a python-deezer API, where there was a problem with authentication. Is that it? Sorry for asking, but I don't really get it. 

Quote:(...) Deezer's REST API (...) does not return the URL to the full stream (versus a 30 seconds sample). This is so by design (...) This subtle nuance was not quite obvious from their documentation (...)


Holy crap, does this mean that API is not more than kind of advertising for the service? You can only see what it is capable of, but you cannot use it.
So, basically they released that whole API just for (poor quality) marketing!

Quote: I don't see Deezer coming to moOde except by the mechanisms you have disallowed.

Not that I disallowed smth ;Wink  Those are fine features, I just don't like the idea of yet another always-on device, when you know what I mean ;Wink 

Ain't there any other solutions? 

Wouldn't it be possible to run some background process (using that SDK) that could feed moode with the full stream? I've stumbled across squeezebox (logitech media server), where it was reported to work somehow... I think moOde does support squeezelite, doesn't it? Any hints how it works?
I could ask in another thread as well, if this one is not the right place to ask
Hello, Deezer connect is available now! And apparently, there's a solution with piCorePlayer + Squeezelite + LMS local: https://fr.deezercommunity.com/ideas/dee...y-pi-12805

Would it help building the integration in Moode?

A few links are below:
https://fr.deezercommunity.com/product-u...oche-38573
And Deezer on Linux: https://github.com/aunetx/deezer-linux
(01-11-2024, 10:14 AM)sisim Wrote: [ -> ]Hello, Deezer connect is available now! And apparently, there's a solution with piCorePlayer + Squeezelite + LMS local: https://fr.deezercommunity.com/ideas/dee...y-pi-12805

Would it help building the integration in Moode?

A few links are below:
https://fr.deezercommunity.com/product-u...oche-38573
And Deezer on Linux: https://github.com/aunetx/deezer-linux

It looks like somehow we can have a desktop deezer-app that can be used with LMS + squeezelite.
what we may be looking for is an actual deezer-connect that runs on the pi, and to which you can cast the stream from your phone / desktop / web app; much like spotify-connect (librespot) works.