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
--helpDetailed information about the command--hoursNumber of hours required to have elapsed since last sync--thresholdMaximum number of movies to sync--movieIdsComma separated string of movie ids to force sync for--never-syncedUse 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