FAQ  •  Register  •  Login

remote control via http-commandline

<<

EPIX

Serviio newbie

Posts: 4

Joined: Sat Oct 12, 2013 6:32 pm

Post Wed Mar 26, 2014 10:53 am

remote control via http-commandline

First of all: you did a great job ! Serviio is really good & very stylish too ;-)

I'd like to integrate serviio into my home-automation, for this reason I'd have to controll at least
- volume
- source (selection of different online-streams) and Playlists

via a simple http-command, just like
http:\\IP_serviio\volume=50
or
http:\\IP_serviio\source=onlinestream?playstream=2

I tried a litte bit, I can switch to the Onlinestreams when I use
http:\\IP_serviio:23424/mediabrowser/#/browse/A_OF?title=Online&b=Home&b=Musik&bid=0&bid=A
so I guess my feature-wishes could be possible.

If I had to use a API - i read the documentation but I did not find the solution - maybe you could just turn me in the right direction ;-)
The only problem use a API is the login/authorisation: if it is as complicated as written in den CDS-API I could not implement it on my homecontrol-server
For me it would be enough to use a specific port because my router to the WWW will not open this port to the WWW - that is secure enough
(or a simple test-"password")
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 28, 2014 12:50 am

Re: remote control via http-commandline

CDS API is the way to browse / play.

For volume, that is not supported and is a feature of clients rather than the server.
<<

EPIX

Serviio newbie

Posts: 4

Joined: Sat Oct 12, 2013 6:32 pm

Post Fri Mar 28, 2014 10:51 am

Re: remote control via http-commandline

For volume, that is not supported and is a feature of clients rather than the server.

I just thought because there is a volume control in the "play"-screen - there is no way to claim control to this shifter?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 28, 2014 3:39 pm

Re: remote control via http-commandline

You'd have to invoke some javascript if you want to control the MediaBrowser web app. No idea how :-)
<<

jeffrey1gardner

Serviio newbie

Posts: 2

Joined: Mon Oct 11, 2021 9:46 am

Post Mon Oct 11, 2021 10:22 am

Re: remote control via http-commandline

You'd have to invoke some javascript if you want to control the MediaBrowser domyessay web app.


You can also take the approach of wrapping the entire contents of a script in a function and having that outer function use strict mode.

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 14 guests

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