Old 17th June 2009, 14:29   #281
Computerfreak1
Junior Member
 
Join Date: May 2009
Posts: 12
Send a message via ICQ to Computerfreak1
Ok. But I have one question: Is it possible to update the "Stream Title" of Shoutcast with the SAM Broadcaster? Or is there another way to update this without changing the sc_trans.config?
Computerfreak1 is offline   Reply With Quote
Old 17th June 2009, 14:34   #282
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
No
nradisch is offline   Reply With Quote
Old 17th June 2009, 18:33   #283
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
So IS it possible to kick a dj connected to sc_trans without shutting it down?
cuddles71 is offline   Reply With Quote
Old 17th June 2009, 20:47   #284
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Yes, the AJAX api has a command to kick a dj
nradisch is offline   Reply With Quote
Old 17th June 2009, 22:41   #285
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Is there a guide or tutorial somewhere for the AJAX api? I can't get it to do anything.
cuddles71 is offline   Reply With Quote
Old 18th June 2009, 00:18   #286
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
The last beta drop has API documentation and an extensive sample application.

--Neil
nradisch is offline   Reply With Quote
Old 19th June 2009, 12:55   #287
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Well, to be honest, I can't make heads or tails of the documentation aside from the fact that it lists all these functions.

I loaded the testui into my private webspace on my server, and while it loads, all the images are broken.

Going to: http://myserveriport/api gives me one of two responses:

Bad Content Type
or
Resource Not Found (Weblet)

So just what am I doing wrong here?
cuddles71 is offline   Reply With Quote
Old 19th June 2009, 14:22   #288
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
If the documentation is meaningless to you, then you need to spend some time learning about Ajax, XML, Javascript and how they all relate to eachother.

The test UI is meant to be opened locally in your browser, not deployed on a web server. Just open the index.html file in place.

--Neil
nradisch is offline   Reply With Quote
Old 19th June 2009, 14:49   #289
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Taking time out to read this thread will make clear that the testUI is not for the end-user rather for developers.

The second post right under the one you download sc_trans 2.0
explains what the testUI is for.
http://forums.winamp.com/showthread....10#post2482910

As Mr Radisch[] has explained an understanding of Ajax,Xml and javascript is the only way to get the testUI functioning the way you want it to.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 19th June 2009, 15:28   #290
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Ah, I see!!!

Thanks Neil, this looks much better!

However, one small issue remains. Is there any way my staff members can kick a dj without me having to send this file to them all?

I'd much rather have a specific address they can go to to perform functions like kicking a dj, or restarting sc_trans.

And I'm still not clear on the replaygain settings.
cuddles71 is offline   Reply With Quote
Old 19th June 2009, 16:46   #291
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
You'd have to write your own mini-app or web page to kick the DJ. If someone you know is good at javascript and ajax stuff he/she could probably kick it out for you in an hour or less.

Replay gain is a system by which files are normalized to a uniform volume level. Generally, when you make an mp3 file, the replay gain normalization levels are written in a standard form into the metadata. sc_trans can honor those levels if you set the "applyreplaygain" settings to "1"

--Neil
nradisch is offline   Reply With Quote
Old 23rd June 2009, 20:24   #292
prometx
Junior Member
 
Join Date: Jun 2009
Posts: 2
sc_trans 2.0 beta 5 not working on Linux

Hello,

I had sc_trans working well, when starting it one day it began reporting the following error, which I can't seem to diagnose (this output is from the log-to-screen):




code:

2009-06-23 16:16:48 W msg:[playlist] playlist Directory (/export/home/friends/playlist/) does not exist
2009-06-23 16:16:48 E msg:[decode] Playlist has run dry
2009-06-23 16:16:48 I msg:[decode] Exiting decoder thread
2009-06-23 16:16:48 I msg:[microServer] Listening for connection on port 9877
2009-06-23 16:16:48 I msg:[STREAM] 561701066 running
2009-06-23 16:16:48 I msg:[MAIN] Broadcast Receiver thread starting
2009-06-23 16:16:48 I msg:[mp3enc] 277403440/44100/2/96000 Exiting encoder thread
2009-06-23 16:16:48 I msg:[MAIN] Exiting loop
2009-06-23 16:16:49 I msg:[rgCalc] thread exiting
2009-06-23 16:16:49 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2009-06-23 16:16:49 I msg:[crossfader] in=0 out=0
2009-06-23 16:16:49 I msg:<***> Logger shutdown



