Home
Products
Support
Company
Clients
Locale
English (US $)
English (CAD $)
English (GBP £)
English (EUR €)
English (BRL R$)
Español (EUR €)
Español (MXN $)
Forums
Is server.playlist API method broken?
Is server.playlist API method broken?
Forums
Centova Cast v3
Bugs and issues
Is server.playlist API method broken?
Register
Login
Username:
Password:
Duration:
1 Hour
1 Day
1 Week
1 Month
Forever
Forgot password?
Topic
Print
1
(current)
Is server.playlist API method broken?
Read 1453 times
psyguy
Newbie
Posts: 2
Logged
March 22, 2016, 07:07:40 pm
Is server.playlist API method broken?
I am playing around with the API of Centova v3 to see what is possible and the playlist method looks very useful for managing playlists remotely.
The problem is I always get an error response saying "Must specify a valid action" and I don't know why.
Request:
http://example.com:2199/api.php?f=json&a
[username]=username&a[password]=password&xm=server.playlist&action=list
Response:
{
"type": "error",
"response": {
"message": "Must specify a valid action"
}
}
psyguy
Newbie
Posts: 2
Logged
March 23, 2016, 06:04:24 am, #1
Re: Is server.playlist API method broken?
Figured it out. Parameters need to be passed to the API like this: &a[action]=list
1
(current)