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-plex-recently-added error

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 725 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.
    • V Offline
      v4r23
      last edited by

      Just getting started with MagicMirror and getting this error:

      [2020-07-01 10:37:37.853] [LOG]    Whoops! There was an uncaught exception...
      [2020-07-01 10:37:37.854] [ERROR]  TypeError: this.config.types.forEach is not a function
          at Class.update (/home/pi/MagicMirror/modules/MMM-plex-recently-added/node_helper.js:29:23)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-plex-recently-added/node_helper.js:21:12)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:200:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at processTicksAndRejections (internal/process/task_queues.js:82:9)
      [2020-07-01 10:37:37.883] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-07-01 10:37:37.884] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      

      module config:

                      {
                              module: 'MMM-plex-recently-added',
                              position: 'lower_third',
                              config: {
                                              token: '[my token]',
                                              hostname: '[ip of my plex server on my lan]',
                                              port: 32400,
                                              types: 'movie',
                                              limit: 10,
                              }
                      },
      
      S 1 Reply Last reply Reply Quote 0
      • V Offline
        v4r23
        last edited by

        Types requires an array.

        types: ['movie']

        1 Reply Last reply Reply Quote 1
        • S Offline
          sdetweil @v4r23
          last edited by

          @v4r23 types must be entries in an array
          types: [“movies”],

          even if only one entry

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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