Skip to content

[Question] TMDBHelper.ForceWidgetContainer #505

Description

@inb4after

Following from this comment about an addition to TMDBHelper, I created a commit to enable TMDBHelper service monitor to use widget containers other than the info'd item inside DialogVideoInfo, which resolved this issue that existed prior.

Unfortunately, this caused some issues, and I'm wondering why they happen and if it's possible to resolve them.

  • Performance hit

Opening DialogVideoInfo for an item, choosing other items (Similar/Recommended) and continuing to deeper levels, and returning back to the original item have all slowed down. It takes around 1 second longer and then exponentially slower on deeper levels (on PC) to complete these actions. Is this because TMDBHelper is trying to track all the details for all the widget containers at once?

AFAIK this is how the custom Cast & More overlay tends to load in anyway, so enabling ForceWidgetContainer will definitely make things slower?

  • OMDb rate limit is reached very quickly

Often when focusing items in the widgets, especially if that item has not been focused before (and the ratings aren't cached), we get a notification of Connection Error to OMDb - Suppressing retries for 1 minute. In my normal usage of the skin, I have not reached this point where rate limits occur. However, on the new commit, navigating through and opening these newly focused/opened items, it reaches the rate limit almost immediately. Could this be solved by using Container.ListItem.Property(X) instead of Window(Home).Property(TMDBHelper.ListItem.X), or do these methods essentially both use SM, but give the info in different ways for easier skinning?

In my usage, I don't view/navigate lists/widgets (forcing new lookups of details) on the homescreen, so I'm not sure if reaching the OMDb rate limit is a common occurrence.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions