MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Deezer

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 1.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tpam03
      last edited by tpam03

      Hi everyone,

      It’s been a while since I’ve discovered MagicMirror and tried it but the time has come for me to made a module myself.

      Please excuse me for my level of english.

      For those who don’t know, Deezer is a french streaming music plateform similar to Spotify.

      My goal is to make a really simple player with a few buttons, a progress bar and a field with the title, the artist and the album of the song which is played on.

      A lot of documentation and templates are available en deezer’s website for dev’s : https://developers.deezer.com/sdk/javascript

      To make my module I’ve done some kind of reverse engineering. I took a sample of a player available on deezer’s website (https://developers.deezer.com/sdk/javascript/example-invisible) put it into an html file and validate that it was working fine.
      Then I started to “transpose” this piece of html (and js) into a Standard MM module.
      I’ve been struggling with a few things that I finally handled.
      But now I’m stuck and I need some help :).
      My module is loading well and is ready to play but I can’t start playing a song while clicking on the “Loved songs” button and I don’t know why…

      Here is the github of my projet : https://github.com/tutsisback/MMM-Deezer

      At the moment the integration is pretty bad but I first want to make it work. You’ll certainly find some crazy things inside my code, I’m still learning how to code…

      You’ll find on the github the html file (deezer.html) that I used to start with.

      One more thing, you have to be connected on Deezer with the machine executing the code to make it work.

      Hope you’ll be able to help me :)

      Regards,

      Pete

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        lxne Project Sponsor @tpam03
        last edited by lxne

        @tpam03 Hi Pete, this still doesn’t work, right?
        Is it even possible to play ‘loved songs’ from such an external player?
        I thought that I have read it’s not somewhere.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy