Coder Social home page Coder Social logo

mmm-mpd's Issues

Does not start

Hello, I hope anybody can help me.

I installed it as described in the readme and the other issues.

When I start MM, following error appears:

    WARNING! Could not validate config file. Starting with default configuration. 
    Please correct syntax errors at or above this line: 
    ReferenceError: NodeHelper is not defined        
                                                                                                                                                                    
    at Object.<anonymous> (/home/pi/MagicMirror/modules/mpd_client/node_helper.js:4:18)
    at Module._compile (internal/modules/cjs/loader.js:786:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at loadModule (/home/pi/MagicMirror/js/app.js:124:17)
    at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
    at /home/pi/MagicMirror/js/app.js:160:6

MPD-Server is running on the same machine, my config is

                { 
                        module: "mpd_client",
                        position: "top_right",  // This can be any of the regions.
                        config: {
                                // See 'Configuration options' for more information.
                                hostname: "localhost",
                                port: 6600
                        }
                },

Wrong Folder naming

The git clone create a folder MMM-MPD in modules folder, the module doesn't work till the folder renaming as in config file.

Supported still?

Any chance of getting this module working again? I've installed, added to my config and it never actually shows on my magicmirror, tried all the advace from the other issues and nothing. I see it hasn't been worked on since 2018 but i'd be nice to get this module working again.. And yes i've tried 'coderpussy' fork but that's a no go either, plus it doesn't say it's had any changed from the main branch so idk?

Does not working

Hallo,

here is my log:

0|mm | Loading module helpers ...
0|mm | No helper found for module: alert.
0|mm | Initializing new module helper ...
0|mm | Module helper loaded: updatenotification
0|mm | No helper found for module: clock.
0|mm | Initializing new module helper ...
0|mm | Module helper loaded: calendar
0|mm | Initializing new module helper ...
0|mm | Module helper loaded: email
0|mm | Initializing new module helper ...
0|mm | Module helper loaded: MMM-MPD
0|mm | No helper found for module: compliments.
0|mm | No helper found for module: currentweather.
0|mm | No helper found for module: MMM-forecast-io.
0|mm | No helper found for module: weatherforecast.
0|mm | Initializing new module helper ...
0|mm | Module helper loaded: newsfeed
0|mm | All module helpers loaded.
0|mm | Starting server on port 8080 ...
0|mm | Server started ...
0|mm | Connecting socket for: updatenotification
0|mm | Connecting socket for: calendar
0|mm | Starting node helper for: calendar
0|mm | Connecting socket for: email
0|mm | email helper started ...
0|mm | Connecting socket for: MMM-MPD
0|mm | Starting module helper: MMM-MPD
0|mm | Connecting socket for: newsfeed
0|mm | Starting module: newsfeed
0|mm | Sockets connected & modules started ...
0|mm | Launching application.

here my config:
` {
module: "MMM-MPD",
position: "middle_right", // This can be any of the regions.
config: {
hostname: 'localhost',
port: '6600'
}

            },

`

I change the line in mpd_clients.js to:
Module.register("MMM-MPD",{

npm install:

npm WARN [email protected] No repository field.
npm WARN [email protected] license should be a valid SPDX license expression

But no connection to mpd-demon and nothing shows on the screen.

Can you help?

touch feature

Hi, I tried your mpd client and it works great. Thank you very much. I can see the State of the player.
Could you add a touch function to start and stop the player?
So if I click on the state symbol it changes and starts playing or if it is playing it goes to pause?
That would be nice!
Have a wonderful day!

Not displaying anything

Hi, I have an issue getting this module to show on the mirror. I am running mopidy on the same rpi. MPD is running and I am able to control playback MPdroid on my phone on "192.168.1.81" "6600".

I have used "localhost", "::", "127.0.0.1" and finally "192.168.1.81" in the configuration to try and it get it working. Unfortunately, I can't.

Is there sone thing silly I am missing

Install instructions are not right

I did this to make the module work:

  • Clone the repositorie to the modules folder
  • npm install mpd
  • Add the module to the config.js on the config folder
  • Use the module name "mpd_client" and not "mpd_config", as is sugested on the README.md.

MMM-MPD

I was receiving the following error when I was starting my Magicmirror after having installed MMM-MPD:
"ERROR! Could not find main module js file for MMM-MPD" and MMM-MPD would not start.

I solved this issue by renaming the MMM-MPD directory in modules to mpd_client.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.