I am especially confused by the stanza:

code:
2009-06-23 16:16:48 W msg:[playlist] playlist Directory (/export/home/friends/playlist/) does not exist


I am wondering where sc_trans gets the location of the "phantom" directory and why it isn't honoring the explicit path I've noted for my playlist in my sc_trans.conf file.

Also, if I were to try and jury-rig a solution by creating this directory, where would I place it, relative to my sc_trans directory (if that even is a good idea...)


The text of my sc_trans.conf is as follows:


code:
;; VU Images
;vuimagedirectory=C:\Documents and Settings\nradisch\My Documents\programming\shoutcast\current\sc_trans\vuimages\

;; ENCODER OPTIONS
encoder=mp3
bitrate=96000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=my.server.ip
serverport=6774
password=mypassword


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=/usr/local/shoutcast/sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Shivux-Home-Radio
; url related to my stream
;streamurl=
; my genre
genre=classical
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=/home/promet/Audio/Music/MP3/music.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 1
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
;playlists=/home/promet/Audio/Music/MP3/
; where finished priority playlists get copied
;archive=/home/promet/Audio/Music/MP3/archive

;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2

;;;; DJ SUPPORT:
; dj listen port
djport=9876
; dj password
djpassword=leavenow
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=c:\sc_trans\recorded\


;; REPLAY GAIN CONTROL:
applyreplaygain=1
calculatereplaygain=0

;;; OTHER:
adminport=5555
adminuser=admin
adminpassword=goaway




Any help would be greatly appreciated.
prometx is offline   Reply With Quote
Old 23rd June 2009, 21:33   #293
prometx
Junior Member
 
Join Date: Jun 2009
Posts: 2
Ooops, nevermind. Playlist file was corrupted. Bumpin' fat nasties again; please disregard...

=P
prometx is offline   Reply With Quote
Old 24th June 2009, 13:31   #294
Computerfreak1
Junior Member
 
Join Date: May 2009
Posts: 12
Send a message via ICQ to Computerfreak1
I have also problems with the API. First I load the testui folder into my webspace. Then I want to login, I enter the access data, but in the next window everything is empty there isnt schown the curent track, or other things. But I listen to the radio.
Why is there everything empty?
Computerfreak1 is offline   Reply With Quote
Old 24th June 2009, 14:23   #295
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
The testUI was just a giant example of how to use the Ajax API built into sc_trans. It was never meant to be a well built or tested application.

That said, it obviously worked reliably for me or I would never have released it. The caveat being that I only ever tested it under FireFox on a PC. It's unlikely it will work on another browser.

--Neil
nradisch is offline   Reply With Quote
Old 25th June 2009, 15:31   #296
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Well, I've given a copy my resident codemonkey. Soon as he comes up with anything I'll post a copy.
cuddles71 is offline   Reply With Quote
Old 26th June 2009, 15:45   #297
Computerfreak1
Junior Member
 
Join Date: May 2009
Posts: 12
Send a message via ICQ to Computerfreak1
Hi again,
I have a problem to configure the calendar file.
I have 2 Playlist:
1.Music (many songs)
2.Jingle (4 jingles)

I want to configure it, that the Music runs everytime and one of the four Jingles (shuffle) is playing every hour again. My calendar file looks like:

<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>

<event type="dj">
<dj archive="0">dj</dj>
<calendar starttime="00:00:00" />
</event>

<event type="playlist" >
<calendar starttime="00:00:00" />
<playlist loopatend="1" shuffle="1" priority="2">single_charts</playlist>
</event>

<event type="playlist" >
<calendar timeoffset="01:00:00" starttime="00:00:00" />
<playlist loopatend="0" shuffle="1" priority="1" duration="00:00:50">jingle</playlist>
</event>

