mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
transmission: uTP is now disabled by default. add option to enable it.
This commit is contained in:
parent
11c294f4e1
commit
0b3c1a4e67
@ -75,6 +75,12 @@ else
|
||||
TRANSMISSION_ARG="$TRANSMISSION_ARG -T"
|
||||
fi
|
||||
|
||||
if [ "$TRANSMISSION_UTP" = "true" ]; then
|
||||
TRANSMISSION_ARG="$TRANSMISSION_ARG --utp"
|
||||
else
|
||||
TRANSMISSION_ARG="$TRANSMISSION_ARG --no-utp"
|
||||
fi
|
||||
|
||||
if [ ! "$(pidof transmission-daemon)" ];then
|
||||
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
||||
rm -rf "$LOCKDIR/$LOCKFILE"
|
||||
|
@ -16,5 +16,6 @@
|
||||
|
||||
<string id="3110">Other</string>
|
||||
<string id="3121">Download Directory</string>
|
||||
<string id="3122">Enable uTP support</string>
|
||||
|
||||
</strings>
|
||||
|
@ -21,5 +21,6 @@
|
||||
<setting type="sep" />
|
||||
<setting label="3110" type="lsep"/>
|
||||
<setting id="TRANSMISSION_DL_DIR" type="folder" label="3121" value="" default="/storage/downloads" />
|
||||
<setting id="TRANSMISSION_UTP" type="bool" label="3122" default="false" />
|
||||
</category>
|
||||
</settings>
|
||||
|
@ -6,4 +6,5 @@
|
||||
<setting id="TRANSMISSION_LIMIT_GLOBAL" value="" />
|
||||
<setting id="TRANSMISSION_LIMIT_TORRENT" value="" />
|
||||
<setting id="TRANSMISSION_DL_DIR" value="/storage/downloads" />
|
||||
<setting id="TRANSMISSION_UTP" value="false" />
|
||||
</settings>
|
||||
|
Loading…
x
Reference in New Issue
Block a user