I have the same request as S80_UK: Can you fix Twonky Server to not require a login after the host server reboots?
I have Twonky Server running on a Raspberry Pi, and I sometimes need to reboot it, or power if off. Upon power-up, although Twonky Server is being run as a service on the Raspbian OS, a web login to the Twonky Admin account is required before my smart phones or the Onkyo AVR can access the music files.
Thank you for considering this request.
Greg in San Diego.
I am not sure if this will help you, but I think I have a solution. After logging in via the web page, a new folder is created: /var/lynxtechnology
and that folder contains a file called token
In my server (I use unRAID on a PC platform) that folder is held in a RAM based filing sytem and is lost at power off. So while the server is up and running I manually copy the folder to some non-volatile storage. In my case that's a USB stck, but it could be on an SD card perhaps in your case. I also modify my boot up script to copy that folder back from storage to the /var folder with something like this...
Code: Select all
cp -r /boot/config/lynxtechnology /var/
Note the -r and the final /
This restore of the folder and token file must be executed before running the startup script for twonkyserver.
In my case /boot/config is just a handy place - I am not a Pi user, but it's likely you can find somewhere similar.
The result of this is that I can now power down my server and restart later with twonkyserver starting up correctly and not requiring a subsequent login. Whether this works long term I don't know, but I thought it was worth sharing.
Hope this helps you.