</eventlist>

But sc_trans plays first all Songs from the Jingle-Playlist, insteat of only one. And then sc_trans play the Music-Playlist, and no Jingle is played again. Is it correct that sc_trans moves the Jingle and the Music-Plylist by playing into the archive folder?
Computerfreak1 is offline   Reply With Quote
Old 29th June 2009, 19:54   #298
dzosh
Junior Member
 
Join Date: Jun 2009
Posts: 2
Hello there,

is there any way how to use "crossfade" without fading? I need to start every next song 2 second before ending first song.

I tried xfade option but it fades start of next song for 1sec and in my case next song is jingle 3sec long - so fading first 1sec of jingle is not good.

It should be cool to create some fading option to set it on/off in config file.
dzosh is offline   Reply With Quote
Old 29th June 2009, 20:16   #299
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Look at "xfadethreshold".

--Neil
nradisch is offline   Reply With Quote
Old 30th June 2009, 12:27   #300
dzosh
Junior Member
 
Join Date: Jun 2009
Posts: 2
ok mayb i wrote it wrong.

I need to start playing next song two seconds before end of previous song without fading. Need to play both song with volume=100% for 2second together. Because jingles got 2-3seconds length and if jingles start fades nobody listen the point of jingle.

i think "xfadetreshold" is just for setting how long should be track to use crossfading.
dzosh is offline   Reply With Quote
Old 30th June 2009, 12:41   #301
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
There's no option to do what you ask.

--Neil
nradisch is offline   Reply With Quote
Old 30th June 2009, 18:53   #302
Aesthetic
Junior Member
 
Join Date: Jan 2009
Location: Berlin
Posts: 5
Send a message via ICQ to Aesthetic
Is there a simple way to make a playlist play every 30 minutes for lets say 1 minute? I know I can repeat a playlist through "repeat=" but that only works for days what if I want it to repeat every 30 minutes as stated before? I hope that I don't need (23*2)+1 entries for a whole day in my calendar.xml to achieve that...

--Simon
Aesthetic is offline   Reply With Quote
Old 30th June 2009, 19:16   #303
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Yes. They are called "Time Periodic" events. The "api.rtf" file has an explanation of them in the introductory section. The relevant piece is this:

----------------------------------------

The repeat attribute is a numeric code for an event that repeats

1 - Every Sunday
2 - Every Monday
4 - Every Tuesday
8 - Every Wednesday
16 - Every Thursday
32 - Every Friday
64 - Every Saturday
128 - Time periodic

The values can be bitwise combined to create more complicated repeat patterns. For example, 62 would mean every weekday.

Time periodic events are those which occur at regular intervals throughout the day. In this case the start time is the time interval. If no other repeat field bits are specified, the event is valid every day of the week. If others are specified, then it's restricted to those days. timeoffset is only used for timeperiodic events. This indicates an offset from midnight at which to apply the periodic time. For example if you wanted something that was every hour on the half hour

timeoffset="00:30:00"
starttime="01:00:00"


--------------

--Neil
nradisch is offline   Reply With Quote
Old 4th July 2009, 11:23   #304
MofX
Junior Member
 
Join Date: Jul 2009
Posts: 4
I'm currently testing sc_trans and it works quite fine.

I think it has some problems when one endpoint isn't online, but that's not a real big deal to me.

Now I'm interested if there is a way to get the current play time of a track played by the playlist.
I don't think it's possible in this version right?

Maybe you can add it in one of the next ones.


I hope there will be a next one very soon, it's some months since the last beta release und after Tag leaving nullsoft I thought that's the end of shoutcast...
MofX is offline   Reply With Quote
Old 4th July 2009, 14:02   #305
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Dont Panic the guys from the sc dev team are working
hard as ever

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 4th July 2009, 14:25   #306
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally posted by Jkey
hard as ever
that could mean so much ... or so little

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 4th July 2009, 17:22   #307
DJ Pedster
Junior Member
 
