Web Hosting Talk







View Full Version : How to Run a Broadcasting Station using Shoutcast on Linux


sprintserve
05-24-2004, 01:10 PM
This how-to will not replicate TLG's How-To on installing a Shoutcast Server. Rather this focuses on those who do not wish to broadcast from a remote location and would rather have the server play Mp3 located on the same server based on a playlist. TLG How-To is found here: http://www.webhostingtalk.com/showthread.php?s=&threadid=227645

Please make sure you go through the above thread first do that first before you continue with this section. I will assume you have created a user just for running shoutcast (and isn't doing it from root) and you are currently running as that user. I will also assume you have already configured your shoutcast server (with passwords and so on).

Follow the steps:

1. Download: http://www.shoutcast.com/downloads/...s_posix_040.tgz

2. Untar
tar -zvxf sc_trans_posix_040.tgz

3. Configure
cd sc_trans_posix_040
pico sc_trans.conf

Make sure that the config file points to the Playlist file you are going to generate in step 4. You need to configure these configuration variables:
- PlayListfile
- ServerIP: This is the IP of your Shoutcast server which is probably the same server.
- ServerPort: Port 8000 is default
- Password: This is the password that you enter in the Shoutcast server configuration
- Bitrate: Depending on your radio, you can tweak the bitrate here
- The rest are fine default.

4. Create a playlist based on mp3s on the server:
find /path/to/mp3/directory -type f -name "*.mp3" > playlist.lst

5. Start your Shoutcast server
cd /path/to/shoutcast/server/
nohup ./sc_serv &

nohup and & is not compulsory but is nice to have. Nohup outputs to a log file and & runs the process in the background and returns you to shell.


6. Start your broadcast
cd /path/to/broadcast/server/
nohup ./sc_trans_linux &


It should now be playing. Access your server by going to http://serverip:8000/listen.pls or if there's an URL on that IP, you can use the URL as well.

If there's any questions, feel free to ask.

Steven
05-28-2004, 08:24 PM
nice how to sprintserve

cmmdk
06-05-2004, 06:13 PM
Where do i download Linux??
and is there a easy install with pictureS?
and easy read guide?
Because i hate to look on so much text

Flumps
06-07-2004, 09:40 AM
linux normally comes installed on dedicated boxes from data centers but if you want to install linux on a home machine then you may need to try looking for it on google.

kitsune
06-09-2004, 09:27 AM
i was told that a winamp streaming station cannot be run on a shared hosting plan, is that true ? ? ?

also, can you stream VIDEO with shoutcast as avi ? or do you have to convert to NSV??

i tried converting to nsv once and it just didnt work.

uid0
07-21-2004, 03:03 AM
Originally posted by kitsune
i was told that a winamp streaming station cannot be run on a shared hosting plan, is that true ? ? ?

also, can you stream VIDEO with shoutcast as avi ? or do you have to convert to NSV??

i tried converting to nsv once and it just didnt work.

This is mainly true because most shared hosting plans do not come with shell access. In order to compile and run shoutcast, you would require access to the machine your shared hosting account is hosted on. Shoutcast can be an extremely bandwidth intensive application so not many hosting providers like to offer this service, but there are still enough that do.

As for streaming video, I haven't tried this recently (Actually, I haven't played any tunes through a shoutcast server in a while either) but I'm sure if you read the sc_serv documentation it would provide more than enough information regarding this.

BizB
07-21-2004, 05:38 AM
is it protected from hot linking ?

fantasian
11-10-2004, 06:55 PM
how do you set it so that when someone is not broadcasting from a remote location, shoutcast will switch to the playlist file?

sprintserve
11-17-2004, 02:52 AM
Well if you are talking about hot switching i.e. automatically switching over and take over when someone disconnect, I am not sure that's possible easily.

You just have to log in and start the playlist manually when there's no one broadcasting remotely.

cami
12-02-2004, 08:46 PM
Hi sprint serve. I am interested in shoutcast broadcasting on windows. I put my pass, my IP, maxusers but still it says errors connecting to shoutcast.com. could you please tell me where is the problem. my internet connection is fast. thank you very much.
regards,
cami

sprintserve
12-03-2004, 01:55 AM
You need your own server. Shoutcast.com is not a universal broadcasting station where you can connect to to broadcast.

Bilco105
12-07-2004, 01:18 AM
How is bandwidth on the shoutcast servers? Thanks

sprintserve
12-07-2004, 03:48 AM
Depends on bitrate, depends on number of listeners.

