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

retrieveCurrentlyPlaying on NowPlayingOnSpotify



  • I have a problem with this module. The module itself runs fine, but this message is breaking my magic mirror, as it is flooding my log and creating huge docker logs files (4.1 tb). How do I suppress this message or make it go away?

    git pull & npm install do nothing

    Running docker image.

    {"log":"[2020-06-12 23:12:23.838] [ERROR]  TypeError: Cannot read property 'retrieveCurrentlyPlaying' of undefined\r\n","stream":"stdout","time":"2020-06-13T04:12:23.841885149Z"}
    {"log":"    at Class.retrieveCurrentSong (/opt/magic_mirror/modules/MMM-NowPlayingOnSpotify/node_helper.js:29:20)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.847190262Z"}
    {"log":"    at Class.socketNotificationReceived (/opt/magic_mirror/modules/MMM-NowPlayingOnSpotify/node_helper.js:22:14)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.859870587Z"}
    {"log":"    at Socket.\u003canonymous\u003e (/opt/magic_mirror/js/node_helper.js:113:11)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.862610449Z"}
    {"log":"    at Socket.emit (events.js:182:13)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.864744237Z"}
    {"log":"    at /opt/magic_mirror/node_modules/socket.io/lib/socket.js:528:12\r\n","stream":"stdout","time":"2020-06-13T04:12:23.867760099Z"}
    {"log":"    at process.internalTickCallback (internal/process/next_tick.js:70:11)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.868429924Z"}
    

Log in to reply