Cannot edit ini file

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
andersthingholm
Posts:3
Joined:Thu Jan 07, 2010 1:14 am
AV Hardware:WD My Book World Edition II
Cannot edit ini file

Post by andersthingholm » Thu Jan 07, 2010 1:19 am

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

andersthingholm
Posts:3
Joined:Thu Jan 07, 2010 1:14 am
AV Hardware:WD My Book World Edition II

Re: Cannot edit ini file

Post by andersthingholm » Thu Jan 07, 2010 10:37 am

It seems to be binary. Is this right? Can I not change the ini-file then?

User avatar
mgillespie
Posts:1222
Joined:Fri Jul 08, 2005 1:19 pm
AV Hardware:TwonkyMedia AV UPnP Mediaserver (Marvell Kirkwood ARM Sheevaplug with Debian Squeeze).
2x Noxon V2 audio client
1x PS3 Slim 500GB Audio/Video UPnP client.
1x Sony VGF-CP1 Wireless Photoframe.
Location:UK

Re: Cannot edit ini file

Post by mgillespie » Thu Jan 07, 2010 9:32 pm

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.
Please note: Moderators here are voluntary and do not work for PacketVideo or Twonky, please do not attack us. Any posts are personal opinion, and may not be those of PV/Twonky.

andersthingholm
Posts:3
Joined:Thu Jan 07, 2010 1:14 am
AV Hardware:WD My Book World Edition II

Re: Cannot edit ini file

Post by andersthingholm » Thu Jan 07, 2010 10:47 pm

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

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Cannot edit ini file

Post by PeeBee » Fri Jan 08, 2010 1:30 am

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
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

Locked