Join Date: Jul 2008
Location: London
Posts: 40
Er, I think I have a problem.... When someone is logged in on 1 user and if someone else tries to log in on the same user, it kicks the 1st connection off? How can this be? This normal? Hope not.

Also, has someone managed to write a PHP class for the API yet? If so, I'd be very interested in seeing it

Regards,

DJ Pedster

Last edited by DJ Pedster; 4th July 2009 at 17:58.
DJ Pedster is offline   Reply With Quote
Old 4th July 2009, 20:08   #308
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Its no small task as i found writing as3 classes for flash(which still is not finished).

If anyone out there has already wrote code to utilise the api in any language post it as it would benefit the community greatly.

I will get around to posting a flash app one day soon i hope

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 5th July 2009, 08:52   #309
DJ Pedster
Junior Member
 
Join Date: Jul 2008
Location: London
Posts: 40
Need to clarify something, if I, for example, add a calendar event for 1 user to finish at say 14:05 (to allow over run), and another user to start at 14:00 - both with same prority, who has the right of way? I mean, if user 2 connects at 14:00, will user 1 be booted?

Regards,

DJ Pedster
DJ Pedster is offline   Reply With Quote
Old 5th July 2009, 11:00   #310
MofX
Junior Member
 
Join Date: Jul 2009
Posts: 4
Quote:
Also, has someone managed to write a PHP class for the API yet? If so, I'd be very interested in seeing it [/B]
Writing a php class is quite easy. It depends on what you want the class to do for you.
I'm currently writing a class that just queries sc_trans and returns the result as an array. It's a very light abstraction.

I'm using curl and simplexml to query sc_trans and to parse the result.

You can abstract the functions even more if you want to, but I don't think I need that. I just wanted the networking and "decoding" part to be abstracted.


Quote:
Originally posted by jaromanda
that could mean so much ... or so little
Never forget, nullsoft doesn't charge us anything to use their software.
MofX is offline   Reply With Quote
Old 5th July 2009, 11:12   #311
DJ Pedster
Junior Member
 
Join Date: Jul 2008
Location: London
Posts: 40
Quote:
Originally posted by MofX
Writing a php class is quite easy. It depends on what you want the class to do for you.
I'm currently writing a class that just queries sc_trans and returns the result as an array. It's a very light abstraction.
I could write one, but I havent had the time....

Ideally I'm looking for (in PHP):

addDJ (djname, djpass, djpriority);
deleteDJ (djname);
editDJ (djname, new djpass) - only to edit passwords;
addDJSchedule (djname, time, duraton, day(s));
deleteDJSchedule (djname);

its the logging in bit that kind of throws me
DJ Pedster is offline   Reply With Quote
Old 5th July 2009, 14:52   #312
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Quote:
Originally posted by DJ Pedster
I could write one, but I havent had the time.... :cry:

Ideally I'm looking for (in PHP):

addDJ (djname, djpass, djpriority);
deleteDJ (djname);
editDJ (djname, new djpass) - only to edit passwords;
addDJSchedule (djname, time, duraton, day(s));
deleteDJSchedule (djname);

its the logging in bit that kind of throws me :eek:
Its alot more simple than you think to login.
Example:-
fputs($fp, "Authorization: basic ".base64_encode("AdminLogin:AdminPassword")."\r\n\r\n");

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 5th July 2009, 21:07   #313
MofX
Junior Member
 
Join Date: Jul 2009
Posts: 4
Using curl it's even more simple

Here is my function to do the html request and xml parsing (it needs mod_curl and mod_simplexml, both standard modules that may need activation or installation if not present):


PHP Code:
    public function query($op$params null) {
        
$c curl_init("http://{$this->server}/api");
        
curl_setopt($cCURLOPT_PORT$this->port);
        
        
curl_setopt($cCURLOPT_POSTtrue);
        
curl_setopt($cCURLOPT_RETURNTRANSFERtrue);
        
curl_setopt($cCURLOPT_HTTPAUTHCURLAUTH_BASIC);
        
        
$string "op=$op&seq=". ($this->seq++);
        if (
$params) {
            foreach (
$params as $key => $value) {
                
$string .=  "&" $key "="$value;
            }
        } 
        
curl_setopt($cCURLOPT_POSTFIELDS$string);
        
curl_setopt($cCURLOPT_USERPWD"admin:{$this->password}");
        
        
$output curl_exec($c);
        
        
$sxml = new SimpleXMLElement($output);
        
        
        
        return 
$sxml->data;
    } 
