Adjust download threads to 1 for low powered devices
This commit is contained in:
parent
23384c5d9e
commit
1bae637830
4 changed files with 4 additions and 3 deletions
|
@ -349,7 +349,7 @@
|
|||
<string id="39000">- Number of trailers to play before a movie</string>
|
||||
<string id="39001">Boost audio when transcoding</string>
|
||||
<string id="39002">Burnt-in subtitle size</string>
|
||||
<string id="39003">Limit download sync threads (recommended for rpi: 1)</string>
|
||||
<string id="39003">Limit download sync threads (rec. for rpi: 1)</string>
|
||||
<string id="39004">Enable Plex Companion</string>
|
||||
<string id="39005">Plex Companion Port (change only if needed)</string>
|
||||
<string id="39006">Activate Plex Companion debug log</string>
|
||||
|
|
|
@ -288,7 +288,7 @@
|
|||
<string id="39000">- Anzahl abzuspielender Trailer vor einem Film</string>
|
||||
<string id="39001">Audio Verstärkung (audio boost) wenn transkodiert wird</string>
|
||||
<string id="39002">Grösse des Untertitels, falls burnt-in</string>
|
||||
<string id="39003">Anzahl Download Sync Threads beschränken (Empfehlung für rpi: 1)</string>
|
||||
<string id="39003">Download Sync Threads beschränken (Empfehlung RPI: 1)</string>
|
||||
<string id="39004">Plex Companion aktivieren</string>
|
||||
<string id="39005">Plex Companion Port (nur bei Bedarf ändern)</string>
|
||||
<string id="39006">Plex Companion debug log aktivieren</string>
|
||||
|
|
|
@ -422,6 +422,7 @@ class InitialSetup():
|
|||
# crashing.
|
||||
if dialog.yesno(heading=addonName, line1=lang(39072)):
|
||||
settings('low_powered_device', value="true")
|
||||
settings('syncThreadNumber', value="1")
|
||||
else:
|
||||
settings('low_powered_device', value="false")
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<setting id="dbSyncIndicator" label="30507" type="bool" default="true" /><!-- show syncing progress -->
|
||||
<setting type="sep" />
|
||||
<setting id="low_powered_device" type="bool" label="30543" default="true" /> <!-- Installation on low-powered device? (e.g. Raspberry Pi) -->
|
||||
<setting id="syncThreadNumber" type="slider" label="39003" default="5" option="int" range="1,1,20"/>
|
||||
<setting id="syncThreadNumber" type="slider" label="39003" default="10" option="int" range="1,1,20"/><!-- Limit download sync threads (recommended for rpi: 1) -->
|
||||
<setting id="limitindex" type="number" label="30515" default="200" option="int" /><!-- Maximum items to request from the server at once -->
|
||||
<setting type="lsep" label="39052" /><!-- Background Sync -->
|
||||
<setting id="enableBackgroundSync" type="bool" label="39026" default="true" visible="true"/>
|
||||
|
|
Loading…
Reference in a new issue