2019-06-30, 17:17
Welcome to Up-To-Date IMDb Ratings addon, another addon for update ratings of movies and tv shows from IMDb service.
Why another addon, when there is Light IMDb Ratings Update? I worked short time together with axlt2002 (cheers!) on his addon and after that period I had my own ideas for new one, written from scratch. So, after few months of work and tests here is.
Main ideas:
- full multithreading and objecting work:
addon uses separated threads for reading/writing datas from Kodi's db and for checking IMDb/TVDb services;
threads comunicate by system of queues and file-queues;
- best stability by low memory usage
addon controls the state of queues and reads new entries to processing from Kodi's db accordingly;
- focusing on very fast updates
addon uses few threads for checking IMDb/TVDb services, so there is no delay in waiting for response;
i.e. current version working on my RPi 2 gives speed of: 7 updates per second for movies, 12 updates per second for tvshows/episodes;
which means 1000 movies (or 1800 tvshows/episodes) is checked in 2 min 30s
- easy way to add missing info to entries
addon writes JSON records to gives info about problematic entries, these files can be edited then will be read by addon (more info below);
Github: link
Current version: 0.4.0 (2019-07-05), direct link
- Added TVDb service checking for missing IMDb Id
Version history:
0.3.9 (2019-07-04),
- Fixed: divide by zero error when running time < 1s
0.3.8 (2019-06-30), first public release.
How to use:
Installing from zip (link above).
Manualy running (in this early state).
Addon will update movies then tvshows, gives info on progres and summary after work.
More words about update status and add missing IMDb ID to entry:
Addon uses its own directory in user profile: addon_data/script.uptodate.imdb.ratings
failed directory - inside will be created JSON files for every fail on ratings update entry (movies/tvshows/episodes).
Files will be named from entry type and local db id. File content is JSON structure with data about entry, i.e.
In above example entry (tvshow) has no imdb id value (null in "imdb" field), that gives fail on update try. If entry has imdb_id but update fail also, there will be "status" info about error in JSON structure.
to_update directory - if we have entry, that failed because missing "imdb" value (like above example), we can put imdb_id manually inside (i.e. "imdb": "tt0123456", instead "imdb": null,), then move/copy JSON file from failed to to_update dir. When next running addon will read the file and put imdb_id inside database.
Please enjoy, feedback is welcome.
Why another addon, when there is Light IMDb Ratings Update? I worked short time together with axlt2002 (cheers!) on his addon and after that period I had my own ideas for new one, written from scratch. So, after few months of work and tests here is.
Main ideas:
- full multithreading and objecting work:
addon uses separated threads for reading/writing datas from Kodi's db and for checking IMDb/TVDb services;
threads comunicate by system of queues and file-queues;
- best stability by low memory usage
addon controls the state of queues and reads new entries to processing from Kodi's db accordingly;
- focusing on very fast updates
addon uses few threads for checking IMDb/TVDb services, so there is no delay in waiting for response;
i.e. current version working on my RPi 2 gives speed of: 7 updates per second for movies, 12 updates per second for tvshows/episodes;
which means 1000 movies (or 1800 tvshows/episodes) is checked in 2 min 30s
- easy way to add missing info to entries
addon writes JSON records to gives info about problematic entries, these files can be edited then will be read by addon (more info below);
Github: link
Current version: 0.4.0 (2019-07-05), direct link
- Added TVDb service checking for missing IMDb Id
Version history:
0.3.9 (2019-07-04),
- Fixed: divide by zero error when running time < 1s
0.3.8 (2019-06-30), first public release.
How to use:
Installing from zip (link above).
Manualy running (in this early state).
Addon will update movies then tvshows, gives info on progres and summary after work.
More words about update status and add missing IMDb ID to entry:
Addon uses its own directory in user profile: addon_data/script.uptodate.imdb.ratings
failed directory - inside will be created JSON files for every fail on ratings update entry (movies/tvshows/episodes).
Files will be named from entry type and local db id. File content is JSON structure with data about entry, i.e.
In above example entry (tvshow) has no imdb id value (null in "imdb" field), that gives fail on update try. If entry has imdb_id but update fail also, there will be "status" info about error in JSON structure.
to_update directory - if we have entry, that failed because missing "imdb" value (like above example), we can put imdb_id manually inside (i.e. "imdb": "tt0123456", instead "imdb": null,), then move/copy JSON file from failed to to_update dir. When next running addon will read the file and put imdb_id inside database.
Please enjoy, feedback is welcome.