Read the statement by Michael Teeuw here.
MMM-MovieInfo
-
Changelog
- Date manipulation fixed with new dependency
To update do
git pull
andnpm install
[card:fewieden/MMM-MovieInfo]
-
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
-
@number1dan Hi, Module working fine, how to get Indian Movies info
-
@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
-
-
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:
How can I fix this issue? I know nothing of javascript or programming unfortunately so baby steps in explaining a fix please :) -
@SilentJbob1680
For some reason they changed the variable containing the path to the image fromposterPath
toposter_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.
-
should be fixed now. thanks for reporting
-
@SilentJbob1680
So, please open a terminal on your raspberry, change into the~/MagicMirror/modules/MMM-MovieInfo
folder and dogit pull
to retrieve the update -
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: ' ' } },