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-MovieInfo

    Scheduled Pinned Locked Moved Entertainment
    movietheatre
    27 Posts 11 Posters 19.3k Views 11 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.
    • N Offline
      number1dan
      last edited by

      nice module. I have this starting hidden and then voice command it to show. I’ve also changed the start and end dates for it to show stuff in cinema now and removed the greyscale from the poster. Good job making this module

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        shashank @number1dan
        last edited by

        @number1dan Hi, Module working fine, how to get Indian Movies info

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @shashank
          last edited by

          @shashank as far as i can see this is not supported with this provider to choose a country. i guess you need a different api provider

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer
            last edited by

            There is a new version which has a lot of new possibilities to discover movies

            Thanks to @dr4ke616 who made this happen

            [card:fewieden/MMM-MovieInfo]

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 1
            • S Offline
              SilentJbob1680
              last edited by SilentJbob1680

              Hi, I just recently discovered MM2 & have started on putting it together. This is a fresh install of MM2 & the MovieInfo module however the module is not getting the images.
              This is my config.js

              {
                  module: 'MMM-MovieInfo',
                  position: 'bottom_left',
                  config: {
              		api_key: ""
                  }
              },
              

              The module shows everything but the image or Poster art. Inspecting the page in Google Chrome results in this appearing:

              GET https://image.tmdb.org/t/p/w185_and_h278_bestv2/undefined 404 ()
              

              Further examination of the movieinfo.js file shows

              const poster = document.createElement('img');
                          poster.classList.add('poster');
                          poster.src = `https://image.tmdb.org/t/p/w185_and_h278_bestv2/${movie.posterPath}`;
                          wrapper.appendChild(poster);
              

              here’s a SS via vnc:
              0_1489047572649_f4b39b46cf100dc381bae517ffa819b0.png
              How can I fix this issue? I know nothing of javascript or programming unfortunately so baby steps in explaining a fix please :)

              yawnsY 2 Replies Last reply Reply Quote 1
              • yawnsY Offline
                yawns Moderator @SilentJbob1680
                last edited by

                @SilentJbob1680
                For some reason they changed the variable containing the path to the image from posterPath to poster_path

                You could change this

                const poster = document.createElement('img');
                            poster.classList.add('poster');
                            poster.src = `https://image.tmdb.org/t/p/w185_and_h278_bestv2/${movie.posterPath}`;
                            wrapper.appendChild(poster);
                

                to this

                const poster = document.createElement('img');
                            poster.classList.add('poster');
                            poster.src = `https://image.tmdb.org/t/p/w185_and_h278_bestv2/${movie.poster_path}`;
                            wrapper.appendChild(poster);
                

                for an immediate fix, or you could wait for strawberry to fix it on github and provide a new version. If you fix it on your own you will need to revert the changes before you can update once strawberry provided the update.

                1 Reply Last reply Reply Quote 1
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by

                  should be fixed now. thanks for reporting

                  Please create a github issue if you need help, so I can keep track

                  1 Reply Last reply Reply Quote 1
                  • yawnsY Offline
                    yawns Moderator @SilentJbob1680
                    last edited by

                    @SilentJbob1680
                    So, please open a terminal on your raspberry, change into the ~/MagicMirror/modules/MMM-MovieInfo folder and do git pull to retrieve the update

                    1 Reply Last reply Reply Quote 1
                    • JacobJ Offline
                      Jacob
                      last edited by

                      Hello.

                      I seem to be having issues in setting up the correct config.js. What am I doing wrong? Here is the code I am trying to use.

                       {
                                              module: 'MMM-MovieInfo',
                                              position: 'bottom_left',
                                              config: {
                                              discover: {
                                                      "certification_country": "US",
                                                      "certification.lte": "G",
                                                      "sort_by": "popularity.desc"
                                                       }
                                              updateInterval: '1080000',
                                              rotateInterval: '180000',
                                              api_key: ' '
                      
                                              }
                                      },
                      
                      
                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @Jacob
                        last edited by

                        @Jacob missing comma after discover: {}

                        Please create a github issue if you need help, so I can keep track

                        JacobJ 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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