[Lists] Max. 26 entries per list are present
See original GitHub issueI´ve restricted the number of fetched entries to be 21 see: https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/NetflixSession.py#L1363
Of course that number isn’t well thought through, I´ll bump it to 70
and see how much of an impact that has on response times. Maybe a pagination is needed, which in the end would brake some of Kodis functionality in sorting items. But first, lets give the bumped number of entries a try.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Get max value from a list with lists? - python - Stack Overflow
This approach assumes that there is exactly one numeric value per list! One more example using a list where the numeric value is...
Read more >Lists and Tuples in Python - Real Python
Lists Are Ordered; Lists Can Contain Arbitrary Objects; List Elements Can Be Accessed by Index ... Each of these features is examined in...
Read more >The number of items in this list exceeds the list view threshold
This article describes The number of items in this list exceeds the list view threshold error, and provides a solution.
Read more >Python Data Type: List - Exercises, Practice, Solution
Practice with solution of exercises on Python Data Types: examples on List, variables, date, operator, simple html form and more from ...
Read more >8. List Comprehension | Advanced - Python Courses eu
List comprehension is an elegant way to define and create lists in Python. ... There are lots of double entries contained in this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Actually I don’t like the idea of paginating (as long as Kodi doesn’t come with a proper API/View for that, as I don’t like the idea of hacking around it using folder items) components.
The idea I´ve sketched to solve this problem is the following: When the main menu (after the profiles) gets fetched, you get the size of the sublists, using that size (and the knowledge that we can grep max. 26 entries per list) we can determine how many requests we need to do (with which ranges) to determine the exact requests to be made upfront. I´d like to also do those requests in separate thread, e.g. in parallel, so that we have everything in one list (without pagination) & only have a few hundred milliseconds on top.
Why isn’t that implemented yet? Because I don’t have time to do so, if anyone wants to give it a spin, I´m happy to take the contribution.
I think the old flix2kodi or the older netflix plugin which used Chrome to play the videos had a way of paginating the output of lists. I think it worked by presenting it to Kodi as sub directories etc…