Basically 128kbit/s (most commonly used bitrate and agreed to be almost CD quality), you are talking about 16kbytes/s. So you can do the Maths.

yaax
02-10-2005, 08:48 AM
Is there any tool that can measure exact shoutcast used banwidth?
I know that I can limit total bandwidth by bitrate and number of listeners, but how to know how much bandwidth was actually used by each shoutcast server?

Angelo
02-10-2005, 09:32 AM
A cron job to get the current number of listeners from Shoutcast XML stats in a friendly interval, than plotting out a graph by multiplying the listener number with bitrate. However it will not be much accurate.

yaax
02-10-2005, 02:28 PM
Originally posted by Aras-Ferra
A cron job to get the current number of listeners from Shoutcast XML stats in a friendly interval, than plotting out a graph by multiplying the listener number with bitrate. However it will not be much accurate.

So there is no such normal ready made application or plug-in?

sprintserve
02-17-2005, 02:18 AM
You can assign an ip per shoutcast server and graph the bandwidth based on IPs. Or you can run them on different ports and similarly measure the ports.

netfunkdesign
05-21-2005, 12:39 PM
I am curious about

Part 4. Create a playlist based on mp3s on the server:
find /path/to/mp3/directory -type f -name "*.mp3" > playlist.lst

I cant seem to get this to work,.. Can some one explain this in better detail please?

Thanx

Atomic Haven
06-02-2005, 05:26 PM
baisicly this is putting the output of "find" into a file called playlist.lst

sprintserve
06-02-2005, 05:33 PM
The command finds all the mp3 files that you have stored on the system, outputs the filename and stores it in a file. This file is then used as the playlist.

Atomic Haven
06-02-2005, 05:48 PM
not exactly. It only finds the MP3's that are in the directory specified.

sprintserve
06-02-2005, 06:26 PM
Yes naturally. Just that if you notice the way the path was written in the tutorial, it means the same thing here.

funtoosh
06-25-2005, 08:31 PM
Originally posted by yaax
Is there any tool that can measure exact shoutcast used banwidth?
I know that I can limit total bandwidth by bitrate and number of listeners, but how to know how much bandwidth was actually used by each shoutcast server?

You can setup mrtg and measure bandwidth on the basis of ip or port or uid

Regards

Spartacus
07-30-2005, 05:22 AM
hi all,

does anyone can help me with broadcasting from the soundcard linein

i'm using SUSE 9.3

thanX

novelidea
12-13-2005, 11:18 PM
Can this be ran using .ogg files instead of mp3?

novelidea
12-14-2005, 02:02 PM
I am curious about

Part 4. Create a playlist based on mp3s on the server:
find /path/to/mp3/directory -type f -name "*.mp3" > playlist.lst

I cant seem to get this to work,.. Can some one explain this in better detail please?

Thanx
Yeah, I'm having trouble with that part too. It keeps telling me that no such file or directory exists when I can clearly see it. I even chmod to 777 just to make sure.

novelidea
12-14-2005, 04:53 PM
Yeah, I'm having trouble with that part too. It keeps telling me that no such file or directory exists when I can clearly see it. I even chmod to 777 just to make sure.
NEVERMIND. I had a typo in my sc_trans.conf file. :peace:

J@mm
04-22-2006, 02:57 AM
Hey Yall!!

I already confirgures SHOUTcast and the on demand stream

everything works ok

I just encontered one problem, the song list wont update, any ideas why this is happening?

Id appreciate any pointers

Thanks!

J@mm
04-22-2006, 02:53 PM
I was viewing th elog when i run the Trnas file and this appears and shuts off
the songs skip or cut in the middle and then the next one starts