It's definitly not complete. When building the post query string it has to be urlencoded and params has to be checked for duplicates of op or seq...
And this function shouldn't be public of course, that's just for testing

It's just a quick thing i wrote to test the api and to check if it's fast enough to do queries through php.
MofX is offline   Reply With Quote
Old 6th July 2009, 09:41   #314
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
I assume you are referring to DJs.

If two DJs are scheduled at the same time, the one
who connects later can only boot off the earlier one if the later one has a higher priority.

--Neil


Quote:
Originally posted by DJ Pedster
Need to clarify something, if I, for example, add a calendar event for 1 user to finish at say 14:05 (to allow over run), and another user to start at 14:00 - both with same prority, who has the right of way? I mean, if user 2 connects at 14:00, will user 1 be booted?
nradisch is offline   Reply With Quote
Old 7th July 2009, 04:29   #315
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Ok, this started happening about 2 hours ago. Nothing has changed on the system itself, and a reboot has done nothing to help:

Jul 6 23:48:30 johnnyfever kernel: [14783.149524] sc_trans[23723]: segfault at f0 ip 0810db9c sp b2fab060 error 4 in sc_trans[8048000+2ad000]
Jul 7 00:02:19 johnnyfever -- MARK --
Jul 7 00:07:09 johnnyfever kernel: [15902.182934] sc_trans[393]: segfault at f0 ip 0810db9c sp b2fd1060 error 4 in sc_trans[8048000+2ad000]
Jul 7 00:19:20 johnnyfever kernel: [16633.850389] sc_trans[5402]: segfault at f0 ip 0810db9c sp b2dfe060 error 4 in sc_trans[8048000+2ad000]

Any ideas?
cuddles71 is offline   Reply With Quote
Old 7th July 2009, 13:04   #316
DJ Pedster
Junior Member
 
Join Date: Jul 2008
Location: London
Posts: 40
Quote:
Originally posted by nradisch
I assume you are referring to DJs.
Sorry yes I was......
and what about my issue in post 2536537
As I haven't had the chance to use the API yet, everyone uses just 1 login at the moment, so I found this happens:
Quote:
When someone is logged in on 1 user and if someone else tries to log in on the same user, it kicks the 1st connection off
DJ Pedster is offline   Reply With Quote
Old 7th July 2009, 15:19   #317
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
That could be happening. I'd have to look at the code. I frankly never considered what would happen if two of the same DJs tried to connect. I got so caught up in managing multi-DJ scenarios that this obvious degenerative case never came to mind.

--Neil

Quote:
Originally posted by DJ Pedster
Sorry yes I was......
and what about my issue in post 2536537
As I haven't had the chance to use the API yet, everyone uses just 1 login at the moment, so I found this happens:
nradisch is offline   Reply With Quote
Old 7th July 2009, 16:54   #318
MofX
Junior Member
 
Join Date: Jul 2009
Posts: 4
Quote:
Originally posted by nradisch
That could be happening. I'd have to look at the code. I frankly never considered what would happen if two of the same DJs tried to connect. I got so caught up in managing multi-DJ scenarios that this obvious degenerative case never came to mind.

--Neil
I dont't think is too bad.
If you assume that every DJ has it's own account and one connectes multiple times with the same in parallel he might have lost his internet connection or some other network error and it hasn't timed out yet. If that's the case kicking the other connected acc would be the right thing to do.
MofX is offline   Reply With Quote
Old 10th July 2009, 21:55   #319
Kevin77
Junior Member
 
Join Date: Jul 2009
Posts: 18
php questions...

Quote:
Originally posted by MofX
Using curl it's even more simple

Here is my function to do the html request and xml parsing (it needs mod_curl and mod_simplexml, both standard modules that may need activation or installation if not present):


