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-next-episode

    Scheduled Pinned Locked Moved Entertainment
    23 Posts 3 Posters 5.2k Views 3 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.
    • R Offline
      rambomonkey @sdetweil
      last edited by

      @sdetweil Hi, I have changed the config.js and I still get the same error:

      [2025-08-21 19:25:57.758] [WARN] No /root/MagicMirror/modules/mmm-next-episode/mmm-next-episode.js found for module: mmm-next-episode.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @rambomonkey
        last edited by

        @rambomonkey ok, so if you go to the MagicMirror/modules folder and do

        ls -laF

        do you find a folder with the proper name…

        note the module name, the folder name AND the js file AND the register in the js file names MUST match exactly

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @rambomonkey said in mmm-next-episode:

          No /root/

          also, NEVER run this stuff as root…

          is that the user you used when you installed the module???

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rambomonkey @sdetweil
            last edited by

            @sdetweil to be honest I cannot remember if I used root or not:

            root@mmnew:~/MagicMirror/MMM-next-episode# ls -laF
            total 108
            drwxr-xr-x 6 root root 4096 Aug 21 19:22 ./
            drwxr-xr-x 15 root root 4096 Aug 19 20:51 …/
            drwxr-xr-x 8 root root 4096 Aug 19 18:45 .git/
            drwxr-xr-x 3 root root 4096 Aug 19 18:45 .github/
            -rwxr-xr-x 1 root root 31 Aug 19 18:45 .gitignore*
            -rw-r–r-- 1 root root 35149 Aug 19 18:45 LICENSE
            -rw-r–r-- 1 root root 602 Aug 19 18:45 MMM-next-episode.css
            -rw-r–r-- 1 root root 5798 Aug 19 18:45 MMM-next-episode.js
            -rw-r–r-- 1 root root 4613 Aug 19 18:45 README.md
            drwxr-xr-x 2 root root 4096 Aug 19 18:45 img/
            -rw-r–r-- 1 root root 2904 Aug 19 18:45 node_helper.js
            drwxr-xr-x 33 root root 4096 Aug 19 18:45 node_modules/
            -rw-r–r-- 1 root root 13972 Aug 19 18:45 package-lock.json
            -rw-r–r-- 1 root root 544 Aug 19 18:45 package.json
            root@mmnew:~/MagicMirror/MMM-next-episode#

            S PierreGodeP 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @rambomonkey
              last edited by

              @rambomonkey uou can see root owns the files

              if you try to run as a normal user, you dont have permission to access them at all

              thus the not found

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rambomonkey @sdetweil
                last edited by

                @sdetweil Thanks for the info, sorry im new to Linux. Would you happen to know how I could give a specific user the permissions?

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

                  @rambomonkey

                  the permissions are 3 sets of 3 rights

                  user read/write/execute
                  group anyone in this group
                  other anybody not specified above

                  the commands

                  are chmod which can set the individual
                  permissions using flags or a number
                  777 means all for all
                  770 mean user and group users can do anything, everyone else no access

                  the there is chgrp to change the group

                  all commands have help
                  –help

                  and most have a page in the manuals

                  man commandname

                  man chmod
                  man chgrp

                  you
                  eill need root permission to take root
                  permissions away

                  sudo gives root permission for this command

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • PierreGodeP Offline
                    PierreGode Module Developer @rambomonkey
                    last edited by

                    @rambomonkey
                    So this is how you want your Magic mirror setup to look like.
                    c0d9545e-9aff-4ea6-b82c-50f473f98532-image.png

                    yeah no /root/ that can create a loads of headaches like this.

                    R 2 Replies Last reply Reply Quote 1
                    • R Offline
                      rambomonkey @PierreGode
                      last edited by

                      @PierreGode @sdetweil thanks you two, think I will just re-install as a normal user, you live and learn lol.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rambomonkey @PierreGode
                        last edited by

                        @PierreGode Hi, I have now re-installed it under user petek and I’m still seeing the same issue:

                        petek@MagicMirror-v2:/home/MagicMirror$ ls -la /home/MagicMirror/modules/MMM-next-episode/MMM-next-episode.js
                        -rw-r–r-- 1 petek petek 5798 Aug 26 19:34 /home/MagicMirror/modules/MMM-next-episode/MMM-next-episode.js
                        petek@MagicMirror-v2:/home/MagicMirror$

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

                          @rambomonkey I just installed the module

                          git clone
                          cd MMM-next-episode
                          npm install
                          

                          used the sample config from the readme
                          (typo missing : after password in the readme)

                          {
                            module: "MMM-next-episode",
                            position: "bottom_right",
                            header: "Next-Episode",
                            config: {
                              id: '',
                              hash_key: '',
                              username: '',
                              password: '',
                              displaySeasonAndEpisode: false,
                              displayShowingOn: false,
                              displayEpisodeName: false,
                              maxdays: 7,
                              ShowThumbnail: true,
                              ThumbnailSize: 'small',
                              updateInterval: 180
                            }
                          },
                          

                          and see the qr code on the screen under the header

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          R PierreGodeP 2 Replies Last reply Reply Quote 0
                          • R Offline
                            rambomonkey @sdetweil
                            last edited by

                            @sdetweil Thank you so much, its now working!

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

                              @rambomonkey awesome!! what changed?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • PierreGodeP Offline
                                PierreGode Module Developer @sdetweil
                                last edited by

                                @sdetweil
                                Fixed: typo missing : after password in the readme

                                1 Reply Last reply Reply Quote 1
                                • R Offline
                                  rambomonkey
                                  last edited by

                                  I reinstalled as a normal user and not root, which indeed resolved my issue.

                                  1 Reply Last reply Reply Quote 0

                                  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
                                  • 2
                                  • 1 / 2
                                  • 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