Comments (2)
Ratings are handled by TMDbHelper and its service monitor feature. It does cache ratings from TMDb and OMDb in a local database which are updated when item properties are refreshed periodically. It caches all previously looked up item properties, to improve speed when it is looked up later on.
Items from addons other than TMDbHelper (including library items) need to wait for the service monitor to acknowledge the newly selected item, which then triggers the property lookups. It checks if the properties exist in the database already or if a certain amount of time has passed since the last check, before doing a new lookup.
Items from TMDbHelper itself don't need to wait for the service monitor to acknowledge the new item. Some ratings like TMDb ratings which are fetched in the same API call as the list you are viewing can be displayed instantly and are usually the most updated. You can test this by opening a TMDb list from this addon and seeing if there is a timing difference.
AuraMOD uses variables to dynamically switch between whichever property is available first, which is usually instant. The delay upon switching items is probably caused by the service monitor, as we need to wait for the selected item details before looking up properties for it.
It could also be that Kodi itself struggles with looking up and/or retrieving custom item properties, which can be easy to notice on lower end devices or slower network speeds. For example, a high-end PC will almost always be many times faster overall than a device like the NVidia Shield.
If you would like a more accurate and in-depth understanding of how it all works you could post this same question on the TMDbHelper issues page, @jurialmunkey created the addon and would be able to help us figure it out.
from skin.auramod.
Appreciate the detailed explanation, @inb4after!! For the record, all my widgets are coming from TMDBHelper, so I will reach out to @jurialmunkey to see if he has any idea.
from skin.auramod.
Related Issues (20)
- Add "down key starts trailer" functionality to hubs
- Improving Netflix Season View performance by reducing the number of API calls to TMDB HOT 1
- [Bug] Clicking on a movie/show inside cast&more displays the home screen before going to that selected movie/show HOT 1
- [BUG] TMDBHelper crashes when trying to open context menu on a movie inside Cast&More, but only in a very specific circumstance. Possible Memory Leak. Bug caused by Auramod Widget. HOT 1
- The Auramod search doesn't return any results for Arabic words HOT 4
- [Bug] Global Search addon integration in Auramod skin doesn't show the top menu to select the type result to look at HOT 1
- Main Menu Selection Focus Buggy on Exit HOT 3
- [Addon Request] Umbrella Addon Search Paths HOT 3
- Kodi Nexus 20 HOT 26
- Episode FanArt Fallback not showing on AuraMod HOT 5
- Need Suggestions for Building an AuraMod Skin Wiki
- Kodi Nexus crashing HOT 6
- Everything marked with a tick? HOT 7
- live tv player wrong description HOT 1
- Studio logos are incorrect on alot of titles HOT 5
- skin settings
- People / actor Search string for Ezra or seren using the auramod search
- Netflix videoinfo page
- TMDB Search by person is a blank screen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skin.auramod.