Skip to content

IMDb Rating

Description

Update the IMDb rating of all local movies. Movies without IMDb ratings or updated the longest time ago are prioritized.

Info

Movary uses the official IMDb datasets to retrieve ratings. The ratings dataset file is automatically downloaded and cached for 24 hours. IMDb is only updating the ratings dataset once a day, so reducing the cache duration would not lead to any benefits.

Command

php bin/console.php imdb:sync

Interesting flags

  • --help Detailed information about the command
  • --hours Number of hours required to have elapsed since last sync
  • --threshold Maximum number of movies to sync
  • --movieIds Comma separated string of movie ids to force sync for
  • --never-synced Use to sync only movies which were never synced before

Example

Update ratings for the first 30 movies which were not updated in the last 24 hours ago

php bin/console.php imdb:sync` --hours 24 --threshold 30