<04/23/06@08:14:25> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<04/23/06@08:14:25> [MAIN] PID: 3164
<04/23/06@08:14:25> [MAIN] Loaded config from sc_trans.conf
<04/23/06@08:14:25> [MAIN] Loading playlist (/home/zona69/playlist/zona69.lst)
<04/23/06@08:14:25> [MAIN] Found (25) entries in playlist
<04/23/06@08:14:25> [MAIN] Playlist decoder thread starting
<04/23/06@08:14:25> [DECODE] Opened Smashing Pumpkins - Disarm.mp3
<04/23/06@08:14:25> [MAIN] Streaming thread starting
<04/23/06@08:14:25> [STREAM] Creating stream socket
<04/23/06@08:14:25> [STREAM] Connected to host server
<04/23/06@08:14:25> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<04/23/06@08:14:25> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> [DECODE] Opened james blunt- you are beautiful.mp3
<04/23/06@08:14:25> [STREAM] Host server gave success (OK2)
<04/23/06@08:14:25> [STREAM] Stream to 65.98.52.139 established
<04/23/06@08:14:25> [STREAM] Sending stream information
<04/23/06@08:14:27> [MAIN] Title Updated
<04/23/06@08:14:54> [DECODE] Opened Alanis Morissette - You Oughta Know.mp3
<04/23/06@08:15:38> [DECODE] Opened Red Hot Chili Peppers- Dani California.mp3
<04/23/06@08:16:55> [DECODE] Opened American Hi-Fi - Another Perfect Day.mp3
<04/23/06@08:17:23> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:23> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:21> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:21> [DECODE] Opened Aterciopelados - Bolero Falaz.mp3
<04/23/06@08:17:42> [MAIN] SIGINT; exiting!
<04/23/06@08:17:41> [MAIN] SIGINT; exiting!
[zona69@promoaudio playlist]$

I cant find the problem any ideas?

Thanks guys!

tarakonas
04-26-2006, 11:04 AM
I was viewing th elog when i run the Trnas file and this appears and shuts off
the songs skip or cut in the middle and then the next one starts


<04/23/06@08:14:25> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<04/23/06@08:14:25> [MAIN] PID: 3164
<04/23/06@08:14:25> [MAIN] Loaded config from sc_trans.conf
<04/23/06@08:14:25> [MAIN] Loading playlist (/home/zona69/playlist/zona69.lst)
<04/23/06@08:14:25> [MAIN] Found (25) entries in playlist
<04/23/06@08:14:25> [MAIN] Playlist decoder thread starting
<04/23/06@08:14:25> [DECODE] Opened Smashing Pumpkins - Disarm.mp3
<04/23/06@08:14:25> [MAIN] Streaming thread starting
<04/23/06@08:14:25> [STREAM] Creating stream socket
<04/23/06@08:14:25> [STREAM] Connected to host server
<04/23/06@08:14:25> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<04/23/06@08:14:25> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> Warning: input file samplerate is 1 Hz, must be 44100!
<04/23/06@08:14:25> [DECODE] Opened james blunt- you are beautiful.mp3
<04/23/06@08:14:25> [STREAM] Host server gave success (OK2)
<04/23/06@08:14:25> [STREAM] Stream to 65.98.52.139 established
<04/23/06@08:14:25> [STREAM] Sending stream information
<04/23/06@08:14:27> [MAIN] Title Updated
<04/23/06@08:14:54> [DECODE] Opened Alanis Morissette - You Oughta Know.mp3
<04/23/06@08:15:38> [DECODE] Opened Red Hot Chili Peppers- Dani California.mp3
<04/23/06@08:16:55> [DECODE] Opened American Hi-Fi - Another Perfect Day.mp3
<04/23/06@08:17:23> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:23> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:21> [MAIN] SIGWINCH; Next Song
<04/23/06@08:17:21> [DECODE] Opened Aterciopelados - Bolero Falaz.mp3
<04/23/06@08:17:42> [MAIN] SIGINT; exiting!
<04/23/06@08:17:41> [MAIN] SIGINT; exiting!
[zona69@promoaudio playlist]$
I cant find the problem any ideas?

Thanks guys!

I think this was done mannualy from command line, simple Next Song and Exit functions

J@mm
04-26-2006, 11:17 AM
sorry tarakonas I cant Understand what your saying :s

I also notticed on stremats when i run ' ps x ' command it wil display various process trunning of the same is this why the songs are not displaying and why the songs also skip or cut in half its a mess :S

PID TTY STAT TIME COMMAND
27686 ? S 0:00 ./sc_serv
27687 ? S 0:00 ./sc_serv
27688 ? S 0:00 ./sc_serv
27689 ? S 0:01 ./sc_serv
27690 ? S 0:00 ./sc_serv
27723 ? S 0:00 ./playlist
27724 ? S 0:00 ./playlist
27725 ? R 81:11 ./playlist
27726 ? S 0:00 ./playlist
13852 ? S 0:00 sshd: zona69@pts/6
13853 pts/6 S 0:00 -bash
13886 pts/6 R 0:00 ps x
[zona69@promoaudio zona69]$

is dont think this is normal!

Thanks guys!!

tarakonas
04-26-2006, 11:49 AM
i suggest killing all sc_serv & playlist in background with killall -9 sc_serv and killall -9 playlist. After that, go to your home dir where shoutcast is and start it
./sc_serv /path/to/your/conf.file &


