mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Add limit to request from server
This commit is contained in:
parent
493459de33
commit
a116db491c
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ import downloadutils
|
||||||
|
|
||||||
class Read_EmbyServer():
|
class Read_EmbyServer():
|
||||||
|
|
||||||
limitIndex = 200
|
limitIndex = int(utils.settings('limitindex'))
|
||||||
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
<setting id="useDirectPaths" type="enum" label="Playback Mode" values="Addon(Default)|Native(Direct paths)" default="0" />
|
<setting id="useDirectPaths" type="enum" label="Playback Mode" values="Addon(Default)|Native(Direct paths)" default="0" />
|
||||||
<setting id="enableTextureCache" label="Auto add images to the Kodi texture cache" type="bool" default="true" />
|
<setting id="enableTextureCache" label="Auto add images to the Kodi texture cache" type="bool" default="true" />
|
||||||
<setting id="serverSync" type="bool" label="Enable fast starting sync" default="true" />
|
<setting id="serverSync" type="bool" label="Enable fast starting sync" default="true" />
|
||||||
|
<setting id="limitindex" type="number" label="Maximum items to request at once from server" default="200" option="int" />
|
||||||
</category>
|
</category>
|
||||||
|
|
||||||
<category label="Playback"> <!-- Extra Sync options -->
|
<category label="Playback"> <!-- Extra Sync options -->
|
||||||
|
|
Loading…
Reference in a new issue