Posts: 38
Joined: Dec 2015
Reputation:
3
How do i go about limiting the number of directories displayed. For example. I have a website that i'm trying to parse that has 30 pages of tv shows. I have it where all those 30 pages are displayed at once, but that causes a delay while the addon loads the 30 pages. How do i go about creating a "Next page" on kodi for every page the website has.
Possible?
Posts: 38
Joined: Dec 2015
Reputation:
3
So after the last episode I would create a list item called (Next Page) that would request the next page of the website and etc?
Posts: 38
Joined: Dec 2015
Reputation:
3
Nevermind, I figured it out.
Posts: 1
Joined: Jun 2017
Reputation:
0
I'm looking to do the same thing. How did you accomplish this.
Posts: 38
Joined: Dec 2015
Reputation:
3
So for the website I was parsing, the selected page had a distinct color; different than the pages that did not have that color, so it had something like <page 1 = blue> <page 2 = red > <page 3 = red >... etc..
So I just parsed the page numbers and placed it in a holder, had a counter which is basically holder + 1, so when i'm at page 2, the counter is at page 3, with the url of page 3 included, added those to a directory named it nextpage and ran the whole thing recursively.