Hello all,
newbie me just bought Twonky Server and registered to the forum because I already have a question
I can see on the "Server Status" page of the Twonky Server web gui the currently streamed objects and the "active local connections" below the bottom line.
I was wondering if I can gather this information from any log or configuration file or by any twonky command?
The reason behind is that I like to save power and turn off my Linux twonky server if there are no more active connections for a while. I thought it would be the best to get the information right from the server and not from some Linux system command. I can bring my server back online with a "Wake on LAN" tool if I need it again.
Is this the best way to monitor the twonky streaming activities or is there a better way to collect such status information?
Thank you for your support
How to show active connections without web gui ?
-
- Posts:105
- Joined:Sat Feb 17, 2007 11:13 pm
- AV Hardware:Server: Linkstation Pro (production) with Twonky 6.0.1 +
Linkstation Pro (developer) with Twonky 6.0.23
Clients:
Kathrein UFS 822 (pvr sat receiver, upnp-client?)
Philips TV PFL9604
WD TV Live
Roku Linkstation
Philips WLAN photo frame
Re: How to show active connections without web gui ?
You could try to write a script which evaluates the answers on
http://<ip>:<port>/rpc/stream_active
http://<ip>:<port>/rpc/stream_info
The fist should give you the number of active streams, which should be sufficient for your needs.
Cheers,
Georg
http://<ip>:<port>/rpc/stream_active
http://<ip>:<port>/rpc/stream_info
The fist should give you the number of active streams, which should be sufficient for your needs.
Cheers,
Georg
Re: How to show active connections without web gui ?
Awesome!!!
I catch the data of your given rpc outputs with "wget" to a file and check constantly if the <SA> value changes. When it remains "0" for 15 minutes I can halt the system.
Thank you very much. This was a very warm welcome to the forum.
Cheers,
tws
I catch the data of your given rpc outputs with "wget" to a file and check constantly if the <SA> value changes. When it remains "0" for 15 minutes I can halt the system.
Thank you very much. This was a very warm welcome to the forum.
Cheers,
tws
-
- Posts:105
- Joined:Sat Feb 17, 2007 11:13 pm
- AV Hardware:Server: Linkstation Pro (production) with Twonky 6.0.1 +
Linkstation Pro (developer) with Twonky 6.0.23
Clients:
Kathrein UFS 822 (pvr sat receiver, upnp-client?)
Philips TV PFL9604
WD TV Live
Roku Linkstation
Philips WLAN photo frame
Re: How to show active connections without web gui ?
Twonky has great features and a lot of possibilities to twist things. Unfortunately the docu for these specialties is the big weakness... The forum helps somewhat.
Welcome!
Georg
Welcome!
Georg