Page 1 of 1

Control (play, pause, volume) over TCP

PostPosted: 23 Jan 2016, 10:29
by fohnbit
Hello,

is there a APi to control RuneAudio over TCP oder UDP?

Thank you!

Re: Control (play, pause, volume) over TCP

PostPosted: 23 Jan 2016, 11:26
by hondagx35
Hi ,

yes.

api.png
api.png (152.47 KiB) Viewed 2761 times


For example with curl:
Code: Select all
curl "http://192.168.0.64/command/?cmd=play&_=1453464467821"



Frank

Re: Control (play, pause, volume) over TCP

PostPosted: 23 Jan 2016, 12:11
by fohnbit
perfekt .. will try.

Thank you!

Re: Control (play, pause, volume) over TCP

PostPosted: 27 Feb 2016, 20:49
by Dombo71
how do i come/see this option..
To see the api of the commands..

Re: Control (play, pause, volume) over TCP

PostPosted: 20 Mar 2016, 19:17
by Dombo71
Please some one tel me how i can play with Rune from tcp...

Re: Control (play, pause, volume) over TCP

PostPosted: 20 May 2016, 23:51
by Dombo71
In the new version perhaps a better option to control Rune with a api?
Or http controls?
Like openremote or something..

Re: Control (play, pause, volume) over TCP

PostPosted: 02 Feb 2017, 17:59
by dejaybaze
I'll just messed around and found some TCP commands.

TCP port: 6600
Commands i'll sendt was:

play\n
stop\n
next\n

Works like a charm....

Re: Control (play, pause, volume) over TCP

PostPosted: 08 Feb 2017, 10:40
by Stephane
Hi,
On port 6600 you are controling MPD, not Rune. [WINKING FACE]

Re: Control (play, pause, volume) over TCP

PostPosted: 06 Dec 2018, 06:59
by codefusionllc
So, What about getting Playlist information over TCP?

Is that only available via the HTTP calls then?
i.e. http://192.168.1.13/command/?cmd=listplaylists

When I try and send 'listplaylists\n' through the TCP API, it just shrugs and says 'OK MPD 0.19.0\n'.

Re: Control (play, pause, volume) over TCP

PostPosted: 07 Dec 2018, 16:32
by hondagx35
Hi

it just shrugs and says 'OK MPD 0.19.0\n'.

So you have no stored playlists!

if you like to get the actual playqueue have to use:
http://192.168.0.60/command/?cmd=playlist

listplaylists.png
listplaylists.png (48.45 KiB) Viewed 1638 times

playlist.png
playlist.png (152.37 KiB) Viewed 1638 times


Frank