FAQ  •  Register  •  Login

is client connected

<<

mattbrowne

Streaming enthusiast

Posts: 25

Joined: Wed Oct 27, 2010 8:22 pm

Post Thu Jan 19, 2012 7:08 pm

is client connected

Hi,

I've tried searching around the forum but couldn't see anything - but I was wondering if there is a way of an external script to query serviio to see if any clients are connected/active.

I can see in the gui that it knows when a client is active with serviio - but I'd like to be able to find this out from a script (bash/csh/tcl etc) so I can control whether to send the server to sleep, also based on whether other clients are connected to other services my server runs (e.g. squeezebox server).

Thanks
Matt
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 19, 2012 7:16 pm

Re: is client connected

Check Serviio REST API guide in the dev forum, you'll be able to get list of clients in the same way the console does.
<<

mattbrowne

Streaming enthusiast

Posts: 25

Joined: Wed Oct 27, 2010 8:22 pm

Post Thu Jan 19, 2012 9:50 pm

Re: is client connected

Thanks! Server now stays awake and sleeps when it should - saved a few pennies on the power bill :)
<<

spelarn

Serviio newbie

Posts: 4

Joined: Sat May 05, 2012 8:35 pm

Post Wed May 09, 2012 8:58 pm

RE: is client connected

Hi matt. I would apprechiate i you could share what you did to succeeded. Need thoose pennies :D

Return to General discussion

Who is online

Users browsing this forum: No registered users and 39 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.