• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 18.6k 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.
  • Y Offline
    yawns Moderator @SilentJbob1680
    last edited by Mar 9, 2017, 8:49 AM

    @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
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer
      last edited by Mar 9, 2017, 10:25 AM

      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
      • Y Offline
        yawns Moderator @SilentJbob1680
        last edited by Mar 9, 2017, 10:56 AM

        @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
        • J Offline
          Jacob
          last edited by Mar 12, 2017, 6:02 PM

          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: ' '
          
                                  }
                          },
          
          
          S 1 Reply Last reply Mar 12, 2017, 8:50 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @Jacob
            last edited by Mar 12, 2017, 8:50 PM

            @Jacob missing comma after discover: {}

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

            J 1 Reply Last reply Mar 13, 2017, 10:57 AM Reply Quote 1
            • S Offline
              Snille Module Developer
              last edited by Mar 12, 2017, 9:00 PM

              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
              • J Offline
                Jacob @strawberry 3.141
                last edited by Mar 13, 2017, 10:57 AM

                @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?

                S 1 Reply Last reply Mar 13, 2017, 11:09 AM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @Jacob
                  last edited by strawberry 3.141 Mar 13, 2017, 11:10 AM Mar 13, 2017, 11:09 AM

                  @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

                  J 1 Reply Last reply Mar 13, 2017, 11:24 AM Reply Quote 0
                  • J Offline
                    Jacob @strawberry 3.141
                    last edited by Mar 13, 2017, 11:24 AM

                    @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 Mar 15, 2017, 3:48 AM

                      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
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        18/27
                        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