t.

tarakonas
04-26-2006, 11:53 AM
I also notticed on stremats when i run ' ps x ' command it wil display various process trunning of the same is this why the songs are not displaying and why the songs also skip or cut in half its a mess :S

No, ps shows you all system processes. One sc_serv process indicates one running SHOUTcast server in the system. ps command has nothing to do with your Shoutcast problems.

J@mm
04-26-2006, 01:32 PM
Sorry not to be clear I did not ment that the ps x command was causing the problem it was just my way of saying that is how I view the process

this is what I get after following your suggestion

PID TTY STAT TIME COMMAND
27882 ? S 0:00 ./sc_serv /home/miko/shoutcast/sc_serv.conf
27883 ? S 0:00 ./sc_serv /home/miko/shoutcast/sc_serv.conf
27884 ? S 0:00 ./sc_serv /home/miko/shoutcast/sc_serv.conf
27885 ? R 0:00 ./sc_serv /home/miko/shoutcast/sc_serv.conf
27886 ? S 0:00 ./sc_serv /home/miko/shoutcast/sc_serv.conf
28216 ? S 0:00 sshd: miko@pts/3
28217 pts/3 S 0:00 -bash
28292 pts/3 S 0:00 ./playlist /home/miko/playlist/sc_trans.conf
28293 pts/3 S 0:00 ./playlist /home/miko/playlist/sc_trans.conf
28294 pts/3 S 0:19 ./playlist /home/miko/playlist/sc_trans.conf
28295 pts/3 S 0:00 ./playlist /home/miko/playlist/sc_trans.conf
28435 pts/3 R 0:00 ps x
[miko@promoaudio playlist]$

same this multiple times, dont know why this is happening.

HELP!!

tarakonas
04-26-2006, 03:04 PM
I think you're having problems due to multiple shoutcast launches using same config file, same ports and same playlist. Everything should be ok, when ps command shows only one shoutcast process. Right now you have launched same server 5 times.

J@mm
04-26-2006, 03:47 PM
Thats exactly my problem!!

now Why the heck is that happening? thats what I cant understand I run the command once and it still opens the process several times.

Could it be the OS ??

tarakonas
04-26-2006, 04:08 PM
Hmm, are you sure you're running it only once? because multiple runs are not something that can be defined in the config. And if you are running only once- probably you have some problems with your server itself.

If I were you, I'd try to login into shell twice (using 2 Puttys) at the same time. Kill all your processes and try make sure you don't have any running. Then try to launch your Shoutcast simply by entering ./sc_serv & in your Shoutcast dir.
After done that, try second Putty window and monitor your processes. If server still launches 4-5 different processes instead of single one - contact your system /hosting administrator.

t.

tarakonas
04-26-2006, 04:12 PM
Part 4. Create a playlist based on mp3s on the server:
find /path/to/mp3/directory -type f -name "*.mp3" > playlist.lst

I cant seem to get this to work,.. Can some one explain this in better detail please?

Thanx

