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 21.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.
    • 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
                    • SnilleS Offline
                      Snille Module Developer
                      last edited by

                      Hi there! Would there be a possibility to have a config option to set the number of movies to show (as a configurable table)?
                      Also, I read that they now support TV-Shows as well… It would be cool to get that integrated as well :)

                      Ex something like this would be cool…

                      config: {
                        columns: 2,
                        titles: 6,
                        type: {
                          "tv": 1,
                         "movie": 1,
                        }
                        discover: {
                          "sort_by": "vote_average.desc"
                        }
                      }
                      

                      That would give a table that holds 2 columns with 6 rows altering TV-Shows and Movies, descending by votes… 8)

                      If you cant find it, make it and share it!
                      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                      1 Reply Last reply Reply Quote 0
                      • JacobJ Offline
                        Jacob @strawberry 3.141
                        last edited by

                        @strawberry-3.141 Thanks for the help. However, it still did not seem to fix it. It’s only the MovieInfo module that seems to be causing the mirror to not load. Would it be possible to show me your MovieInfo config?

                        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 strawberry 3.141

                          @Jacob this config

                          {
                            module: 'MMM-MovieInfo',
                            position: 'bottom_left',
                            config: {
                              discover: {
                                "certification_country": "US",
                                "certification.lte": "G",
                                "sort_by": "popularity.desc"
                              },
                              updateInterval: 1080000,
                              rotateInterval: 180000,
                              api_key: 'PUTYOURAPIKEYHERE'
                            }
                          },
                          

                          results in

                          0_1489403364581_movie.PNG

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

                          JacobJ 1 Reply Last reply Reply Quote 0
                          • JacobJ Offline
                            Jacob @strawberry 3.141
                            last edited by

                            @strawberry-3.141 Thanks Strawberry. I just started with a clean config and that seems to have fixed it. I appreciate your help and thank you for the module.

                            Regards,

                            Jacob.

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

                              hey,
                              sorry for taking so long to reply, life found a way to keep me busy! Just wanted to say thanks for the quick reply/fix for my original issue.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jeffreyking
                                last edited by

                                How do I get the poster in color

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

                                  @jeffreyking you need to overwrite the grayscale filter in your custom.css file to 0% https://github.com/fewieden/MMM-MovieInfo/blob/master/MMM-MovieInfo.css#L8-L12

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

                                  1 Reply Last reply Reply Quote 1
                                  • J Offline
                                    jeffreyking
                                    last edited by

                                    Thanks good now

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pade2204
                                      last edited by Pade2204

                                      Is there a way to display releasedate? in a specific region :-)

                                      Thanks

                                      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