Page 1 of 1

Cannot edit ini file

Posted: Thu Jan 07, 2010 1:19 am
by andersthingholm
Hi,

I am using Twonky on my WD My Book World Edition II.

I have logged in through WinSCP and try to edit the ini file (twonkyvision-mediaserver.ini). But when I open the file I can only see partial readable text and most rubbish.

If I open the ini file thorugh ultraedit I can see that it says UTF-16. I have tried opening the file with SuperEDI, but still no luck.

Am I doing something wrong?

Kind regards,
Anders Thingholm

Re: Cannot edit ini file

Posted: Thu Jan 07, 2010 10:37 am
by andersthingholm
It seems to be binary. Is this right? Can I not change the ini-file then?

Re: Cannot edit ini file

Posted: Thu Jan 07, 2010 9:32 pm
by mgillespie
You need to open it with something that understands UTF16.

Pico/Nano do not... Vi may do.

Sometimes it's just easier to make the changes via the web interface.

Re: Cannot edit ini file

Posted: Thu Jan 07, 2010 10:47 pm
by andersthingholm
Hi,

Thanks!

I cannot seem to change the ini settings through the webinterace. I only have access to a few different options - see this screenshot:

http://dl.dropbox.com/u/185366/twonky.PNG

/Anders

Re: Cannot edit ini file

Posted: Fri Jan 08, 2010 1:30 am
by PeeBee
If you know the parameter name that you want to modify then you can use the RPC functionality.

Go to http:\\<your-server-ip>:9000\rpc\set_option?<parameter_name>=<parameter_value> in your browser and it will update the ini file.

rpc\get_option?<parameter_name> will return the current value of <parameter_name>.

PB