Much simplier: ls /path/to/mp3/*.mp3 > playlist.lst

:)

dr4g0
05-21-2006, 05:35 AM
I have problem. When i starting ./sc_trans_linux i see:
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
<05/21/06@11:31:19> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<05/21/06@11:31:19> [MAIN] PID: 8744
<05/21/06@11:31:19> [MAIN] Loaded config from sc_trans.conf
<05/21/06@11:31:19> [MAIN] Loading playlist (playlist.lst)
<05/21/06@11:31:19> [MAIN] Found (5) entries in playlist
<05/21/06@11:31:19> [MAIN] Playlist decoder thread starting
<05/21/06@11:31:19> [MAIN] Streaming thread starting
<05/21/06@11:31:19> [STREAM] Creating stream socket
<05/21/06@11:31:19> [STREAM] Connected to host server
<05/21/06@11:31:19> [DECODE] Opened Madagaskar-Wyginam_smialo_cialo.mp3
<05/21/06@11:31:19> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<05/21/06@11:31:19> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<05/21/06@11:31:19> Warning: input file samplerate is 1 Hz, must be 44100!
<05/21/06@11:31:19> Warning: input file samplerate is 1 Hz, must be 44100!
<05/21/06@11:31:19> [STREAM] Host server gave success (OK2)
<05/21/06@11:31:19> [STREAM] Stream to 127.0.0.1 established
<05/21/06@11:31:19> [STREAM] Sending stream information
<05/21/06@11:31:19> Warning: input file samplerate is 1 Hz, must be 44100!
<05/21/06@11:31:19> [DECODE] Opened Blank & Jones - The hardest heart (Matt Van Punch Rmx 2006).mp3
<05/21/06@11:31:26> [MAIN] Title Updated
<05/21/06@11:31:27> [MAIN] SIGWINCH; Next Song
<05/21/06@11:31:27> [MAIN] SIGWINCH; Next Song
<05/21/06@11:31:27> [MAIN] SIGWINCH; Next Song
<05/21/06@11:31:28> [DECODE] Opened Base Attack - Nobody Listen To Techno (Sonic Alive '06 Club Mix).mp3
<05/21/06@11:31:35> [MAIN] Title Updated
<05/21/06@11:32:46> [MAIN] SIGINT; exiting!
<05/21/06@11:32:52> [MAIN] SIGINT; exiting!
<05/21/06@11:32:46> [MAIN] SIGINT; exiting!
<05/21/06@11:32:52> [MAIN] SIGINT; exiting!
<05/21/06@11:32:52> [MAIN] SIGINT; exiting!
My config(not all) file is :

; Shuffle the playlist
Shuffle=1
Bitrate=32000
SampleRate=22050
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1

; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=0

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=AIMHandle
ICQ=
IRC=shoutcast
Pls help!

Jazzoline
05-30-2006, 07:43 PM
hello guyz..

I'm trying to install shoutcast server on server that runs Linux and connect via winamp on my windows..

here is my sc_serv.conf


MaxUser=32
Password=boris12345
PortBase=8000
LogFile=sc_serv.log
RealTime=1
ScreenLog=1
ShowLastSongs=10
TchLog=yes
WebLog=no
W3CEnable=Yes
W3CLog=sc_w3c.log
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
RelayServer=192.168.1.58
AdminPassword=boris12345
AutoDumpUsers=0
AutoDumpSourceTime=30
ContentDir=./content
IntroFile=c:\intro%d.mp3
BackupFile=C:\intro%d.mp3
TitleFormat=Justin Radio: %s
PublicServer=default
AllowRelay=Yes
AllowPublicRelay=Yes
MetaInterval=8192
BanFile=sc_serv.ban
RipFile=sc_serv.rip
RIPOnly=No

My Winamp DSP CONFIGAddress: up.aqache.c0m
Port: 8000
Pass: boris12345
Encoder : 2This is my server log

SHOUTcast Log (Tailing)<05/31/06@02:44:26> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up...
<05/31/06@02:44:26> [main] pid: 17703
<05/31/06@02:44:26> [main] loaded config from sc_serv.conf
<05/31/06@02:44:26> [main] initializing (usermax:32 portbase:8000)...
<05/31/06@02:44:26> [main] No ban file found (sc_serv.ban)
<05/31/06@02:44:26> [main] No rip file found (sc_serv.rip)
<05/31/06@02:44:26> [main] opening source socket
<05/31/06@02:44:26> [main] source thread starting
<05/31/06@02:44:26> [main] opening client socket
<05/31/06@02:44:26> [main] Client Stream thread [0] starting
<05/31/06@02:44:26> [main] client main thread starting
<05/31/06@02:44:26> [source] listening for connection on port 8001
<05/31/06@03:34:09> [main] SIGHUP; Flushing Log Files


Server is currently down

can anyone tell why is server down ?

tarakonas
05-30-2006, 08:55 PM
Server is currently down

can anyone tell why is server down ?
no source. start broadcasting something :)

Jazzoline
05-31-2006, 04:59 AM
I'm tryin but it cannot connect to server..

Jazzoline
05-31-2006, 05:07 AM
I think the problem is on server side, coz I have installed another server on my comp and my winamp can connect to it perfectly..

Can anyone help ?

here is the adress of my server up.aqache.com:8000

Jazzoline
05-31-2006, 06:49 PM
up......................................................

hello guyz..

I'm trying to install shoutcast server on server that runs Linux and connect via winamp on my windows..

here is my sc_serv.conf


MaxUser=32
Password=boris12345
PortBase=8000
LogFile=sc_serv.log
RealTime=1
ScreenLog=1
ShowLastSongs=10
TchLog=yes
WebLog=no
W3CEnable=Yes
W3CLog=sc_w3c.log
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
RelayServer=192.168.1.58
AdminPassword=boris12345
AutoDumpUsers=0
AutoDumpSourceTime=30
ContentDir=./content
IntroFile=c:\intro%d.mp3
BackupFile=C:\intro%d.mp3
TitleFormat=Justin Radio: %s
PublicServer=default
AllowRelay=Yes
AllowPublicRelay=Yes
MetaInterval=8192
BanFile=sc_serv.ban
RipFile=sc_serv.rip
RIPOnly=No

My Winamp DSP CONFIG

Address: up.aqache.com
Port: 8000
Pass: boris12345
Encoder : 2This is my server log

SHOUTcast Log (Tailing)<05/31/06@02:44:26> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up...
<05/31/06@02:44:26> [main] pid: 17703
<05/31/06@02:44:26> [main] loaded config from sc_serv.conf
<05/31/06@02:44:26> [main] initializing (usermax:32 portbase:8000)...
<05/31/06@02:44:26> [main] No ban file found (sc_serv.ban)
<05/31/06@02:44:26> [main] No rip file found (sc_serv.rip)
<05/31/06@02:44:26> [main] opening source socket
<05/31/06@02:44:26> [main] source thread starting
<05/31/06@02:44:26> [main] opening client socket
<05/31/06@02:44:26> [main] Client Stream thread [0] starting
<05/31/06@02:44:26> [main] client main thread starting
<05/31/06@02:44:26> [source] listening for connection on port 8001
<05/31/06@03:34:09> [main] SIGHUP; Flushing Log Files


Server is currently down

can anyone tell why is server down ?

forumtalk
07-12-2006, 09:29 AM
Any idea how to run multiple bit rates ?

sprintserve
07-12-2006, 02:07 PM
Do you mean VBR or just multiple streams of different bit rates? For multiple streams you set up a few different instance of shoutcast. So if you need 2 different bit rates, you have 2 shoutcast servers etc each with their own config. They will need to have different ports or different dedicated IPs.

forumtalk
07-13-2006, 12:43 PM
I mean same stream on different bit rates ,I need to use 2 shoutcast but how about sc_trans_posix_040

This is great post sprintserve ;)

NTHosts
07-29-2006, 01:12 PM
how do you set it so that when someone is not broadcasting from a remote location, shoutcast will switch to the playlist file?

Sorry old post I know but...

Once sc_trans is running you have to kick the src from the shoutcast admin page 'http://hostip:port' to let a human DJ take over, it gives you about 10 seconds to connect then sc_trans reconnects.
Then once the human DJ disconnects sc_trans takes over.

I wouldn't advise using the shuffle option in the sc_trans.conf as it plays the same track 3 times in a row quite often :)

mrjmw
10-09-2006, 02:29 AM
Sorry not to be clear I did not ment that the ps x command was causing the problem it was just my way of saying that is how I view the process

this is what I get after following your suggestion



same this multiple times, dont know why this is happening.

HELP!!

I'm having the same problem how did you (or anyone else) work this out. And are you sure this isn't normal for this version of sc_serv and sc_trans?
I'm getting the same symptoms as you though ...
need help too!

Gambino
10-28-2006, 09:15 AM
[conf] Warning: invalid statement on line 19
<10/28/06@09:10:24> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<10/28/06@09:10:24> [MAIN] PID: 17200
<10/28/06@09:10:24> [MAIN] Loaded config from sc_trans.conf
<10/28/06@09:10:24> [MAIN] No playlist file found ()


That is message when i try to start sc_trans_linux .

In sc_trans.conf on line 19 i have this:

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
find /var/tmp/. /mp3 -type f -name "*.mp3" > seka.lst

/var/tmp/. /mp3 - dir where my mp3 files are stored

seka.lst - My playlist where i have write path's to the song's like:

/var/tmp/. /mp3/SekaAleksic2005DodjiIUzmiMe.mp3
/var/tmp/. /mp3/SekaAleksic200502KadCujemKorakTvoj.mp3


What i am doing wrong. please help me, and thanks.

NTHosts
10-28-2006, 09:20 AM
Are you sure seka.lst is in the conf ?

Are the paths to your mp3's correct ?
please remember these are CaSeSeNsItIvE.

Gambino
10-28-2006, 09:23 AM
seka.lst is placed in trans directory of sc_trans not in mp3 directory is that problem. ?

Yes, al what you see is okay :(

sprintserve
11-04-2006, 07:57 AM
The command find /var/tmp/. /mp3 -type f -name "*.mp3" > seka.lst needs to be run first in shell to generate a playlist (in your case seka.lst).

Once you have done so, set the playlist in conf to seka.lst. The command is not meant to be set in the conf file. It's a shell command to help you generate a list of filenames with the extension .mp3 and output it to a text file.