2013-10-28, 09:17
Hi ,
This ruby script ( my first one !) help you to synchronize rating in your mysql database against IMDB.
You have to set mysql connection setting in the script.
The default is to update 10 random movie in database.
But you can check all movies at once , all 0 rating movie etc.
If a IMDB id in mysql database isn't valid , it take the first matching title on imdb quand fix the imdb id in database.
Crontab mode is for smooth always up to date
Exemple for update 5 random movie every hour :
All detail and script available here : https://github.com/Celedhrim/xbmc-fix-movies-rating
It fits my need and if it may be useful for other , I'll be happy !
Celedhrim.
This ruby script ( my first one !) help you to synchronize rating in your mysql database against IMDB.
You have to set mysql connection setting in the script.
The default is to update 10 random movie in database.
But you can check all movies at once , all 0 rating movie etc.
If a IMDB id in mysql database isn't valid , it take the first matching title on imdb quand fix the imdb id in database.
Crontab mode is for smooth always up to date
Exemple for update 5 random movie every hour :
Code:
* */1 * * * xbmc-fmr -c -n 5
All detail and script available here : https://github.com/Celedhrim/xbmc-fix-movies-rating
It fits my need and if it may be useful for other , I'll be happy !
Celedhrim.