PHP Code:
    public function query($op$params null) {
        
$c curl_init("http://{$this->server}/api");
        
curl_setopt($cCURLOPT_PORT$this->port);
        
        
curl_setopt($cCURLOPT_POSTtrue);
        
curl_setopt($cCURLOPT_RETURNTRANSFERtrue);
        
curl_setopt($cCURLOPT_HTTPAUTHCURLAUTH_BASIC);
        
        
$string "op=$op&seq=". ($this->seq++);
        if (
$params) {
            foreach (
$params as $key => $value) {
                
$string .=  "&" $key "="$value;
            }
        } 
        
curl_setopt($cCURLOPT_POSTFIELDS$string);
        
curl_setopt($cCURLOPT_USERPWD"admin:{$this->password}");
        
        
$output curl_exec($c);
        
        
$sxml = new SimpleXMLElement($output);
        
        
        
        return 
$sxml->data;
    } 
It's definitly not complete. When building the post query string it has to be urlencoded and params has to be checked for duplicates of op or seq...
And this function shouldn't be public of course, that's just for testing

It's just a quick thing i wrote to test the api and to check if it's fast enough to do queries through php.
Hi to all.

So i think the sc trans beta its a great work.
Now one thing ist bad. I want to have some data of tha sc_trans api into php variables.

at the moment only one. How can i get the status who is playing the songs?
So if the Songs played by playlist i get into a var like $sctrstat = playlist
or if a dj is sending
$sctrstat = DJNAME

So i can use the data for my shoutcast status box on my page. But i dont know enough about js and how to get the datas.

So i hope anybody can help me.
Oh and please use vars for ip port etc, so i can change it manually. If it is a function like above, please give me an example php calling for this function.

And sorry for my bad english. I dont have to use it many times.

Best Regards Kev
Kevin77 is offline   Reply With Quote
Old 12th July 2009, 20:00   #320
biafly
Junior Member
 
Join Date: Aug 2008
Posts: 10
problem with settings

i have this configuration

;;;; DJ SUPPORT:
; dj listen port
djport=9876
djpassword_0=fly
djlogin_0=pisy
djpriority_0=128
djpassword_1=lucia
djlogin_1=admin
djpriority_1=128
djpassword_2=GOGULE
djlogin_2=deea
djpriority_2=128
djpassword_3=fly
djlogin_3=cipri
djpriority_3=128
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=c:\sc_trans\recorded\


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=55558
adminuser=admin
adminpassword=goaway

calendarfile=calendar.xml


and in calendar.xml

<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="0">admin</dj>
<calendar starttime="17:00:00" duration="02:00:00" timeoffset="18:59:00" repeat="128" />
</event>
<event type="dj">
<dj archive="0">pisi</dj>
<calendar starttime="19:00:00" duration="02:00:00" timeoffset="21:00:00" repeat="128" />
</event>
<event type="dj">
<dj archive="0">deea</dj>
<calendar starttime="11:00:00" duration="02:00:00" timeoffset="13:00:00" repeat="128" />
</event>
event type="dj">
<dj archive="0">cipri</dj>
<calendar starttime="21:01:00" duration="02:00:00" timeoffset="23:00:00" repeat="128" />
</event>
</eventlist>

and in sc_trans I got the following error

009-07-12 21:47:38 W msg:[djProtocolShoutcast] Login denied from cipri:fly
2009-07-12 21:47:55 W msg:[djProtocolShoutcast] Login denied from cipri:fly
2009-07-12 21:48:11 W msg:[djProtocolShoutcast] Login denied from cipri:fly
2009-07-12 21:48:27 W msg:[djProtocolShoutcast] Login denied from cipri:fly
2009-07-12 21:48:38 I msg:[shoutcastmetadata] Sending metadata
2009-07-12 21:48:43 W msg:[djProtocolShoutcast] Login denied from cipri:fly
2009-07-12 21:49:00 W msg:[djProtocolShoutcast] Login denied from cipri:fly



Why should I change to the timetable may send???
sorry my english
biafly is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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