• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Scrobble question - confused re: API

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 2 Posters 5.2k 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.
  • C Offline
    ChrisEW
    last edited by ChrisEW Nov 14, 2017, 7:20 PM Nov 14, 2017, 3:58 PM

    Sorry, another newbie question here…in order to set this up I need an API key from last.fm but don’t know how to do this.

    What do I put into the fields for Callback URL and Application Homepage?!

    :::

    Spoiler Text

    :::

    P 1 Reply Last reply Nov 15, 2017, 7:18 PM Reply Quote 0
    • P Offline
      pyrosmiley @ChrisEW
      last edited by Nov 15, 2017, 7:18 PM

      @ChrisEW As those are designed for a type of application other than this, it doesn’t really matter. If the form is fussy, you can use any valid URL for either. I use http://10.0.0.1/ as the Callback URL, and http://www.google.com for the App Homepage.

      The idea is just that the Callback URL is a place to point users after they’ve signed in via the pretty-looking web login, and the Homepage is just where people can find about about the app. Since you’re not making an app or directing other users to login, it doesn’t make one iota of a difference.

      1 Reply Last reply Reply Quote 0
      • C Offline
        ChrisEW
        last edited by Nov 17, 2017, 9:49 PM

        Thanks. I managed to get it eventually.

        One thing… do you need a subscription to Spotify for this to work? Right now I just use the free mode, but have a suspicion I need to subscribe?

        P 1 Reply Last reply Nov 17, 2017, 11:22 PM Reply Quote 0
        • P Offline
          pyrosmiley @ChrisEW
          last edited by Nov 17, 2017, 11:22 PM

          @ChrisEW Nope! I do it with the free one just fine — just make sure you sign in to last.fm from any client (eg your phone and computer) you use Spotify on. You can also download their scrobbler program and it’ll automatically scribble from iTunes!

          C 1 Reply Last reply Nov 18, 2017, 3:44 AM Reply Quote 0
          • C Offline
            ChrisEW @pyrosmiley
            last edited by Nov 18, 2017, 3:44 AM

            @pyrosmiley , thanks so much! I am weak on this stuff, so I appreciate some advice. I have downloaded the config file, I have an API , and a last.fm account, but don’t know what to do next.I found the instructions on the last.fm web site hoplessly confusing!

            Anyway, if you can point me in the right direction, it would be much appreciated !

            Chris

            P 1 Reply Last reply Nov 21, 2017, 4:20 PM Reply Quote 0
            • P Offline
              pyrosmiley @ChrisEW
              last edited by Nov 21, 2017, 4:20 PM

              @ChrisEW Is your issue with getting up and running to track with LFM? If so, the next step depends on what you’re using to listen to music. It will work with just about anything, and you can use several at once! You just have to point each music player/service at last.fm so that it can actually get the data. This page is your friend when it comes to that.

              For iTunes, you have to download the desktop program from that page and install it. It’ll scrobble anything playing from iTunes as you go, and will scrobble plays from an ipod/iphone whenever you sync it with your computer.

              For Spotify, it’s actually all built-in already! In each player you use (e.g. the Desktop player and the mobile app), go to the preferences, and under the “Social” section is a spot to sign in to LFM. Just do that and voilà! It will automatically update LFM as long as you’re not in a Private Session.

              C 1 Reply Last reply Nov 21, 2017, 7:13 PM Reply Quote 0
              • C Offline
                ChrisEW @pyrosmiley
                last edited by Nov 21, 2017, 7:13 PM

                @pyrosmiley Thanks. I am using an iPad mini to listen to music via Spotify. Although I did not see a “Preferences” button, I did find a last.fm on/off switch within the Spotify app on my iPad. So at least that’s done. But don’t i have to do something with the new config.js file I grabbed? On the rPi, I mean? Right now its just sitting in a separate new folder I made for it when I downloaded it. I’ve enteredthe API into that file.

                Maybe I’m making this overly complex?..

                P 1 Reply Last reply Nov 21, 2017, 10:38 PM Reply Quote 0
                • P Offline
                  pyrosmiley @ChrisEW
                  last edited by Nov 21, 2017, 10:38 PM

                  @ChrisEW Ah, gotcha! You don’t need a new config.js file at all. The lines of code from the MMM-Scrobbler readme get copied and pasted into your main config file that you changed to set up the MagicMirror in the first place — that’s how it knows to look for the modules that you’ve downloaded to the ‘’’/modules/‘’’. That file is where you put in your information and set up all your modules, including this one.

                  If you need help with the config file, there are several very comprehensive guides around these forums that should help.

                  C 2 Replies Last reply Nov 22, 2017, 2:14 AM Reply Quote 0
                  • C Offline
                    ChrisEW @pyrosmiley
                    last edited by Nov 22, 2017, 2:14 AM

                    This post is deleted!
                    C 1 Reply Last reply Nov 22, 2017, 3:04 AM Reply Quote 0
                    • C Offline
                      ChrisEW @ChrisEW
                      last edited by Nov 22, 2017, 3:04 AM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/12
                        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