Old 7th September 2010, 03:19   #1
methecooldude
Junior Member
 
Join Date: Jan 2010
Posts: 21
sc_trans (test) UI

Hey all,

I'm experimenting with the sc_trans test ui, but cannot seem to get it to work.
All I get is this...

I think my vars are set up correctly...
code:
var gAPIUsername="admin";
var gAPIPassword="***"; (is correct admin password)
var gAPIURL="http://game-fm.co.uk:3000/api";
var vuLeft="http://game-fm.co.uk:3000/vumeterleft";
var vuRight="http://game-fm.co.uk:3000/vumeterright";
var gAPISeq=1;
var gPriorPlaylist="example.lst";
var gCurrentPlaylist = "example.lst";
var gMasterPlaylist="example.lst";
var gAPIOn = true; // api is active
var gUpdateDJs = true;
var gPlaylistEntriesPerPage = 20;
var gCurrentPlaylistPage = 0;
var gTotalPlaylistEntriesAvailable = 0;



So why does nothing show in the UI?

Thanks
methecooldude is offline   Reply With Quote
Old 12th September 2010, 21:20   #2
methecooldude
Junior Member
 
Join Date: Jan 2010
Posts: 21
Bump
methecooldude is offline   Reply With Quote
Old 18th October 2010, 02:02   #3
diversity
Junior Member
 
Join Date: Oct 2010
Posts: 14
I am in the same situation as the above user. I'm wondering if the api is not fully functional yet and that's why it is not working (as expected). I've tried to find more information in the forums but not a lot of people seem to be interested in the test ui.

Anyone: can you let us know if our test ui should have more functionality than what is shown above? i.e., should the vu meter be working, should 'Advance song' work, etc...

Thanks
diversity is offline   Reply With Quote
Old 18th October 2010, 06:01   #4
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
the api is 99% functional

if you hard code gAPIusername, gPAIpassword etc, you did get rid of the code at about line 100-105 in djapp.html? because, I think that would clobber the hard coded stuff

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 18th October 2010, 06:35   #5
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by diversity View Post
Anyone: can you let us know if our test ui should have more functionality than what is shown above? i.e., should the vu meter be working, should 'Advance song' work, etc...

Thanks
vu meter works (but does occasionally stop, at least in firefox)
all other functions shown in the testui work 100%

my point that the API is 99% functional remains - one API "function" that I know doesn't work is "Capture" with mode="mix", i.e. mix audio card audio with playlist audio

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 19th October 2010, 16:22   #6
DaZilertaler
Junior Member
 
Join Date: Mar 2010
Posts: 23
Quote:
Originally Posted by jaromanda View Post
the api is 99% functional

if you hard code gAPIusername, gPAIpassword etc, you did get rid of the code at about line 100-105 in djapp.html? because, I think that would clobber the hard coded stuff
@jaromanda can you paste the djapp.html code in here.
I'm also having probs with the test ui.

It would be cool if there is going to be a admin panel for the server and transcoder in the future.
There is a dude that made such panel but it's not free and only for linux
DaZilertaler is offline   Reply With Quote
Old 19th October 2010, 22:39   #7
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by DaZilertaler View Post
@jaromanda can you paste the djapp.html code in here.
I'm also having probs with the test ui.
it's in the .zip file you download to get sc_trans

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 21st October 2010, 14:32   #8
DaZilertaler
Junior Member
 
Join Date: Mar 2010
Posts: 23
Ok found the folder it was already there
so to make it works i have edit djapp.html and remove lines 100 / 105 ?
for now nothing showes up when the djapp page appears
DaZilertaler is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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