can't change enableweb in the .ini file

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
lipkau
Posts:3
Joined:Sun Aug 30, 2009 11:48 pm
AV Hardware:NAS: TS-639 PRO (QNAP)
can't change enableweb in the .ini file

Post by lipkau » Wed Sep 02, 2009 6:37 pm

Hi everyone.

I am new to the TwonkyMedia Server.
I read the Enableweb streaming how-to article, and am having trouble with the Twonkyvision-mediaserver.ini file.
first of all, it is encoded in a way, none of my text editors can really read it... so I convert it, using a Hex Editor...

some changes I do, like to contentdir, work fine... but when I try changing enableweb from 2 to 1, it does not work...
after restarting the server, the value is always 2 again.

(And the option for that in the Network menu of the config page is no longer available since I updated to the latest version (4.4.17)

can someone please help me?

Thanks a lot
Oliver

peterfu
Posts:33
Joined:Thu Dec 22, 2005 12:12 pm
Location:Austria

Re: can't change enableweb in the .ini file

Post by peterfu » Fri Sep 04, 2009 6:47 am

Every option can also be changed via browser.
http://YOUR IP:9000/rpc/set_option?OPTION=VALUE
(if Your twonkyserver listens on port 9000)
So to change i.e. the enableweb value, type at Your browser:
http.//YOUR IP:9000/rpc/set_option?enableweb=1

A restart of the server may be required.

br
Peter

lipkau
Posts:3
Joined:Sun Aug 30, 2009 11:48 pm
AV Hardware:NAS: TS-639 PRO (QNAP)

Re: can't change enableweb in the .ini file

Post by lipkau » Fri Sep 04, 2009 8:47 am

Thanks a lot, Peter :-)
It worked fine.

Unfortunatly it behaved in a way I didn't expect.
I thouhgt it would block the access to the config page for external access (over port 9100 for example), and still allow it for the 9000.
Is the a ways to do that?
because since it runs on my NAS, I can access it from the localhost, but I don't want the config panel to be accessible from the internet neither.


Thanks
Oliver

Locked