|
|
#1 | |
|
Junior Member
Join Date: Jan 2011
Posts: 34
|
API getendpoints return...
Hi guys,
I'm starting with shoutcast API's and I would want to get informations about encoders. (and modify them after) I run two instances of sc_trans (V2) with 2 differents endpoints /s1 & /s2 on the same sc_serv (V2) (sc_trans1.conf & sc_trans2.conf) No problem to connect with API. But when I want to retreive informations about encoders with 'getendpoints', I receive only information about the first encoder ” /s1” I tried to specify a "name" like name="/s1" or name="/s2" I receive informations for /s1 but nothing for /s2 Result for /s2 = <response>...<endpoints></endpoint> …</response> As it is written in sc_trans_ajax_api.txt, the parameter "name" isn't required, but I want to retreive information about one specific encoder I don’t understand why ? Do I need specify something special in sc_trans.conf or sc_serv for the second encoder ? Something missing ? Thanks for your help… Here is my simpleAjax code : Quote:
|
|
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|