HackerspaceBielefeld / plugin.video.streama

Kodi plugin for https://streamaserver.org/
MIT License
15 stars 3 forks source link

Number of Entries #6

Closed Niach closed 6 years ago

Niach commented 6 years ago

Currently only the first 30 movies/series are shown in the list. It would be nice if the new Setting introduced in Streama 1.5.0 would be used, so each user can set how many entries he wants.

marius-tu commented 6 years ago

This can be solved by changing

items = opener.open(streamaurl + '/dash/listShows.json') and items = opener.open(streamaurl + '/dash/listMovies.json')

(lines 75 and 83) to

items = opener.open(streamaurl + '/dash/listShows.json?max=' + maxval) and items = opener.open(streamaurl + '/dash/listMovies.json?max=' + maxval)

if you have created and imported a setting called 'maxval'. Nonetheless, this Plugin seems to have some Problems with Version 1.5.0, because I can't play any Video, although it is working in the Browser.

Edit: There was an error with the streama URL, now it's working again.

bodems commented 6 years ago

I added a setting option in 65f10e1d9150615604a8ec74c4f100310dcbe706. This isn't an ideal solution, but at least it works.

Niach commented 6 years ago

Thanks!