Control (play, pause, volume) over TCP

Raspberry Pi related support

Control (play, pause, volume) over TCP

Postby fohnbit » 23 Jan 2016, 10:29

Hello,

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

Thank you!
fohnbit
 
Posts: 21
Joined: 23 Jan 2016, 10:25

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

Postby hondagx35 » 23 Jan 2016, 11:26

Hi ,

yes.

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


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



Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

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

Postby fohnbit » 23 Jan 2016, 12:11

perfekt .. will try.

Thank you!
fohnbit
 
Posts: 21
Joined: 23 Jan 2016, 10:25

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

Postby Dombo71 » 27 Feb 2016, 20:49

how do i come/see this option..
To see the api of the commands..
Dombo71
 
Posts: 15
Joined: 27 Feb 2016, 13:24

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

Postby Dombo71 » 20 Mar 2016, 19:17

Please some one tel me how i can play with Rune from tcp...
Dombo71
 
Posts: 15
Joined: 27 Feb 2016, 13:24

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

Postby Dombo71 » 20 May 2016, 23:51

In the new version perhaps a better option to control Rune with a api?
Or http controls?
Like openremote or something..
Dombo71
 
Posts: 15
Joined: 27 Feb 2016, 13:24

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

Postby dejaybaze » 02 Feb 2017, 17:59

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....
dejaybaze
 
Posts: 2
Joined: 02 Feb 2017, 16:53

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

Postby Stephane » 08 Feb 2017, 10:40

Hi,
On port 6600 you are controling MPD, not Rune. [WINKING FACE]
Stephane
 
Posts: 64
Joined: 06 Feb 2017, 10:35

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

Postby codefusionllc » 06 Dec 2018, 06:59

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'.
codefusionllc
 
Posts: 1
Joined: 06 Dec 2018, 06:56

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

Postby hondagx35 » 07 Dec 2018, 16:32

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 1614 times

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


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 11 guests
cron