MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Spotify module newbi



  • I just start my own bulding of a magic mirror, i am totley new to rpi, and alla codes and stuff. but i need son help, i am trying to install https://github.com/raywo/MMM-NowPlayingOnSpotify

    but when i write cd moduel i get: cant find any files or folders

    i guess i have more deep in:S

    home/pi/MagicMirror/modules/defalut is what i have…

    so i sholde i write it to get it to work:/



  • @berne said in Spotify module newbi:
    you should

    cd  /home/pi/MagicMirror/modules
    

    then

    git clone https://github.com/raywo/MMM-NowPlayingOnSpotify
    

    then

    cd MMM-NowPlayingOnSpotify
    

    does that work?



  • @sdetweil said in Spotify module newbi:

    @berne said in Spotify module newbi:
    you should

    cd  /home/pi/MagicMirror/modules
    

    then

    git clone https://github.com/raywo/MMM-NowPlayingOnSpotify
    

    then

    cd MMM-NowPlayingOnSpotify
    

    does that work?

    i works to the last part, it saying the same, no file or folder



  • @berne said in Spotify module newbi:

    MMM-NowPlayingOnSpotify

    ok, from the MagicMirror/modules folder do

    ls 
    

    it will list the folders and files…

    linux is case sensitive



  • @sdetweil said in Spotify module newbi:

    @berne said in Spotify module newbi:

    MMM-NowPlayingOnSpotify

    ok, from the MagicMirror/modules folder do

    ls 
    

    it will list the folders and files…

    linux is case sensitive

    $ cd /home/pi/MagicMirror/modules
    pi@raspberrypi:~/MagicMirror/modules $ ls
    default MMM-NowPlayingonSpotify node_modules package-lock.json README.md
    pi@raspberrypi:~/MagicMirror/modules $

    EDIT: i can see all the files in /home/pi/MagicMirror/Moduels/MMM-NowPlayingSpotify

    EDIT2 pi@raspberrypi:~/MagicMirror/modules/MMM-NowPlayingonSpotify $
    get the same result

    EDIT3
    i went to pi@raspberrypi:~/MagicMirror/modules/MMM-NowPlayingonSpotify and then write npm install. i think thaht works:S



  • i@raspberrypi:~/MagicMirror/modules/MMM-NowPlayingonSpotify $ npm install
    npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
    npm notice created a lockfile as package-lock.json. You should commit this file.
    added 675 packages from 771 contributors and audited 4894 packages in 216.211s
    found 27 vulnerabilities (2 low, 5 moderate, 20 high)
    run npm audit fix to fix them, or npm audit for details



  • 98:11 error Parsing error: Unexpected token, expected ";" 96 | { 97 | module: "MMM-NowPlayingOnSpotify", > 98 | position: "top_left", | ^ 99 | 100 | config: { 101 | clientID: "431313e344ta464erfef3c0812323235c9232äå"
    

    When i now trying to boot MM , i cant find any config, if i have use the java liner to chek it, got this?



  • @berne can u show us what you added to config… seems a missing comma probably



  • @sdetweil said in Spotify module newbi:

    @berne can u show us what you added to config… seems a missing comma probably

    yes, u have done some thing i Home assistent, but this semms alot harder, when pasteing code, i did a new intall, Think i will do the spotify to morrow


Log in to reply