[BUG] no_persist_conn setting not being honored at startup

General discussion about the media server. Feature requests. Hints, tips and tricks.
Post Reply
User avatar
phibertron
Posts: 1566
Joined: Sun Jan 30, 2011 5:52 pm
AV Hardware: Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

[BUG] no_persist_conn setting not being honored at startup

Post by phibertron » Sat Aug 02, 2014 4:22 pm

If no_persist_conn is set in the twonkyserver.ini to "1", like below
# Set to non-zero to disable persistent connections, zero (default) to use them
no_persist_conn=1
if you stop and then start the server, and then check its value with an rpc call
it will show it as "0"

Also,

If I add a startup parameter for no_persist_conn to twonkyserver.exe
twonkystarter -no_persist_conn 1
if you stop and then start the server, and then check its value with an rpc call
it will show it as "0"

In addition,
The only way I am able to get the setting to stay at "1"
is to use an rpc call to set it, once the server is already up and running
/rpc/set_toption?no_persist_conn=1
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Post Reply