Old 11th February 2014, 17:49   #1
CassianoJose
Junior Member
 
Join Date: Feb 2014
Posts: 4
Working with ajax API safely and easily?

Hello Friends, I am beginner, first post on the forum.
Wanted a help from you.
Working with ajax API dynamically?

I'm wanting to do a panel of open-source control sc_trans, read the documentation and to make the "post" method.
But it always returns me an XML, and asks authentication or confirmation is boring.
Has some way to authenticate the API discreetly?
Would run the command 'addEvent' 'restart' and etc without returning me an XML?
how would I do this?

Something dynamic, example:https://www.youtube.com/watch?v=TDAbWB76bpI
Help me do something, I will distribute free, I'm designer.

Excuse my english, I'm from Brazil

Thanks
CassianoJose is offline   Reply With Quote
Old 11th February 2014, 18:31   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
find an earlier build of sc_trans which included the 'testui' folder in the archive and that should help you to work out what needs to be done to get it working (though sc_trans as a whole is somewhat buggy so you could be experiencing a bug in using it - and since SHOUTcast was recently sold, it's not even clear what the future of sc_trans will be as you cannot officially get a MP3 unlock code for it anymore).
DrO is offline   Reply With Quote
Old 11th February 2014, 19:20   #3
CassianoJose
Junior Member
 
Join Date: Feb 2014
Posts: 4
Command to add live events

I already have a license and I have the old version of sc_trans, but do not think the 'testui'.
Any Linux command to add live events without the ajax API?
CassianoJose is offline   Reply With Quote
Old 11th February 2014, 19:22   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
there isn't. only other way is to edit the files directly and restart sc_trans.
DrO is offline   Reply With Quote
Old 11th February 2014, 19:39   #5
CassianoJose
Junior Member
 
Join Date: Feb 2014
Posts: 4
solution to send the "post"

Got it.
i just wanted a solution to send the "post" without returning me an xml.

CassianoJose is offline   Reply With Quote
Old 11th February 2014, 19:49   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
sc_trans has never been properly supported or had the dev resources needed so unless you can find something in the documentation (as i can't remember much about it's options despite having worked on/off on it) then maybe you can find something i've forgotten about, but i don't think you're going to find what you want.
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Tags
api_ajax, sctrans, shoutcastweb, web_ajax

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump