winsomehax / plugin.video.bitchute

Allow login and browsing of the bitchute website from within KODI
GNU General Public License v2.0
20 stars 2 forks source link

No next page button? #20

Open cw-kid opened 3 years ago

cw-kid commented 3 years ago

Hi

I've just installed this add-on, version 2.1.0 from the Testing branch.

I can access my subscribed channels OK, but all of them only show one page worth of videos in Kodi.

There is no next page button to list the next page of videos?

Running LibreElec Kodi 18.9 Leia.

Thanks

winsomehax commented 3 years ago

Yeah, I have to scrape the HTML because there's no API... and the rest of the videos aren't sent unless the user scrolls down. I didn't bother at first because I was getting it working and I was only really interested in recent videos.

It's on my list to fix

cw-kid commented 3 years ago

the rest of the videos aren't sent unless the user scrolls down

If I am on the very last video in the list and press down once more, it then selects the very first video at the top of the list.

It doesn't appear to load more videos.

Thanks.

winsomehax commented 3 years ago

I know... I mean the bitchute website I am scraping from to make the menu you see in Kodi. It doesn't load the videos until the user has moved down.

I've got to make the addon request more to see the whole list of videos. It is on my todo list.

On Sat, 9 Jan 2021, 16:55 cw-kid, notifications@github.com wrote:

the rest of the videos aren't sent unless the user scrolls down

If I am on the very last video in the list and press down once more, it then selects the very first video at the top of the list.

It doesn't appear to load more videos.

Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winsomehax/plugin.video.bitchute/issues/20#issuecomment-757334723, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDWQE52PBLBV5HQEWRLNXTSZCDBNANCNFSM4VZXMRNQ .

cw-kid commented 3 years ago

Got you, I understand what you meant now.

Yes more videos returned in to the lists in Kodi would be great.

Thank you.

winsomehax commented 3 years ago

Give the Testing branch a try please, if you don't mind. I've added a version of previous/next. So see how that works.

I've added it to subscriptions as a test - when you select Subscriptions -> A channel. You should see the list of videos as before. The first page will only have a "<<<< NEXT PAGE >>>>" at the bottom... once you've selected that, following pages will have <<<< Previous Page >>>> as the top entry and <<<< next page >>>> as the bottom one.

It's more of a test of the underlying calls than anything else. It still needs polishing a bit.

cw-kid commented 3 years ago

OK thanks I am installing it now.

cw-kid commented 3 years ago

Seems to be working well, it loads more pages of videos when selecting "Next Page".

I guess you can add it in to other areas of the GUI like: Popular / Trending / Feed / Search results etc.

Thanks

cw-kid commented 3 years ago

Hi

Any news on adding the Next Page feature to the other areas of the plugin ?

Thanks