Save settings / registration permanently on MSS II ?

Other OS or NAS discussions
Post Reply
Brinki
Posts: 11
Joined: Tue Jun 01, 2010 10:01 am
AV Hardware: Maxtor Central Axis 1TB ( MSS II 3.5.74 ) with Twonky Mediaserver 5.1.3
Conduits Pocket Player 4.1 Windos Mobile as Client and Remote for DLNA Player
Samsung BD-C5500
Xbox 360
Windows 7 Pc with Cidero A / V Contoller

Save settings / registration permanently on MSS II ?

Post by Brinki » Sat Jul 10, 2010 12:57 pm

After restarting my MSS II, Twonky lost all settings. How should I save them permanently?
I´m using twonky 6.0.1 but with 5.1.3-dev it was the same

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

Re: Save settings / registration permanently on MSS II ?

Post by PeeBee » Sun Jul 11, 2010 8:21 pm

The folder that the ini file is in must be writable, and it must not be in an area that gets deleted on a restart of the MSS II. Sometimes this is set to a folder under /var and this may be getting deleted on each restart.

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)

Brinki
Posts: 11
Joined: Tue Jun 01, 2010 10:01 am
AV Hardware: Maxtor Central Axis 1TB ( MSS II 3.5.74 ) with Twonky Mediaserver 5.1.3
Conduits Pocket Player 4.1 Windos Mobile as Client and Remote for DLNA Player
Samsung BD-C5500
Xbox 360
Windows 7 Pc with Cidero A / V Contoller

Re: Save settings / registration permanently on MSS II ?

Post by Brinki » Sun Jul 11, 2010 9:26 pm

PeeBee wrote:Sometimes this is set to a folder under /var and this may be getting deleted on each restart.
And how should I change that? I´m not a Linux user, I´ve instaled twonky with the NAS installer

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

Re: Save settings / registration permanently on MSS II ?

Post by PeeBee » Sun Jul 11, 2010 11:20 pm

You have to modify the script that starts twonky so that it uses the -appdata parameter and set it to a folder that is persistent on your NAS, preferably somewhere in your data partition (ie where all your shares are). For my LS Pro the script is called twonky and is in /etc/init.d but it may be different on the MSS II.

I set -appdata to /mnt/disk1/twonky6 which is where my twonky files are installed to.

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)

Brinki
Posts: 11
Joined: Tue Jun 01, 2010 10:01 am
AV Hardware: Maxtor Central Axis 1TB ( MSS II 3.5.74 ) with Twonky Mediaserver 5.1.3
Conduits Pocket Player 4.1 Windos Mobile as Client and Remote for DLNA Player
Samsung BD-C5500
Xbox 360
Windows 7 Pc with Cidero A / V Contoller

Re: Save settings / registration permanently on MSS II ?

Post by Brinki » Mon Jul 12, 2010 10:56 pm

I´ve now changed the recan time in the twonkymedia-server-default.ini and it seems to work
But how should save the Regstration Key? That is the biggest problem

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

Re: Save settings / registration permanently on MSS II ?

Post by PeeBee » Tue Jul 13, 2010 9:07 pm

The license key should be put into the ini file like this:

Code: Select all

# license key
cdkey=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH
But once you've got your ini file in an area that doesn't get deleted then you can enter it via the web interface.

You can also do it from the web interface by typing the following into your browser:

http:\\<<your-ip:your-port>>\rpc\set_option?cdkey=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH

and this will set your key into the ini file. Obviously use your key and not AAAA etc.

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)

Post Reply